Bläddra i källkod

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

魏熙美 5 år sedan
förälder
incheckning
c84a3e512b
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      src/main/resources/mapper/HelpInitiateRecordMapper.xml

+ 2
- 2
src/main/resources/mapper/HelpInitiateRecordMapper.xml Visa fil

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