Commit 30f78c71 by xugaojun

修复一个欢迎语查询问题

parent f68210bb
......@@ -105,10 +105,10 @@
from tab_haoban_welcome
where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
<if test="title != null and title != ''">
title = #{title,jdbcType=VARCHAR}
and title = #{title,jdbcType=VARCHAR}
</if>
<if test="defaultWelcomeFlag != null and title != ''">
default_welcome_flag = #{defaultWelcomeFlag,jdbcType=INTEGER}
<if test="defaultWelcomeFlag != null and defaultWelcomeFlag != ''">
and default_welcome_flag = #{defaultWelcomeFlag,jdbcType=INTEGER}
</if>
and status_flag = 1
order by create_time desc
......
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