소스 검색

获取每日群发用户sql

wangyunpeng 7 달 전
부모
커밋
72834291b1
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      common-module/src/main/resources/mapper/ext/WeComUserMapperExt.xml

+ 1 - 2
common-module/src/main/resources/mapper/ext/WeComUserMapperExt.xml

@@ -29,8 +29,7 @@
         join we_com_send_msg_result wcsmr on wcsmr.user_id = wcu.id
         join we_com_special_send_message wcssm on wcssm.user_id = wcsmr.user_id and wcssm.staff_id = wcsmr.staff_id
         join we_com_staff wcs on wcs.id = wcssm.staff_id
-        where wcu.group_msg_disabled > 0
-        and wcssm.is_send = 1
+        where wcssm.is_send = 1
         and wcsmr.create_time between #{start} and #{end}
         and wcssm.pre_send_date = #{preSendDate}
         <if test="carrierIds != null and carrierIds.size() > 0">