|
@@ -2663,6 +2663,24 @@
|
|
|
where a.order_dep = #{depId}
|
|
where a.order_dep = #{depId}
|
|
|
and a.process_status = #{processStatus}
|
|
and a.process_status = #{processStatus}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+ <select id="selectTechUserList" resultType="com.goafanti.order.bo.OutTechUserListBo">
|
|
|
|
|
+ select DISTINCT c.id ,c.nickname
|
|
|
|
|
+ from t_order_task a left join t_order_new b on a.order_no =b.order_no
|
|
|
|
|
+ left join user c on b.buyer_id =c.id
|
|
|
|
|
+ where b.delete_sign in (0,2)
|
|
|
|
|
+ and a.task_receiver = #{aid}
|
|
|
|
|
+ <if test="page_sql!=null">
|
|
|
|
|
+ ${page_sql}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </select>
|
|
|
|
|
+
|
|
|
|
|
+ <select id="selectTechUserCount" resultType="integer">
|
|
|
|
|
+ select count(DISTINCT c.id)
|
|
|
|
|
+ from t_order_task a left join t_order_new b on a.order_no =b.order_no
|
|
|
|
|
+ left join user c on b.buyer_id =c.id
|
|
|
|
|
+ where b.delete_sign in (0,2)
|
|
|
|
|
+ and a.task_receiver = #{aid}
|
|
|
|
|
+ </select>
|
|
|
|
|
|
|
|
</mapper>
|
|
</mapper>
|
|
|
|
|
|