Browse Source

no message

xingzai 1 year ago
parent
commit
f16115618c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      controllers/report.go

+ 2 - 0
controllers/report.go

@@ -659,6 +659,8 @@ func (this *ReportController) List() {
 			if v.Resource == 3 {
 			if v.Resource == 3 {
 				meetingreviewchaptIds = append(meetingreviewchaptIds, v.Id)
 				meetingreviewchaptIds = append(meetingreviewchaptIds, v.Id)
 			}
 			}
+		}
+		if len(meetingreviewchaptIds) > 0 {
 			listMeet, err := services.GetCygxMorningMeetingReviewChapterListByIds(meetingreviewchaptIds)
 			listMeet, err := services.GetCygxMorningMeetingReviewChapterListByIds(meetingreviewchaptIds)
 			if err != nil {
 			if err != nil {
 				br.Msg = "获取失败"
 				br.Msg = "获取失败"