Browse Source

Merge branch 'cygx_need_p2_769' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 year ago
parent
commit
867d96173f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      services/activity.go

+ 2 - 2
services/activity.go

@@ -118,7 +118,7 @@ func SendActivityBeginMsgMeeting(cont context.Context) (err error) {
 		activityIds = append(activityIds, v.ActivityId)
 		var mobiles []string
 		pars = make([]interface{}, 0)
-		condition = ` AND activity_id = ?  `
+		condition = ` AND activity_id = ?  AND is_send_wx_msg = 0 `
 		pars = append(pars, v.ActivityId)
 		//获取设置消息提醒的用户列表
 		listxReminder, e := models.GetCygxReminderListByUser(condition, pars)
@@ -131,7 +131,7 @@ func SendActivityBeginMsgMeeting(cont context.Context) (err error) {
 		}
 
 		pars = make([]interface{}, 0)
-		condition = ` AND do_fail_type = 0 AND activity_id  = ? AND signup_type = 1  `
+		condition = ` AND do_fail_type = 0 AND activity_id  = ? AND signup_type = 1  AND is_send_wx_msg = 0 `
 		pars = append(pars, v.ActivityId)
 		//获取设置预约外呼的用户列表
 		listSignup, e := models.GetActivitySignupList(condition, pars)