gong
2024-06-17 2b17ccbd4f89fa297dc7d60f4f93ba8afb5d2570
skjcmanager/skjcmanager-service/skjcmanager-sm/src/main/java/cn/gistack/sm/sg/mapper/SgDeviceMapper.xml
@@ -8,6 +8,9 @@
        <if test="dto.projectName != null and dto.projectName != ''">
            and project.project_name  like CONCAT(CONCAT('%', #{dto.projectName}), '%')
        </if>
        <if test="dto.projectId != null and dto.projectId != ''">
            and project.id = #{dto.projectId}
        </if>
        <if test="dto.deviceName != null and dto.deviceName != ''">
            and ds.device_name like CONCAT(CONCAT('%', #{dto.deviceName}), '%')
        </if>