|  |  | @ -33,7 +33,6 @@ import com.elink.esua.epdc.constant.ActStateConstant; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.dto.SysSimpleDictDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.modules.activity.dao.ActBannerDao; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.modules.activity.entity.ActBannerEntity; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.modules.activity.redis.ActBannerRedis; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.modules.activity.service.ActBannerService; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.modules.feign.AdminFeignClient; | 
			
		
	
		
			
				
					|  |  |  | import org.apache.commons.lang3.StringUtils; | 
			
		
	
	
		
			
				
					|  |  | @ -55,9 +54,6 @@ import java.util.Map; | 
			
		
	
		
			
				
					|  |  |  | @Service | 
			
		
	
		
			
				
					|  |  |  | public class ActBannerServiceImpl extends BaseServiceImpl<ActBannerDao, ActBannerEntity> implements ActBannerService { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     @Autowired | 
			
		
	
		
			
				
					|  |  |  |     private ActBannerRedis actBannerRedis; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     @Autowired | 
			
		
	
		
			
				
					|  |  |  |     private AdminFeignClient adminFeignClient; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | @ -100,7 +96,20 @@ public class ActBannerServiceImpl extends BaseServiceImpl<ActBannerDao, ActBanne | 
			
		
	
		
			
				
					|  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |     public ActBannerDTO get(String id) { | 
			
		
	
		
			
				
					|  |  |  |         ActBannerEntity entity = baseDao.selectById(id); | 
			
		
	
		
			
				
					|  |  |  |         return ConvertUtils.sourceToTarget(entity, ActBannerDTO.class); | 
			
		
	
		
			
				
					|  |  |  |         ActBannerDTO dto = ConvertUtils.sourceToTarget(entity, ActBannerDTO.class); | 
			
		
	
		
			
				
					|  |  |  |         // 浏览数+1
 | 
			
		
	
		
			
				
					|  |  |  |         if (null != entity) { | 
			
		
	
		
			
				
					|  |  |  |             int browseNum = 0; | 
			
		
	
		
			
				
					|  |  |  |             if (null != entity.getBrowseNum()) { | 
			
		
	
		
			
				
					|  |  |  |                 browseNum = entity.getBrowseNum(); | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |             browseNum+=1; | 
			
		
	
		
			
				
					|  |  |  |             ActBannerEntity bannerEntity = new ActBannerEntity(); | 
			
		
	
		
			
				
					|  |  |  |             bannerEntity.setActId(id); | 
			
		
	
		
			
				
					|  |  |  |             bannerEntity.setBrowseNum(browseNum); | 
			
		
	
		
			
				
					|  |  |  |             updateById(bannerEntity); | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         return dto; | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |     public Result grounding(String id) { | 
			
		
	
	
		
			
				
					|  |  | 
 |