| 
						
						
							
								
							
						
						
					 | 
					@ -11,6 +11,8 @@ import com.epmet.opendata.dto.CaLoudongDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.opendata.entity.CaLoudongEntity; | 
					 | 
					 | 
					import com.epmet.opendata.entity.CaLoudongEntity; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.opendata.redis.CaLoudongRedis; | 
					 | 
					 | 
					import com.epmet.opendata.redis.CaLoudongRedis; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.opendata.service.CaLoudongService; | 
					 | 
					 | 
					import com.epmet.opendata.service.CaLoudongService; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.github.pagehelper.PageHelper; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.github.pagehelper.PageInfo; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.apache.commons.lang3.StringUtils; | 
					 | 
					 | 
					import org.apache.commons.lang3.StringUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.springframework.beans.factory.annotation.Autowired; | 
					 | 
					 | 
					import org.springframework.beans.factory.annotation.Autowired; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.springframework.stereotype.Service; | 
					 | 
					 | 
					import org.springframework.stereotype.Service; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -32,13 +34,21 @@ public class CaLoudongServiceImpl extends BaseServiceImpl<CaLoudongDao, CaLoudon | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Autowired | 
					 | 
					 | 
					    @Autowired | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private CaLoudongRedis caLoudongRedis; | 
					 | 
					 | 
					    private CaLoudongRedis caLoudongRedis; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					//    @Override
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					//    public PageData<CaLoudongDTO> page(Map<String, Object> params) {
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					//        IPage<CaLoudongEntity> page = baseDao.selectPage(
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					//                getPage(params, FieldConstant.CREATED_TIME, false),
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					//                getWrapper(params)
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					//        );
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					//        return getPageData(page, CaLoudongDTO.class);
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					//    }
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Override | 
					 | 
					 | 
					    @Override | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public PageData<CaLoudongDTO> page(Map<String, Object> params) { | 
					 | 
					 | 
					    public PageData<CaLoudongDTO> page(Map<String, Object> params) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        IPage<CaLoudongEntity> page = baseDao.selectPage( | 
					 | 
					 | 
					        PageHelper.startPage((int)(params.get("limit")),(int)(params.get("pageSize"))); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                getPage(params, FieldConstant.CREATED_TIME, false), | 
					 | 
					 | 
					        List<CaLoudongDTO> list = baseDao.getList(); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                getWrapper(params) | 
					 | 
					 | 
					        PageInfo<CaLoudongDTO> info = new PageInfo<>(list); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        ); | 
					 | 
					 | 
					        return new PageData<>(list, info.getTotal()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					        return getPageData(page, CaLoudongDTO.class); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Override | 
					 | 
					 | 
					    @Override | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |