diff --git a/ruoyi-system/src/main/resources/mapper/system/SysWorkMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysWorkMapper.xml index 569b358..f5b4ad4 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysWorkMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysWorkMapper.xml @@ -116,7 +116,7 @@ <if test="workTitle != null and workTitle != ''"> AND work_title like concat('%', #{workTitle}, '%') </if> - AND status = '0' + AND status = '0' AND img_url is NOT NULL </where> order by create_time desc limit 5 </select>