| | |
| | | LEFT JOIN t_yw_unit tyu ON typ.unit_id = tyu.id AND tyu.deleted = 0 |
| | | LEFT JOIN sys_dept sd ON typ.dept_id = sd.dept_id AND sd.del_flag = 0 |
| | | <where> |
| | | typ.examine_status = 1 |
| | | <if test="query.pointName != null and query.pointName != ''"> |
| | | AND typ.point_name like concat('%', #{query.pointName}, '%') |
| | | </if> |
| | |
| | | INNER JOIN t_monitor m ON yp.serial_number = m.serial_number |
| | | LEFT JOIN t_yw_unit yu ON yu.id = yp.unit_id |
| | | <where> |
| | | yp.examine_status = 1 |
| | | <if test="query.pointName != null and query.pointName != ''"> |
| | | AND m.name like concat('%', #{query.pointName} ,'%') |
| | | </if> |