作者 tangxvhui

调整excel输出

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