|
@@ -33,6 +33,7 @@
|
|
base_camera_management a join base_railway_management r
|
|
base_camera_management a join base_railway_management r
|
|
on a.railway_code=r.railway_code
|
|
on a.railway_code=r.railway_code
|
|
LEFT JOIN base_device_dynamic_management AS man ON a.camera_code = man.camera_code
|
|
LEFT JOIN base_device_dynamic_management AS man ON a.camera_code = man.camera_code
|
|
|
|
+ LEFT JOIN msg_alarm AS msg ON a.camera_code = msg.camera_code
|
|
<where>
|
|
<where>
|
|
<if test="railwayCode != null and railwayCode != ''">
|
|
<if test="railwayCode != null and railwayCode != ''">
|
|
and a.railway_code=#{railwayCode}
|
|
and a.railway_code=#{railwayCode}
|
|
@@ -86,7 +87,7 @@
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
ORDER BY
|
|
ORDER BY
|
|
- CONVERT (r.railway_name USING gbk),a.install_mile
|
|
|
|
|
|
+ CONVERT (r.railway_name USING gbk),a.install_mile,msg.is_lock,man.is_disable
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="countCamera" parameterType="com.ozs.service.entity.vo.MsgAlarmVo" resultType="java.lang.Integer">
|
|
<select id="countCamera" parameterType="com.ozs.service.entity.vo.MsgAlarmVo" resultType="java.lang.Integer">
|