|
|
@@ -1069,6 +1069,18 @@ left join department d on o.order_dep = d.id left join t_order_mid a on o.orde
|
|
|
|
|
|
</if>
|
|
|
</if>
|
|
|
+ <if test="manageType==1">
|
|
|
+ and toprc.max_process in (1,2,3,4,5)
|
|
|
+ <if test="maxProcessStatus =0">
|
|
|
+ and toprc.max_process in (1,2,3)
|
|
|
+ </if>
|
|
|
+ <if test="maxProcessStatus =1">
|
|
|
+ and toprc.max_process in (5)
|
|
|
+ </if>
|
|
|
+ <if test="maxProcessStatus =1">
|
|
|
+ and toprc.max_process in (4)
|
|
|
+ </if>
|
|
|
+ </if>
|
|
|
</if>
|
|
|
<if test="specially ==7">
|
|
|
and a.process_status > 5
|