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