浏览代码

Merge branch 'v3.5' of http://git.ycjcjy.com/zhiyuxing/estateagents into v3.5

魏熙美 5 年前
父节点
当前提交
c84a3e512b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/main/resources/mapper/HelpInitiateRecordMapper.xml

+ 2
- 2
src/main/resources/mapper/HelpInitiateRecordMapper.xml 查看文件

@@ -49,7 +49,7 @@
49 49
     where b.help_activity_id =  #{helpActivityId}
50 50
     and b.`status` =  0
51 51
     <if test="tel != null and tel != ''">
52
-        AND b.phone = #{tel}
52
+        and  b.phone like concat('%',#{tel},'%')
53 53
     </if>
54 54
      order by b.create_date desc
55 55
      limit #{pageCode}, #{pageSize}
@@ -69,7 +69,7 @@
69 69
         and b.status = 2
70 70
     </if>
71 71
     <if test="tel != null and tel != ''">
72
-        AND b.phone = #{tel}
72
+        and  b.phone like concat('%',#{tel},'%')
73 73
     </if>
74 74
      order by b.create_date desc
75 75
      limit #{pageCode}, #{pageSize}