Browse Source

修正巡检查询逻辑

zhongwei
ty 11 months ago
parent
commit
f5a4a31564
  1. 4
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.xml

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

@ -191,7 +191,7 @@
LEFT JOIN HZ_ST_EX_TASK_USER b on t.ID=b.TASK_ID and b.IS_DELETED=0
where t.IS_DELETED=0
<if test="task.userId != null ">
and u.USER_ID=#{task.userId}
and b.USER_ID=#{task.userId}
</if>
<include refid="getTaskListSql"></include>
GROUP BY t.id
@ -209,7 +209,7 @@
LEFT JOIN HZ_ST_EX_TASK_USER b on t.ID=b.TASK_ID and b.IS_DELETED=0
where t.IS_DELETED=0
<if test="task.userId != null ">
and u.USER_ID=#{task.userId}
and b.USER_ID=#{task.userId}
</if>
<include refid="getTaskListSql"></include>
GROUP BY t.id

Loading…
Cancel
Save