| | |
| | | left join sys_dept d on p.dept_id = d.dept_id |
| | | </select> |
| | | |
| | | <select id="selectMonitorResult" resultType="com.ycl.platform.domain.result.SYS.TMonitorResult"> |
| | | select m.id, m.serial_number as no,d.dept_id,p.province_tag,p.important_tag,p.important_command_image_tag,p.dept_tag,p.online |
| | | from t_monitor m |
| | | left join t_yw_point p on m.serial_number = p.serial_number |
| | | left join sys_dept d on p.dept_id = d.dept_id |
| | | <where> |
| | | <if test="cameraFunType!=null"> |
| | | m.camera_fun_type like concat('%',#{cameraFunType},'%') |
| | | </if> |
| | | </where> |
| | | </select> |
| | | <select id="selectTMonitorById" parameterType="Long" resultType="com.ycl.platform.domain.vo.TMonitorVO"> |
| | | <include refid="selectTMonitorVo"/> |
| | | where id = #{id} |