...
|
...
|
@@ -220,7 +220,7 @@ func (srv ExcelDataService) ImportCompanyUser(importDataCommand *command.ImportD |
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
|
|
}
|
|
|
return srv.importResultWithHeader(excelImport.DataFields, result.FailRows, len(excelData)), nil
|
|
|
return srv.importResultWithHeader(excelImport.DataFields, result.FailRows, len(users)), nil
|
|
|
}
|
|
|
|
|
|
func (srv ExcelDataService) ImportOrganization(importDataCommand *command.ImportDataCommand) (interface{}, error) {
|
...
|
...
|
@@ -255,7 +255,7 @@ func (srv ExcelDataService) ImportOrganization(importDataCommand *command.Import |
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
|
|
}
|
|
|
return srv.importResultWithHeader(excelImport.DataFields, result.FailRows, len(excelData)), nil
|
|
|
return srv.importResultWithHeader(excelImport.DataFields, result.FailRows, len(items)), nil
|
|
|
}
|
|
|
|
|
|
// 导入结果
|
...
|
...
|
|