| 
						
						
							
								
							
						
						
					 | 
					@ -17,6 +17,7 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					package com.epmet.redis; | 
					 | 
					 | 
					package com.epmet.redis; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.epmet.commons.tools.constant.StrConstant; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.redis.RedisKeys; | 
					 | 
					 | 
					import com.epmet.commons.tools.redis.RedisKeys; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.redis.RedisUtils; | 
					 | 
					 | 
					import com.epmet.commons.tools.redis.RedisUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.GovMenuDTO; | 
					 | 
					 | 
					import com.epmet.dto.GovMenuDTO; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -66,18 +67,13 @@ public class GovCustomerMenuRedis { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /** | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * desc:删除客户菜单缓存 | 
					 | 
					 | 
					     * desc:删除客户菜单缓存 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param customerId | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param type | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @see com.epmet.enums.MenuTypeEnum | 
					 | 
					 | 
					     * @see com.epmet.enums.MenuTypeEnum | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     */ | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    public void delCustomerMenu(String customerId, Integer type) { | 
					 | 
					 | 
					    public void delAllCustomerMenu() { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        if (checkParam(customerId, type)) { | 
					 | 
					 | 
					        String key = RedisKeys.getCustomerMenuListPrefix().concat(StrConstant.STAR); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					            String key = RedisKeys.getCustomerMenuList(customerId, type); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        redisUtils.delete(key); | 
					 | 
					 | 
					        redisUtils.delete(key); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private boolean checkParam(String customerId, Integer type) { | 
					 | 
					 | 
					    private boolean checkParam(String customerId, Integer type) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (StringUtils.isBlank(customerId) || type == null){ | 
					 | 
					 | 
					        if (StringUtils.isBlank(customerId) || type == null){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            log.warn("checkParam fail, param is null"); | 
					 | 
					 | 
					            log.warn("checkParam fail, param is null"); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |