...
|
...
|
@@ -149,10 +149,10 @@ func (srv *SummaryEvaluationService) ExportAllEvaluationFinish(param *command.Qu |
|
|
tableHead = append(tableHead, ratingHeader...)
|
|
|
if len(evaluationList) > 0 {
|
|
|
xlsxFile.SetSheetRow(firstSheetName, "A1", &[]string{evaluationList[0].CycleName + "最终成绩"})
|
|
|
// if len(tableHead) > 1 {
|
|
|
// cellCode, _ := excelize.ColumnNumberToName(len(tableHead))
|
|
|
// xlsxFile.MergeCell(firstSheetName, "A1", cellCode+"1")
|
|
|
// }
|
|
|
if len(tableHead) > 1 {
|
|
|
cellCode, _ := excelize.ColumnNumberToName(len(tableHead))
|
|
|
xlsxFile.MergeCell(firstSheetName, "A1", cellCode+"1")
|
|
|
}
|
|
|
}
|
|
|
xlsxFile.SetSheetRow(firstSheetName, "A2", &tableHead)
|
|
|
firstDataRow := 3
|
...
|
...
|
|