Browse Source

发起变更拨款比例BUG修复

anderx 3 years ago
parent
commit
35da83cb81
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/java/com/goafanti/common/mapper/TOrderTaskMapper.xml

+ 2 - 1
src/main/java/com/goafanti/common/mapper/TOrderTaskMapper.xml

@@ -881,7 +881,8 @@
   <select id="selectOrderTaskListCount" resultType="java.lang.Integer">
     select  count(*) from t_order_task a left join business_project b on a.commodity_id=b.id left join business_category c on b.cid=c.id
         left join t_order_new e on a.order_no=e.order_no 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)
+    left join t_order_outsource l on a.id=l.tid 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}