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