|
|
@@ -1806,7 +1806,7 @@
|
|
|
<if test="shiroType ==2">
|
|
|
left join department d on b.order_dep =d.id
|
|
|
</if>
|
|
|
- where b.delete_sign in (0,2) and b.approval in (0,1,2)
|
|
|
+ where b.delete_sign in (0,2)
|
|
|
and a.process_status in (1,2,3,4)
|
|
|
<if test="shiroType ==1">
|
|
|
and b.salesman_id = #{aid}
|
|
|
@@ -1874,7 +1874,7 @@
|
|
|
<if test="shiroType ==2">
|
|
|
left join department d on b.order_dep =d.id
|
|
|
</if>
|
|
|
- where b.delete_sign in (0,2) and b.approval in (0,1,2)
|
|
|
+ where b.delete_sign in (0,2)
|
|
|
and a.process_status in (1,2,3,4)
|
|
|
<if test="shiroType ==1">
|
|
|
and b.salesman_id = #{aid}
|