| | |
| | | <if test="query.pointName != null and query.pointName != ''"> |
| | | AND typ.point_name like concat('%', #{query.pointName}, '%') |
| | | </if> |
| | | <if test="query.unitId != null"> |
| | | AND typ.unit_id = #{query.unitId} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | serial_number, province_tag, important_tag, important_command_image_tag, dept_tag |
| | | </select> |
| | | |
| | | |
| | | <select id="selectToCount" resultType="com.ycl.platform.domain.vo.YwPointVO"> |
| | | select p.* from t_yw_point p |
| | | left join t_monitor m on p.serial_number = m.serial_number |
| | | <where> |
| | | p.examine_status = 1 and m.camera_fun_type like concat('%',#{examineCategory},'%') |
| | | <if test="examineTag == 0"> |
| | | and p.province_tag = 1 |
| | | </if> |
| | | <if test="examineTag == 2"> |
| | | and p.dept_tag = 1 |
| | | </if> |
| | | </where> |
| | | </select> |
| | | </mapper> |