|  |  |  | @ -5,7 +5,6 @@ import cn.iocoder.yudao.module.system.dal.dataobject.enterprisetag.EnterpriseTag | 
			
		
	
		
			
				
					|  |  |  |  | import cn.iocoder.yudao.module.system.dal.dataobject.fileInfo.FileInfoDO; | 
			
		
	
		
			
				
					|  |  |  |  | import cn.iocoder.yudao.module.system.dal.dataobject.permission.RoleDO; | 
			
		
	
		
			
				
					|  |  |  |  | import cn.iocoder.yudao.module.system.dal.dataobject.permission.UserRoleDO; | 
			
		
	
		
			
				
					|  |  |  |  | import cn.iocoder.yudao.module.system.dal.dataobject.taskinfo.TaskInfoDO; | 
			
		
	
		
			
				
					|  |  |  |  | import cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO; | 
			
		
	
		
			
				
					|  |  |  |  | import cn.iocoder.yudao.module.system.dal.mysql.enterpriseauditlog.EnterpriseAuditLogMapper; | 
			
		
	
		
			
				
					|  |  |  |  | import cn.iocoder.yudao.module.system.dal.mysql.enterprisetag.EnterpriseTagMapper; | 
			
		
	
	
		
			
				
					|  |  |  | @ -105,29 +104,6 @@ public class EnterpriseServiceImpl implements EnterpriseService { | 
			
		
	
		
			
				
					|  |  |  |  |         return enterprise.getId(); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |  |     @Transactional | 
			
		
	
		
			
				
					|  |  |  |  |     public Long pccreateEnterprise(EnterpriseSaveReqVO createReqVO) { | 
			
		
	
		
			
				
					|  |  |  |  |         EnterpriseDO enterprise = BeanUtils.toBean(createReqVO, EnterpriseDO.class); | 
			
		
	
		
			
				
					|  |  |  |  |         enterprise.setDepartmentId(1L); | 
			
		
	
		
			
				
					|  |  |  |  |         enterpriseMapper.insert(enterprise); | 
			
		
	
		
			
				
					|  |  |  |  |         if (createReqVO.getFileIds() != null && createReqVO.getFileIds().length > 0) { | 
			
		
	
		
			
				
					|  |  |  |  |             for (Long fileId : createReqVO.getFileIds()) { | 
			
		
	
		
			
				
					|  |  |  |  |                 FileInfoDO fileInfoDO = new FileInfoDO(); | 
			
		
	
		
			
				
					|  |  |  |  |                 fileInfoDO.setDictData(1l);  //文件类型
 | 
			
		
	
		
			
				
					|  |  |  |  |                 fileInfoDO.setDictType(644l); | 
			
		
	
		
			
				
					|  |  |  |  |                 fileInfoDO.setUnitId(enterprise.getId().toString()); | 
			
		
	
		
			
				
					|  |  |  |  |                 fileInfoDO.setInfraFileId(fileId); | 
			
		
	
		
			
				
					|  |  |  |  |                 fileInfoMapper.insert(fileInfoDO); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         // 返回
 | 
			
		
	
		
			
				
					|  |  |  |  |         return enterprise.getId(); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |  |     public void updateEnterprise(EnterpriseSaveReqVO updateReqVO) { | 
			
		
	
		
			
				
					|  |  |  |  |         // 校验存在
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |