|
|
@@ -468,7 +468,7 @@
|
|
|
FROM expense_account a left join department b on a.apply_dep =b.id left join department c on a.pay_dep =c.id
|
|
|
left join expense_account_private d on a.eaaid=d.id left join t_order_new o on a.order_no =o.order_no
|
|
|
left join t_order_mid tm on a.order_no =tm.order_no
|
|
|
- WHERE a.status=2
|
|
|
+ WHERE a.status=2 and a.liquidation_status in (0,1,2)
|
|
|
and a.aid= #{aid} and a.type= #{type} and a.pay_dep= #{depId}
|
|
|
order by a.create_time desc
|
|
|
</select>
|