@@ -723,6 +723,7 @@ func GetActivityIdToSendFile(endDate string) (items []*ActivityIdRep, err error)
AND t.activity_type = 1
AND s.fail_type = 0
AND a.is_send_file_toemail = 0
+ AND a.publish_status = 1
AND a.activity_time <= ? AND a.activity_time >= NOW() GROUP BY a.activity_id `
_, err = o.Raw(sql, endDate).QueryRows(&items)
return