瀏覽代碼

no message

xingzai 2 年之前
父節點
當前提交
901498fde5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      controllers/morning_meeting.go

+ 2 - 2
controllers/morning_meeting.go

@@ -47,7 +47,7 @@ func (this *MorningMeetingController) GatherList() {
 	startSize = utils.StartIndex(currentIndex, pageSize)
 	var condition string
 	var pars []interface{}
-	condition += ` AND status = 1 `
+	condition += ` AND status = 1  AND  meeting_ids != '' `
 	total, err := models.GetCygxMorningMeetingGatherCount(condition, pars)
 	if err != nil {
 		br.Msg = "获取失败"
@@ -69,7 +69,7 @@ func (this *MorningMeetingController) GatherList() {
 	mapMeetName := make(map[string]string)
 	if meetids != "" {
 		pars = make([]interface{}, 0)
-		condition = ` 	AND id  IN(` + meetids + `) `
+		condition = ` 	AND id  IN(` + meetids + `)  AND  status = 1   `
 		listMeet, err := models.GetCygxMorningMeetingReviewsList(condition, pars, 0, 10000)
 		if err != nil {
 			br.Msg = "获取失败"