作者 庄敏学

合并分支 'dev' 到 'test'

读取图片



查看合并请求 !22
@@ -308,7 +308,7 @@ func (srv ExcelDataService) ImportCost(importDataCommand *command.ImportDataComm @@ -308,7 +308,7 @@ func (srv ExcelDataService) ImportCost(importDataCommand *command.ImportDataComm
308 }, 308 },
309 } 309 }
310 for key, v := range excelData { 310 for key, v := range excelData {
311 - _, mBytes, err := f.GetPicture(f.GetSheetName(index), "E"+fmt.Sprintf("%v", excelImport.RowBegin+key)) 311 + _, mBytes, err := f.GetPicture(f.GetSheetName(index), "E"+fmt.Sprintf("%v", excelImport.RowBegin+key+1))
312 if err != nil { 312 if err != nil {
313 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "读取图片失败") 313 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "读取图片失败")
314 } 314 }