Browse Source

优化接口

develop
wangsixiang 3 months ago
parent
commit
637e3efb00
  1. 2
      zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml

2
zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml

@ -691,7 +691,7 @@
FROM dc_warning AS w FROM dc_warning AS w
LEFT JOIN dc_stake_mark AS sm ON w.stake_mark = sm.stake_mark and w.direction=sm.direction LEFT JOIN dc_stake_mark AS sm ON w.stake_mark = sm.stake_mark and w.direction=sm.direction
LEFT JOIN dc_road_section AS s ON sm.section_id = s.id LEFT JOIN dc_road_section AS s ON sm.section_id = s.id
WHERE w.warning_source != 6 AND DATE(w.warning_time) = DATE(#{currently}) WHERE w.warning_source != 6 AND warning_time >= #{currently} AND warning_time < #{currently} + INTERVAL 1 DAY
GROUP BY w.warning_state,s.section_name GROUP BY w.warning_state,s.section_name
ORDER BY s.start_stake_mark ORDER BY s.start_stake_mark
</select> </select>

Loading…
Cancel
Save