shenyijian
2024-06-18 d1c97643c8ef372650b7426c468812dd06263100
skjcmanager/skjcmanager-service/skjcmanager-sm/src/main/java/cn/gistack/sm/sg/mapper/SgProjectInfoMapper.xml
@@ -46,6 +46,12 @@
            de.STATUS as deviceStatus
        FROM
            ywxt.sg_project_info pro
                LEFT JOIN ywxt.sg_device de ON pro.id = de.program_id
                LEFT JOIN ywxt.sg_device de ON pro.id = de.program_id where 1=1
    <if test="dto.status != null">
        and pro.status = #{dto.status}
    </if>
     <if test="dto.projectName != null and dto.projectName != ''">
         and pro.project_name like CONCAT(CONCAT('%',#{dto.projectName}),'%')
     </if>
    </select>
</mapper>