⚡ 优化应收账单预览排序

This commit is contained in:
caojia
2026-11-12 15:00:42 +08:00
parent 89aadf97db
commit fb9a4e1b29
@@ -694,14 +694,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{excludedBillId} #{excludedBillId}
</foreach> </foreach>
</if> </if>
<choose> order by p.bill_id
<when test="dateType != null and dateType == 'PICKUP_DATE'">
order by p.pickup_date, p.order_no, p.bill_id
</when>
<otherwise>
order by p.biz_date, p.order_no, p.bill_id
</otherwise>
</choose>
</select> </select>
<select id="sumPrcOrderBillIncomeByCustomerPeriod" resultType="java.math.BigDecimal"> <select id="sumPrcOrderBillIncomeByCustomerPeriod" resultType="java.math.BigDecimal">