dingxin 5 years ago
parent
commit
48159ef492
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/resources/mapper/HelpInitiateRecordMapper.xml

+ 1
- 1
src/main/resources/mapper/HelpInitiateRecordMapper.xml View File

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