| | |
| | | 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); |
| | |
| | | member.setRoleId(ids); |
| | | memberRoleMapper.insertBatchSomeColumn(memberRoleList); |
| | | member.setRoleId(ids); |
| | | return 1; |
| | | } |
| | | return 1; |
| | | } |
| | | return 0; |
| | | } |
| | |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(), "对不起,请选择有效的访客门禁组!"); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | @Override |