zhoulisen 4 年之前
父節點
當前提交
38ac39faa2
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/main/resources/mapper/redpack/TaRedPacketMapper.xml

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

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