Browse Source

mapper修改

dev_shibei_match
wangchao 5 years ago
parent
commit
cbf4295b35
  1. 2
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenIndexDataMonthlyDao.xml

2
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenIndexDataMonthlyDao.xml

@ -16,7 +16,7 @@
AND org_type = 'agency' AND org_type = 'agency'
AND org_id = #{agencyId} AND org_id = #{agencyId}
<choose> <choose>
<when test='null == monthId || "" == monthId'> <when test='null == monthId or "" == monthId'>
AND month_id = DATE_FORMAT(NOW(),'%Y%m') AND month_id = DATE_FORMAT(NOW(),'%Y%m')
</when> </when>
<otherwise> <otherwise>

Loading…
Cancel
Save