|
|
@@ -904,7 +904,7 @@ left join department d on o.order_dep = d.id left join t_order_mid a on o.orde
|
|
|
left join admin f on e.initiate=f.id
|
|
|
</if>
|
|
|
<if test="specially == 4">
|
|
|
- left join t_order_task e on a.order_no=e.order_no
|
|
|
+ left join t_order_task e on a.order_no=e.order_no and e.main =1
|
|
|
left join (select order_no from new_order_change group by order_no)g on a.order_no=g.order_no
|
|
|
</if>
|
|
|
<if test="specially == 9">
|