|
|
@@ -1512,7 +1512,8 @@ ifnull(ttm.party_amount,0) partyAmount,a.commodity_price commodityPrice,a.outsou
|
|
|
|
|
|
<select id="selectOrderTaskListCount" resultType="java.lang.Integer">
|
|
|
select count(*) from t_order_task a left join t_order_new e on a.order_no=e.order_no
|
|
|
- left join admin g on e.salesman_id=g.id left join department h on g.department_id=h.id where e.delete_sign in (0,2,3) and e.order_status in (2,4)
|
|
|
+ left join user f on e.buyer_id=f.id left join admin g on e.salesman_id=g.id
|
|
|
+ left join department h on g.department_id=h.id where e.delete_sign in (0,2,3) and e.order_status in (2,4)
|
|
|
and a.outsource= #{outsource,jdbcType=INTEGER}
|
|
|
<if test="role == 0 ">
|
|
|
and a.task_receiver= #{aid,jdbcType=VARCHAR}
|