dingxin 5 年之前
父節點
當前提交
3456e5dec1
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

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

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