|  | @@ -8,6 +8,7 @@ import com.ym.mec.common.exception.BizException;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.service.impl.BaseServiceImpl;
 | 
	
		
			
				|  |  |  import com.ym.mec.thirdparty.adapay.CorpMember;
 | 
	
		
			
				|  |  |  import com.ym.mec.thirdparty.adapay.SettleAccount;
 | 
	
		
			
				|  |  | +import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.stereotype.Service;
 | 
	
		
			
				|  |  |  import org.springframework.transaction.annotation.Transactional;
 | 
	
	
		
			
				|  | @@ -121,7 +122,9 @@ public class HfMemberSserviceImpl extends BaseServiceImpl<Integer, HfMember> imp
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          //删除结算账户
 | 
	
		
			
				|  |  | -        SettleAccount.executeDeleteSettleAccount(hfMember.getSettleAccountId(), memberId);
 | 
	
		
			
				|  |  | +        if (StringUtils.isNotBlank(hfMember.getSettleAccountId())) {
 | 
	
		
			
				|  |  | +            SettleAccount.executeDeleteSettleAccount(hfMember.getSettleAccountId(), memberId);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          Map<String, Object> accountInfo = new HashMap<String, Object>();
 | 
	
		
			
				|  |  |          accountInfo.put("card_id", cardNo);
 |