|
|
@@ -633,7 +633,7 @@ where a.status=2 and a.order_no= #{orderNo,jdbcType=VARCHAR}
|
|
|
a.order_no = b.order_no
|
|
|
left join department c on
|
|
|
b.order_dep = c.id
|
|
|
- where a.status in (1, 2) and a.approval in (0,2)
|
|
|
+ where a.status in (1, 2) and a.approval in (0,2) and a.type=0 and b.delete_sign in (0,2)
|
|
|
and c.finance_id = #{aid})x
|
|
|
group by x.aid,x.dates
|
|
|
</select>
|