anderx 2 lat temu
rodzic
commit
afc0440f18

+ 1 - 0
src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

@@ -451,6 +451,7 @@
       left join t_order_mid tm on a.order_no =tm.order_no
       WHERE a.status=2
       and a.aid= #{aid} and a.type= #{type} and a.pay_dep= #{depId}
+        order by a.create_time desc
     </select>
   <select id="selectStatistics" resultType="com.goafanti.expenseAccount.bo.OutExpenseAccountStatistics">
     select a.aid,a.aname ,if(a.`type` &lt;4 ,1,0)bx,if(a.`type`=4 ,1,0)jz,if(a.`type`=5 ,1,0)dk,a.debit_id debitId ,a.target_type targetType ,