Browse Source

审核列表修改

anderx 2 years ago
parent
commit
733b9fd75b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

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

@@ -363,7 +363,7 @@
     left join t_order_mid tm on a.order_no =tm.order_no left join department f on d.department_id =f.id
     left join admin d2 on f.finance_id =d2.id
     <if test="processStatus ==1">
-    inner join expense_account_examine eae on a.id=eae.eaid
+    inner join (select eaid ,auditor,min(type)`type` from expense_account_examine ) eae on a.id=eae.eaid
     </if>
     where 1=1
     <if test="processStatus ==0">
@@ -407,7 +407,7 @@
     left join admin d on a.aid =d.id left join t_order_new e on a.order_no =e.order_no
     left join t_order_mid tm on a.order_no =tm.order_no
     <if test="processStatus ==1">
-      inner join expense_account_examine eae on a.id=eae.eaid
+    inner join (select eaid ,auditor,min(type)`type` from expense_account_examine ) eae on a.id=eae.eaid
     </if>
     where 1=1
     <if test="processStatus ==0">