xuefy пре 3 година
родитељ
комит
0c664a2220
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      sc-service/src/main/resources/mapper/credit/OwnCreditMapper.xml

+ 2 - 1
sc-service/src/main/resources/mapper/credit/OwnCreditMapper.xml

@@ -241,6 +241,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="paramMap.billIdList != null  and paramMap.billIdList != ''">
                 and b.zbi_id  NOT IN (${paramMap.billIdList})
             </if>
+            ORDER BY b.zbi_pay_date DESC
 
     </select>
 
@@ -280,7 +281,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="paramMap.billIdList != null  and paramMap.billIdList != ''">
                 and b.zbi_id  NOT IN (${paramMap.billIdList})
             </if>
-
+            ORDER BY b.zbi_pay_date DESC
     </select>
 
     <!---核心开立已使用额度-->