摄像头标签接口优化
This commit is contained in:
parent
44c16c5312
commit
cf39870b9e
|
@ -25,8 +25,8 @@
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<select id="selectNLAll" resultType="com.hisense.monitormanage.dto.CameraChannelNLDto">
|
<select id="selectNLAll" resultType="com.hisense.monitormanage.dto.CameraChannelNLDto">
|
||||||
SELECT a.label_name,d.* from t_label a RIGHT JOIN (select b.label_code,c.* from t_camera_channel c
|
SELECT a.label_name,d.* from t_label a JOIN (select b.label_code,c.* from t_camera_channel c
|
||||||
LEFT JOIN t_channel_mtm_label b on c.channel_code = b.channel_code) d
|
JOIN t_channel_mtm_label b on c.channel_code = b.channel_code where label_code != '') d
|
||||||
on d.label_code = a.label_code
|
on d.label_code = a.label_code
|
||||||
<bind name="page" value="(page-1)*pageSize"/>
|
<bind name="page" value="(page-1)*pageSize"/>
|
||||||
limit #{page},#{pageSize}
|
limit #{page},#{pageSize}
|
||||||
|
|
Loading…
Reference in New Issue