Browse Source

areaCOde长度限制删除

dev_shibei_match
zxc 5 years ago
parent
commit
feba9e2b3c
  1. 2
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcal/AgencyScoreDao.xml
  2. 2
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcal/CommunityScoreDao.xml
  3. 1
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcal/DeptScoreDao.xml
  4. 1
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcal/GridScoreDao.xml
  5. 1
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcoll/FactIndexGovrnAblityOrgMonthlyDao.xml
  6. 2
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcoll/FactIndexPartyAblityOrgMonthlyDao.xml
  7. 1
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcoll/FactIndexServiceAblityOrgMonthlyDao.xml

2
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcal/AgencyScoreDao.xml

@ -141,7 +141,6 @@
LEFT JOIN screen_customer_agency sca ON sca.AGENCY_ID = fias.AGENCY_ID LEFT JOIN screen_customer_agency sca ON sca.AGENCY_ID = fias.AGENCY_ID
WHERE WHERE
fias.del_flag = 0 fias.del_flag = 0
AND CHAR_LENGTH(sca.AREA_CODE) >= #{areaCodeLength}
AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%') AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%')
AND fias.MONTH_ID = #{monthId} AND fias.MONTH_ID = #{monthId}
AND fias.data_type = #{dataType} AND fias.data_type = #{dataType}
@ -167,7 +166,6 @@
WHERE WHERE
fics.del_flag = '0' fics.del_flag = '0'
AND sca.level = 'district' AND sca.level = 'district'
AND CHAR_LENGTH(sca.AREA_CODE) >= 6
AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%') AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%')
AND fics.month_id = #{monthId} AND fics.month_id = #{monthId}
AND fics.index_code = #{indexCode} AND fics.index_code = #{indexCode}

2
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcal/CommunityScoreDao.xml

@ -139,7 +139,6 @@
LEFT JOIN screen_customer_agency sca ON sca.AGENCY_ID = cs.AGENCY_ID LEFT JOIN screen_customer_agency sca ON sca.AGENCY_ID = cs.AGENCY_ID
WHERE WHERE
cs.del_flag = 0 cs.del_flag = 0
AND CHAR_LENGTH(sca.AREA_CODE) >= 12
AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%') AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%')
AND cs.MONTH_ID = #{monthId} AND cs.MONTH_ID = #{monthId}
AND cs.IS_TOTAL = "0" AND cs.IS_TOTAL = "0"
@ -164,7 +163,6 @@
WHERE WHERE
fics.del_flag = '0' fics.del_flag = '0'
AND sca.DEL_FLAG = 0 AND sca.DEL_FLAG = 0
AND CHAR_LENGTH(sca.AREA_CODE) >= 9
AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%') AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%')
AND fics.month_id = #{monthId} AND fics.month_id = #{monthId}
AND fics.index_code = #{indexCode} AND fics.index_code = #{indexCode}

1
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcal/DeptScoreDao.xml

@ -167,7 +167,6 @@
WHERE WHERE
fidc.del_flag = '0' fidc.del_flag = '0'
AND fidc.IS_TOTAL = '0' AND fidc.IS_TOTAL = '0'
AND CHAR_LENGTH(sca.AREA_CODE) >= 6
AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%') AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%')
AND fidc.month_id = #{monthId} AND fidc.month_id = #{monthId}
AND fidc.index_code = #{indexCode} AND fidc.index_code = #{indexCode}

1
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcal/GridScoreDao.xml

@ -197,7 +197,6 @@
AND sca.DEL_FLAG = 0 AND sca.DEL_FLAG = 0
AND figc.month_id = #{monthId} AND figc.month_id = #{monthId}
AND figc.index_code = #{indexCode} AND figc.index_code = #{indexCode}
AND CHAR_LENGTH(sca.AREA_CODE) >= 12
AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%') AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%')
GROUP BY figc.agency_id GROUP BY figc.agency_id
</select> </select>

1
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcoll/FactIndexGovrnAblityOrgMonthlyDao.xml

@ -171,7 +171,6 @@
WHERE WHERE
gm.del_flag = '0' gm.del_flag = '0'
AND gm.month_id = #{monthId} AND gm.month_id = #{monthId}
AND CHAR_LENGTH(sca.AREA_CODE) >= 12
AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%') AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%')
</select> </select>
</mapper> </mapper>

2
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcoll/FactIndexPartyAblityOrgMonthlyDao.xml

@ -128,7 +128,6 @@
WHERE WHERE
fm.del_flag = '0' fm.del_flag = '0'
AND fm.month_id = #{monthId} AND fm.month_id = #{monthId}
AND CHAR_LENGTH(sca.AREA_CODE) >= 12
AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%') AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%')
</select> </select>
@ -147,7 +146,6 @@
LEFT JOIN screen_customer_agency sca ON sca.AGENCY_ID = pm.AGENCY_ID LEFT JOIN screen_customer_agency sca ON sca.AGENCY_ID = pm.AGENCY_ID
WHERE WHERE
pm.del_flag = '0' pm.del_flag = '0'
AND CHAR_LENGTH(sca.AREA_CODE) >= #{areaCode}
AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%') AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%')
AND pm.month_id = #{monthId} AND pm.month_id = #{monthId}
</select> </select>

1
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/evaluationindex/indexcoll/FactIndexServiceAblityOrgMonthlyDao.xml

@ -127,7 +127,6 @@
LEFT JOIN screen_customer_agency sca ON sca.AGENCY_ID = sm.AGENCY_ID LEFT JOIN screen_customer_agency sca ON sca.AGENCY_ID = sm.AGENCY_ID
WHERE WHERE
sm.del_flag = '0' sm.del_flag = '0'
AND CHAR_LENGTH(sca.AREA_CODE) >= 12
AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%') AND sca.AREA_CODE LIKE CONCAT(#{areaCode},'%')
AND sm.month_id = #{monthId} AND sm.month_id = #{monthId}
</select> </select>

Loading…
Cancel
Save