提交 623d671c 编写于 作者: Hello 码上秃's avatar Hello 码上秃

Bug修复__线索管理__线索id和手机号应该支持模糊搜索

上级 f80d0ce4
......@@ -90,9 +90,9 @@
<select id="selectTbClueList" parameterType="TbClue" resultMap="TbClueAssignResult">
<include refid="selectTbClueAssignVo"/>
<where>
<if test="id != null and id != ''"> and clue.id = #{id}</if>
<if test="id != null and id != ''">and clue.id like concat('%', #{id}, '%')</if>
<if test="name != null and name != ''"> and clue.name like concat('%', #{name}, '%')</if>
<if test="phone != null and phone != ''"> and clue.phone = #{phone}</if>
<if test="phone != null and phone != ''"> and clue.phone like concat('%', #{phone}, '%')</if>
<if test="channel != null and channel != ''"> and clue.channel = #{channel}</if>
<if test="activityId != null and activityId != ''"> and clue.activity_id = #{activityId}</if>
<if test="sex != null and sex != ''"> and clue.sex = #{sex}</if>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册