瀏覽代碼

统计修改

anderx 2 年之前
父節點
當前提交
afc0440f18
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

+ 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 ,