作者 tangxvhui

调整excel输出

@@ -148,7 +148,7 @@ func (srv *SummaryEvaluationService) ExportAllEvaluationFinish(param *command.Qu @@ -148,7 +148,7 @@ func (srv *SummaryEvaluationService) ExportAllEvaluationFinish(param *command.Qu
148 tableHead := []string{"姓名", "部门", "职位", "最终绩效得分"} 148 tableHead := []string{"姓名", "部门", "职位", "最终绩效得分"}
149 tableHead = append(tableHead, ratingHeader...) 149 tableHead = append(tableHead, ratingHeader...)
150 if len(evaluationList) > 0 { 150 if len(evaluationList) > 0 {
151 - xlsxFile.SetSheetRow(firstSheetName, "A1", []string{evaluationList[0].CycleName + "最终成绩"}) 151 + xlsxFile.SetSheetRow(firstSheetName, "A1", &[]string{evaluationList[0].CycleName + "最终成绩"})
152 // if len(tableHead) > 1 { 152 // if len(tableHead) > 1 {
153 // cellCode, _ := excelize.ColumnNumberToName(len(tableHead)) 153 // cellCode, _ := excelize.ColumnNumberToName(len(tableHead))
154 // xlsxFile.MergeCell(firstSheetName, "A1", cellCode+"1") 154 // xlsxFile.MergeCell(firstSheetName, "A1", cellCode+"1")