作者 yangfu

用户导入修改

... ... @@ -43,7 +43,7 @@ func (ptr *PgBatchAddOrgService) BatchAddOrg(optUser *domain.OperateInfo, orgLis
Ext: &domain.Ext{},
}
if v, ok := mapOrg[item.ParentOrgCode]; !ok {
item.FailReason = fmt.Sprintf("找不到上级部门:%v", item.OrgCode)
item.FailReason = fmt.Sprintf("找不到上级部门:%v", item.ParentOrgCode)
failRows = append(failRows, item)
continue
//return fmt.Errorf(fmt.Sprintf("找不到组织:%v", item.OrgCode))
... ...