|
@@ -180,7 +180,7 @@ func GetRsCalendarMeetingUserByRai(condition string, startSize, pageSize int) (t
|
|
|
INNER JOIN rs_calendar_researcher AS b ON a.rs_calendar_id = b.rs_calendar_id
|
|
|
LEFT JOIN rs_calendar_meeting_label_group AS g ON g.rs_calendar_id = b.rs_calendar_id
|
|
|
WHERE
|
|
|
- 1 = 1 ` + condition + ` GROUP BY a.rs_calendar_id `
|
|
|
+ 1 = 1 ` + condition + ` GROUP BY r.rs_calendar_meeting_user_id `
|
|
|
|
|
|
totalSql := `SELECT COUNT(1) total FROM (` + sql + `) z `
|
|
|
err = o.Raw(totalSql).QueryRow(&total)
|