Browse Source

难点堵点-查询列表 如果内容为空则返回标题

dev_shibei_match
jianjun 4 years ago
parent
commit
c50c132dcf
  1. 4
      epmet-module/data-report/data-report-server/src/main/resources/mapper/project/ProjectDao.xml

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

@ -238,7 +238,7 @@
<select id="difficultyRank" resultType="com.epmet.project.dto.result.ProjectDifficultRankResultDTO">
SELECT
diff.EVENT_ID AS projectId,
diff.EVENT_CONTENT AS title,
ifnull(diff.EVENT_CONTENT,diff.EVENT_TITLE) AS title,
diff.EVENT_STATUS_CODE AS statusCode,
diff.EVENT_SOURCE AS gridName,
diff.EVENT_IMG_URL AS imgUrl,
@ -275,4 +275,4 @@
WHERE EVENT_ID = #{eventId}
ORDER BY SORT
</select>
</mapper>
</mapper>

Loading…
Cancel
Save