Browse Source

* bug 修改

顾绍勇 5 years ago
parent
commit
b292c931c5
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/main/resources/mapper/redpack/TaRedPacketMapper.xml

+ 2
- 0
src/main/resources/mapper/redpack/TaRedPacketMapper.xml View File

132
             and t.event_type = 'h5'
132
             and t.event_type = 'h5'
133
             AND t.target_id = #{drainageId}
133
             AND t.target_id = #{drainageId}
134
             AND (t.share_person_id != NULL  or t.share_person_id != '')
134
             AND (t.share_person_id != NULL  or t.share_person_id != '')
135
+            AND t.share_person_id != t.person_id
135
             <if test="sharePersonPhone != null and sharePersonPhone != ''">
136
             <if test="sharePersonPhone != null and sharePersonPhone != ''">
136
                 AND t3.phone like CONCAT('%',#{sharePersonPhone}, '%')
137
                 AND t3.phone like CONCAT('%',#{sharePersonPhone}, '%')
137
             </if>
138
             </if>
170
         and t.event_type = 'h5'
171
         and t.event_type = 'h5'
171
         AND t.target_id = #{drainageId}
172
         AND t.target_id = #{drainageId}
172
         AND (t.share_person_id != NULL  or t.share_person_id != '')
173
         AND (t.share_person_id != NULL  or t.share_person_id != '')
174
+        AND t.share_person_id != t.person_id
173
         <if test="sharePersonPhone != null and sharePersonPhone != ''">
175
         <if test="sharePersonPhone != null and sharePersonPhone != ''">
174
             AND t3.phone like CONCAT('%',#{sharePersonPhone}, '%')
176
             AND t3.phone like CONCAT('%',#{sharePersonPhone}, '%')
175
         </if>
177
         </if>