|
|
@@ -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">
|