Browse Source

调整 sql 判断

master
jianjun 5 years ago
parent
commit
a58441c787
  1. 2
      epmet-module/data-report/data-report-server/src/main/resources/mapper/project/ProjectDao.xml

2
epmet-module/data-report/data-report-server/src/main/resources/mapper/project/ProjectDao.xml

@ -250,7 +250,7 @@
WHERE
diff.DEL_FLAG = '0'
AND diff.ALL_PARENT_IDS LIKE CONCAT('%',#{agencyId},'%')
<if test="status!= null">
<if test="status!= null and status != ''">
AND diff.EVENT_STATUS_CODE = #{status}
</if>
ORDER BY

Loading…
Cancel
Save