Browse Source

fix:巡检任务统计点击总数弹出列表数量不对bug

zhongwei
haungxing 7 months ago
parent
commit
8ec36032a3
  1. 6
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.xml

6
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.xml

@ -193,6 +193,12 @@
<if test="task.userId != null ">
and b.USER_ID=#{task.userId}
</if>
<if test="task.ids != null and task.ids.size() > 0">
and t.id in
<foreach collection="task.ids" item="item" open="(" close = ")" separator=",">
#{item}
</foreach>
</if>
<include refid="getTaskListSql"></include>
GROUP BY t.id
order by t.UPDATE_TIME desc

Loading…
Cancel
Save