nidapeng
2024-04-23 5072f33b5c54142f00991d0dafc9ea75af696b81
server/dmvisit_service/src/main/java/com/doumee/service/business/impl/erp/ErpSyncServiceImpl.java
@@ -771,7 +771,9 @@
                company.setParentId(Objects.isNull(parentCompany)?null:parentCompany.getId());
                company.setErpParentId(param.getParentId());
                company.setFsStatus(Constants.ZERO);
                company.setStatus(Constants.ZERO);
                company.setType(Constants.ONE);
                company.setIsdeleted(Constants.ZERO);
                company.setLinkName(param.getLinkName());
                company.setLinkPhone(param.getLinkPhone());
                companyMapper.insert(company);
@@ -1014,8 +1016,8 @@
                member.setRoleId(ids);
                memberRoleMapper.insertBatchSomeColumn(memberRoleList);
                member.setRoleId(ids);
                return  1;
            }
            return  1;
        }
        return  0;
    }
@@ -1116,7 +1118,6 @@
                throw  new BusinessException(ResponseStatus.BAD_REQUEST.getCode(), "对不起,请选择有效的访客门禁组!");
            }
        }
    }
    @Override