|  | @@ -945,6 +945,14 @@ public class ContractServiceImpl implements ContractService, InitializingBean {
 | 
	
		
			
				|  |  |  	public boolean transferProduceContract(Integer userId,String musicGroupId) {
 | 
	
		
			
				|  |  |  		SysUser user = studentDao.lockUserReturnInfo(userId);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +		if (user == null) {
 | 
	
		
			
				|  |  | +			throw new BizException("用户不存在");
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +		if(StringUtils.isBlank(user.getRealName())||StringUtils.isBlank(user.getIdCardNo())){
 | 
	
		
			
				|  |  | +			throw new BizException("身份信息不全");
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  		List<SysUserContracts> userContracts = sysUserContractsService.getUserContractWithType(userId, ContractType.PRODUCT);
 | 
	
		
			
				|  |  |  		if(!CollectionUtils.isEmpty(userContracts)){
 | 
	
		
			
				|  |  |  			return true;
 | 
	
	
		
			
				|  | @@ -952,9 +960,6 @@ public class ContractServiceImpl implements ContractService, InitializingBean {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		SysUserTsign sysUserTsign = sysUserTsignService.get(userId);
 | 
	
		
			
				|  |  |  		if (sysUserTsign == null) {
 | 
	
		
			
				|  |  | -			if (user == null) {
 | 
	
		
			
				|  |  | -				throw new BizException("用户信息查询失败");
 | 
	
		
			
				|  |  | -			}
 | 
	
		
			
				|  |  |  			sysUserTsign = register(userId, user.getRealName(), user.getIdCardNo(), user.getPhone());
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		Date date = new Date();
 |