xucaiqin 1 deň pred
rodič
commit
bb62653f31

+ 2 - 2
sckw-modules/sckw-payment/src/main/resources/mapper/WalletPrepaidBalanceMapper.xml

@@ -73,7 +73,7 @@
         <if test="endTime != null">
             AND wpb.create_time &lt;= #{endTime}
         </if>
-        order by wpb.create_time DESC
+        order by wpb.id DESC
     </select>
 
     <select id="selectFreezePrepaidBalance" resultMap="walletPrepaidBalanceMap">
@@ -89,7 +89,7 @@
         <if test="orderNo != null and orderNo != ''">
             AND wpb.order_no = #{orderNo}
         </if>
-        order by wpb.create_time DESC
+        order by wpb.id DESC
     </select>
 
     <!-- 根据主键ID查询采购企业预付余额明细 -->