Browse Source

新增修改

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

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

@@ -1527,9 +1527,7 @@
     <if test="screen ==0">
       and a.project_status in(0,1,2,3)
     </if>
-    <if test="screen ==1">
-      and ttm.complete_count > 0
-    </if>
+
     <if test="screen ==2">
       and a.project_status &gt; 3
     </if>
@@ -1632,7 +1630,6 @@
   <select id="selectProjectStatisticsCount" resultType="java.lang.Integer">
     select  count(*)
     from t_order_task a left join t_order_new b on a.order_no =b.order_no
-    left join t_task_mid ttm on a.id=ttm.tid
     <if test="province !=null">
       left join department c on b.order_dep =c.id
     </if>
@@ -1673,9 +1670,7 @@
     <if test="screen ==0">
       and a.project_status in(0,1,2,3)
     </if>
-    <if test="screen ==1">
-      and ttm.complete_count > 0
-    </if>
+
     <if test="screen ==2">
       and a.project_status &gt; 3
     </if>