| | |
| | | com.setOepnValidDate(user.getOepnValidDate()); |
| | | com.setLinker(user.getLinkName()); |
| | | com.setLinkPhone(user.getLinkPhone()); |
| | | com.setOpenUserNum(user.getOpenUserNum()); |
| | | com.setAddr(user.getAddr()); |
| | | com.setFileStoreAddr(user.getFileStoreAddr()); |
| | | com.setShortName(user.getRemark()); |
| | |
| | | com.setName(user.getOrgName()); |
| | | com.setLingyangInfo(user.getUserinfo()); |
| | | com.setLegalPersonPhone(user.getPhone()); |
| | | //默认限制人员10 |
| | | if(user.getOrigin() == Constants.COMPANY_ORIGIN.lingyang){ |
| | | int userNum = 10; |
| | | try { |
| | | userNum =Integer.parseInt(systemDictDataBiz.queryByCode(Constants.LINGYANG_PARAM, Constants.LINGYANG_USERNUM_LIMIT).getCode()); |
| | | }catch (Exception e){ |
| | | } |
| | | com.setOpenUserNum(userNum); |
| | | }else{ |
| | | com.setOpenUserNum(-1); |
| | | } |
| | | com.setOpenModules(Constants.ONE+""); |
| | | com.setOepnValidDate(DateUtil.StringToDate("2099-12-31 09:25:09")); |
| | | com.setOepnType(Constants.ONE); |
| | | com.setStatus(Constants.ONE); |
| | | com.setChannelId(Constants.TWO); |
| | | com.setOrigin(user.getOrigin()); |
| | | // com.setDingdingId(user.getco); |
| | | //插入企业信息 |
| | | companyExtMapper.insert(com); |
| | | |