|
@@ -142,7 +142,7 @@ func (this *EnglishReportController) Add() {
|
|
|
go models.ModifyEnglishReportCode(newReportId, reportCode)
|
|
|
}
|
|
|
|
|
|
- excelReferences := make([]*excel.ReferencedExcelConfig, len(req.ExcelReferences))
|
|
|
+ excelReferences := make([]*excel.ReferencedExcelConfig, 0)
|
|
|
for _, r := range req.ExcelReferences {
|
|
|
refItem := excel.ReferencedExcelConfig{
|
|
|
UniqueCode: r.UniqueCode,
|