Kaynağa Gözat

修复导出bug

317699326@qq.com 2 ay önce
ebeveyn
işleme
a8fb87584d
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      controllers/roadshow/report.go

+ 4 - 0
controllers/roadshow/report.go

@@ -2056,6 +2056,10 @@ func (this *CalendarController) ResearcherReportExport() {
 		pars = append(pars, endDate)
 	}
 
+	condition += ` AND b.activity_type = ‘路演’ `
+	condition += ` AND b.roadshow_type <>'' `
+	condition += ` AND c.question_status = 1 `
+
 	list, err := roadshow.GetReportResearcherExport(condition, pars)
 	if err != nil {
 		br.Msg = "获取信息失败!"