摄像头标签接口优化

This commit is contained in:
wuweida 2022-05-25 14:38:54 +08:00
parent 44c16c5312
commit cf39870b9e
1 changed files with 2 additions and 2 deletions

View File

@ -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}