Kaynağa Gözat

修复路演bug

317699326@qq.com 1 ay önce
ebeveyn
işleme
9d16883ccd

+ 2 - 2
controllers/roadshow/calendar_researcher_question.go

@@ -394,8 +394,8 @@ func (this *CalendarController) CalendarSummaryExport() {
 		dataRow.AddCell().SetString(v.CompanyClassify)
 		questionList := questionMap[v.RsCalendarId]
 		for _, qv := range questionList {
-			titleRow.AddCell().SetString(qv.QuestionContent)
-			titleRow.AddCell().SetString(qv.ReplyContent)
+			dataRow.AddCell().SetString(qv.QuestionContent)
+			dataRow.AddCell().SetString(qv.ReplyContent)
 		}
 	}
 

+ 2 - 6
controllers/roadshow/company.go

@@ -118,13 +118,9 @@ func (this *CalendarController) CompanyDetail() {
 	}
 
 	if _, ok := ficcSellerMap[sellerId]; ok {
-		if productId != 1 {
-			productId = 1
-		}
+		productId = 1
 	} else {
-		if productId != 2 {
-			productId = 2
-		}
+		productId = 2
 	}
 
 	detailView := new(roadshow.CompanyDetailView)