记得上下班打卡 | git大法好,push需谨慎

Commit cd66e130 authored by 张国柄's avatar 张国柄

fix:券筛选模糊搜索字段NULL处理;

parent d67ebfcb
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
AND cc.busi_type = #{busiType,jdbcType=SMALLINT} AND cc.busi_type = #{busiType,jdbcType=SMALLINT}
</if> </if>
<if test="keyword != null and keyword != ''"> <if test="keyword != null and keyword != ''">
AND INSTR(CONCAT(cc.title, cc.notice, ccr.busi_name), #{keyword,jdbcType=VARCHAR}) AND INSTR(CONCAT(cc.title, ifnull(cc.notice,''), ifnull(ccr.busi_name,'')), #{keyword,jdbcType=VARCHAR})
</if> </if>
</where> </where>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment