Browse Source

去掉试试

dev_shibei_match
yinzuomei 4 years ago
parent
commit
aeaf88daa9
  1. 13
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenIndexDataYearlyDao.xml

13
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenIndexDataYearlyDao.xml

@ -31,19 +31,6 @@
score.ORG_TYPE orgType score.ORG_TYPE orgType
FROM FROM
screen_index_data_yearly score screen_index_data_yearly score
<if test="orgType != null and orgType != ''">
<choose>
<when test="orgType == 'grid'">
INNER JOIN screen_customer_grid org ON org.CUSTOMER_ID = score.CUSTOMER_ID AND org.GRID_ID = score.ORG_ID AND org.DEL_FLAG = '0'
</when>
<when test="orgType == 'agency'">
INNER JOIN screen_customer_agency org ON org.CUSTOMER_ID = score.CUSTOMER_ID AND org.AGENCY_ID = score.ORG_ID AND org.DEL_FLAG = '0'
</when>
<when test="orgType == 'department'">
INNER JOIN screen_customer_dept org ON org.CUSTOMER_ID = score.CUSTOMER_ID AND org.DEPT_ID = score.ORG_ID AND org.DEL_FLAG = '0'
</when>
</choose>
</if>
WHERE WHERE
score.del_flag = '0' score.del_flag = '0'
AND score.parent_id = #{agencyId} AND score.parent_id = #{agencyId}

Loading…
Cancel
Save