实现core包下TopicReportService接口单元测试 & TopicReportDao.xml中字段和关键字错误修改

This commit is contained in:
xuguang
2021-12-08 15:50:53 +08:00
parent 8086ef355b
commit 4538593236
2 changed files with 49 additions and 2 deletions

View File

@@ -27,13 +27,13 @@
]]>
</delete>
<select id="getNeedReportTopics" parameterType="java.util.Map" resultMap="TopicReportMap">
<select id="getNeedReportTopic" parameterType="java.util.Map" resultMap="TopicReportMap">
<![CDATA[
SELECT *
FROM topic_report
WHERE (cluster_id = #{clusterId}
AND start_time <= #{now}
And end_time >= #{now})
AND end_time >= #{now})
]]>
</select>