tianwu.sun 3 месяцев назад
Родитель
Сommit
69629a229a
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      src/main/resources/mybatis/datas/DataMapper.xml

+ 2 - 6
src/main/resources/mybatis/datas/DataMapper.xml

@@ -17,7 +17,7 @@
             <if test="auditStage != null and auditStage != ''">and a.AUDIT_STAGE  = #{auditStage}</if>
             and a.DATA_STATUS = '3'
             AND a.DELETE_STATUS != '1'
-            AND b.STATUS = '0'
+
         </where>
         GROUP BY
             b.UNIT_CITY
@@ -41,7 +41,6 @@
             AND b.CREDIT_CODE = a.GY_NUIT_ID
             and a.DATA_STATUS = '3'
             AND a.DELETE_STATUS != '1'
-            AND b.STATUS = '0'
         GROUP BY
             DATE_FORMAT(
             a.UPLOAD_TIME,
@@ -64,7 +63,6 @@
             AND b.CREDIT_CODE = a.GY_NUIT_ID
             AND a.DELETE_STATUS != '1'
             AND a.DATA_STATUS = '3'
-            AND b.STATUS = '0'
         </where>
         GROUP BY
             b.DATA_INDUSTRY_TWO
@@ -89,7 +87,6 @@
              AND b.CREDIT_CODE = a.GY_NUIT_ID
             AND a.DELETE_STATUS != '1'
             AND a.DATA_STATUS = '3'
-            AND b.STATUS = '0'
         GROUP BY
             DATE_FORMAT(
             a.UPLOAD_TIME,
@@ -117,7 +114,7 @@
         <if test="auditStage != null and auditStage != ''">and a.AUDIT_STAGE  = #{auditStage}</if>
                 AND a.DATA_STATUS = '3'
                 AND a.DELETE_STATUS != '1'
-                AND b.STATUS = '0') AS currentCount
+              ) AS currentCount
     </select>
 
     <!--各市时需要的统计  统计数据所属类别-->
@@ -133,7 +130,6 @@
              AND b.CREDIT_CODE = a.GY_NUIT_ID
             AND a.DELETE_STATUS != '1'
             AND a.DATA_STATUS != '4'
-            AND b.STATUS = '0'
         GROUP BY
             a.DATA_TYPE_ONE
         ORDER BY