dingxin 5 年之前
父節點
當前提交
3456e5dec1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

+ 1
- 1
src/main/resources/mapper/TaRecommendCustomerMapper.xml 查看文件

123
                 and a.name = #{name}
123
                 and a.name = #{name}
124
             </if>
124
             </if>
125
             <if test="tel != null and tel!=''">
125
             <if test="tel != null and tel!=''">
126
-                and a.phone = #{tel}
126
+                and a.phone like concat(concat("%",#{tel}),"%")
127
             </if>
127
             </if>
128
             <if test="consultName != null and consultName !=''">
128
             <if test="consultName != null and consultName !=''">
129
                 and b.name like CONCAT('%',#{consultName}, '%')
129
                 and b.name like CONCAT('%',#{consultName}, '%')