|
@@ -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">
|