Browse Source

Merge branch 'cygx/cygx_check_table' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

xingzai 1 year ago
parent
commit
80e7e55a67
1 changed files with 3 additions and 0 deletions
  1. 3 0
      models/cygx/activity_meet.go

+ 3 - 0
models/cygx/activity_meet.go

@@ -204,6 +204,8 @@ func GetCygxBreakAppointmentList(condition string, pars []interface{}, startSize
 			FROM
 				cygx_activity_signup_break AS s
 				INNER JOIN cygx_activity AS a ON a.activity_id = s.activity_id
+				WHERE
+				s.user_id = cs.user_id 
 			) AS break_appointment_num,
 			s.real_name,
 			s.mobile,
@@ -214,6 +216,7 @@ func GetCygxBreakAppointmentList(condition string, pars []interface{}, startSize
 		FROM
 			cygx_activity_signup_break AS s
 			INNER JOIN cygx_activity AS a ON a.activity_id = s.activity_id
+			INNER JOIN cygx_activity_signup AS cs ON cs.activity_id = s.activity_id 
 		WHERE
 			1 = 1 `
 	if condition != "" {