zhoulisen před 4 roky
rodič
revize
38ac39faa2

+ 2
- 2
src/main/resources/mapper/redpack/TaRedPacketMapper.xml Zobrazit soubor

@@ -140,10 +140,10 @@
140 140
             </if>
141 141
 
142 142
             <if test="sharePersonPhone != null and sharePersonPhone != ''">
143
-                AND t3.phone = #{sharePersonPhone}
143
+                AND t3.phone like CONCAT('%',#{sharePersonPhone}, '%')
144 144
             </if>
145 145
             <if test="phone != null and phone != ''">
146
-                AND t2.phone = #{phone}
146
+                AND t2.phone like CONCAT('%',#{phone}, '%')
147 147
             </if>
148 148
          ORDER BY
149 149
             t.create_date desc