소스 검색

* bug 修改

顾绍勇 5 년 전
부모
커밋
b292c931c5
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      src/main/resources/mapper/redpack/TaRedPacketMapper.xml

+ 2
- 0
src/main/resources/mapper/redpack/TaRedPacketMapper.xml 파일 보기

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