feat:优化sql

new-v20240713
wangxy 8 months ago
parent 1b31e52c1a
commit 8e1fc13b4d

@ -111,7 +111,7 @@
</select> </select>
<select id="selectWorkHomeUrl" parameterType="SysWork" resultMap="SysWorkResult"> <select id="selectWorkHomeUrl" parameterType="SysWork" resultMap="SysWorkResult">
<include refid="selectSysWorkVo"/> select work_id, work_title,img_url from sys_work
<where> <where>
<if test="workTitle != null and workTitle != ''"> <if test="workTitle != null and workTitle != ''">
AND work_title like concat('%', #{workTitle}, '%') AND work_title like concat('%', #{workTitle}, '%')

Loading…
Cancel
Save