dingxin 5 anos atrás
pai
commit
3456e5dec1

+ 1
- 1
src/main/resources/mapper/TaRecommendCustomerMapper.xml Ver arquivo

@@ -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}, '%')