Browse Source

收费站管制统计

develop
lau572 5 months ago
parent
commit
5b421c46f1
  1. 1
      zc-business/src/main/resources/mapper/business/DcTrafficIncidentsMapper.xml

1
zc-business/src/main/resources/mapper/business/DcTrafficIncidentsMapper.xml

@ -271,7 +271,6 @@
t1.event_type = '3' and t1.event_subclass = '3-2' and t1.event_state != '0' t1.event_type = '3' and t1.event_subclass = '3-2' and t1.event_state != '0'
and date_format(t1.start_time,'%Y-%m-%d %H:%i:%s') <= date_format(#{endTime},'%Y-%m-%d %H:%i:%s') and date_format(t1.start_time,'%Y-%m-%d %H:%i:%s') <= date_format(#{endTime},'%Y-%m-%d %H:%i:%s')
and (date_format(t1.end_time,'%Y-%m-%d %H:%i:%s') > date_format(#{startTime},'%Y-%m-%d %H:%i:%s') or ISNULL(t1.end_time)) and (date_format(t1.end_time,'%Y-%m-%d %H:%i:%s') > date_format(#{startTime},'%Y-%m-%d %H:%i:%s') or ISNULL(t1.end_time))
and t2.classify in ('6','7','9')
GROUP BY t2.facility_id) t2 on t1.id = t2.facilityId GROUP BY t2.facility_id) t2 on t1.id = t2.facilityId
<where> <where>
t1.facility_type = '1' t1.facility_type = '1'

Loading…
Cancel
Save