|
@@ -54,13 +54,13 @@
|
|
|
b.end_mile AS end_mile,
|
|
|
b.install_longitude AS install_longitude,
|
|
|
b.install_latitude AS install_latitude
|
|
|
- from msg_app_push m left join
|
|
|
- msg_alarm AS a on m.alarm_id=a.alarm_id left join
|
|
|
- base_camera_management AS b on a.camera_code=b.camera_code left join
|
|
|
+ from msg_app_push m join
|
|
|
+ msg_alarm AS a on m.alarm_id=a.alarm_id join
|
|
|
+ base_camera_management AS b on a.camera_code=b.camera_code join
|
|
|
base_railway_management AS r on b.railway_code=r.railway_code
|
|
|
<where>
|
|
|
<if test="status != null and status != 0">
|
|
|
- and status = = #{status}
|
|
|
+ and status = #{status}
|
|
|
</if>
|
|
|
<if test="receiveBy != null and receiveBy != ''">
|
|
|
and receive_by = #{receiveBy}
|