Browse Source

no message

xingzai 1 year ago
parent
commit
0876d259e8
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 != "" {