Explorar o código

Merge branch 'dev-xym-update-history' of Server/growth-manager into master

xueyiming hai 3 meses
pai
achega
1271834053

+ 4 - 0
common-module/src/main/resources/mapper/SpecialSendMessageMapper.xml

@@ -314,5 +314,9 @@
           and t1.group = #{group,jdbcType=INTEGER}
           and t1.pre_send_date = #{preSendDate,jdbcType=VARCHAR}
           and t1.is_send = 0
+          and t2.id not in (select t2.id
+                            from we_com_user_with_tag t1
+                                     join we_com_user t2
+                                          on t1.user_id = t2.id and t1.tag_id in (1, 2, 8, 9, 10))
     </select>
 </mapper>