dingxin 5 년 전
부모
커밋
48159ef492
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/main/resources/mapper/HelpInitiateRecordMapper.xml

+ 1
- 1
src/main/resources/mapper/HelpInitiateRecordMapper.xml 파일 보기

@@ -33,7 +33,7 @@
33 33
            AND hi.`status` =  2
34 34
        </if>
35 35
            <if test="tel != null and tel != ''">
36
-               AND hi.phone = #{tel}
36
+               and  hi.phone like concat('%',#{tel},'%')
37 37
            </if>
38 38
        </where>
39 39
     </select>