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>