Browse Source

项目列表BUG修复

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

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

@@ -1215,8 +1215,8 @@
   </select>
 
   <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 user f on e.buyer_id=f.id left join admin g on e.salesman_id=g.id
+    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)
     and a.outsource= #{outsource,jdbcType=INTEGER}
     <if test="role == 0 ">