|
|
@@ -266,6 +266,7 @@
|
|
|
#{id}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
+ ORDER BY ipi.create_time DESC
|
|
|
</select>
|
|
|
<select id="getReceivablePage" resultType="com.jzg.commons.entity.finance.po.InsPlyIncome">
|
|
|
<include refid="query"/>
|
|
|
@@ -356,6 +357,7 @@
|
|
|
<if test="receivableQueryVo.syStartDate != null and receivableQueryVo.syStartDate != ''">
|
|
|
AND ior2.start_date between #{receivableQueryVo.syStartDate} and #{receivableQueryVo.syStartDate}
|
|
|
</if>
|
|
|
+ ORDER BY ipi.create_time DESC
|
|
|
</select>
|
|
|
|
|
|
|
|
|
@@ -426,6 +428,7 @@
|
|
|
<if test="receivableQueryVo.agreementType != null and receivableQueryVo.agreementType != ''">
|
|
|
AND ipi.agreement_type = #{receivableQueryVo.agreementType}
|
|
|
</if>
|
|
|
+ ORDER BY ipi.create_time DESC
|
|
|
</select>
|
|
|
|
|
|
<select id="getSuperviseJyExcelDtos" resultType="com.jzg.commons.entity.finance.dto.ExportSuperviseJyExcelDto">
|
|
|
@@ -495,6 +498,7 @@
|
|
|
<if test="receivableQueryVo.agreementType != null and receivableQueryVo.agreementType != ''">
|
|
|
AND ipi.agreement_type = #{receivableQueryVo.agreementType}
|
|
|
</if>
|
|
|
+ ORDER BY ipi.create_time DESC
|
|
|
</select>
|
|
|
|
|
|
<select id="superviseSettlementExcelDtos" resultType="com.jzg.commons.entity.finance.dto.ExportSuperviseSettlementExcelDto">
|
|
|
@@ -725,6 +729,7 @@
|
|
|
<if test="settlementQueryVo.agreementType != null and settlementQueryVo.agreementType != ''">
|
|
|
AND ipi.agreement_type = #{settlementQueryVo.agreementType}
|
|
|
</if>
|
|
|
+ ORDER BY ipi.create_time DESC
|
|
|
</select>
|
|
|
|
|
|
<select id="getOtherExcelDtos" resultType="com.jzg.commons.entity.finance.dto.ExportOtherExcelDto">
|
|
|
@@ -784,6 +789,7 @@
|
|
|
<if test="receivableQueryVo.signingTimeStart != null and receivableQueryVo.signingTimeStart != ''">
|
|
|
and ipi.signing_time between #{receivableQueryVo.signingTimeStart} and #{receivableQueryVo.signingTimeEnd}
|
|
|
</if>
|
|
|
+ ORDER BY ipi.create_time DESC
|
|
|
</select>
|
|
|
|
|
|
<select id="getOtherJyExcelDtos" resultType="com.jzg.commons.entity.finance.dto.ExportOtherJyExcelDto">
|
|
|
@@ -838,6 +844,7 @@
|
|
|
<if test="receivableQueryVo.signingTimeStart != null and receivableQueryVo.signingTimeStart != ''">
|
|
|
and ipi.signing_time between #{receivableQueryVo.signingTimeStart} and #{receivableQueryVo.signingTimeEnd}
|
|
|
</if>
|
|
|
+ ORDER BY ipi.create_time DESC
|
|
|
</select>
|
|
|
|
|
|
<select id="getOtherSettlementExcelDtos" resultType="com.jzg.commons.entity.finance.dto.ExportOtherSettlementExcelDto">
|
|
|
@@ -1098,6 +1105,7 @@
|
|
|
ipii.invoice_type,
|
|
|
ipii.company_id,
|
|
|
ipii.invoice_party
|
|
|
+ ORDER BY ipii.create_time DESC
|
|
|
</select>
|
|
|
|
|
|
<!-- 基础结果集映射 -->
|