| | |
| | | <!-- 数据范围过滤 -->
|
| | | ${params.dataScope}
|
| | | </where>
|
| | | order by c.name
|
| | | </select>
|
| | | <select id="selectArdCamerasListNoDataScope" parameterType="ArdCameras" resultMap="ArdCamerasResult">
|
| | | <include refid="selectArdCamerasVo"/>
|
| | |
| | | from ard_cameras
|
| | | where dept_id = #{deptId}
|
| | | </select>
|
| | | <select id="checkCameraIpAndPortUnique" resultMap="ArdCamerasResult">
|
| | | select * from ard_cameras where ip=#{ip} and port=#{port} limit 1
|
| | | <select id="checkCameraIpAndPortUnique" resultMap="ArdCamerasResult">
|
| | | select *
|
| | | from ard_cameras
|
| | | where ip = #{ip}
|
| | | and port = #{port} limit 1
|
| | | </select>
|
| | | </mapper> |
| | | </mapper>
|