fuliqi
2024-10-13 f962534ae431779f3e341365af2e30fdd0afeb0f
ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
@@ -80,6 +80,7 @@
        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>
@@ -238,6 +239,7 @@
        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>