...
|
...
|
@@ -196,6 +196,9 @@ func (srv ExcelDataService) ImportCompanyUser(importDataCommand *command.ImportD |
|
|
}
|
|
|
users := make([]allied_creation_user.BatchAddUserItem, 0)
|
|
|
for _, v := range excelData {
|
|
|
if len(v) == 0 {
|
|
|
continue
|
|
|
}
|
|
|
item := allied_creation_user.BatchAddUserItem{
|
|
|
CompanyId: importDataCommand.Operator.CompanyId,
|
|
|
UserType: domain.UserTypeEmployee,
|
...
|
...
|
@@ -234,6 +237,9 @@ func (srv ExcelDataService) ImportOrganization(importDataCommand *command.Import |
|
|
}
|
|
|
items := make([]allied_creation_user.BatchAddOrgItem, 0)
|
|
|
for _, v := range excelData {
|
|
|
if len(v) == 0 {
|
|
|
continue
|
|
|
}
|
|
|
item := allied_creation_user.BatchAddOrgItem{
|
|
|
CompanyId: importDataCommand.Operator.CompanyId,
|
|
|
OrgCode: v["orgCode"],
|
...
|
...
|
|