|  |  | @ -4,6 +4,7 @@ import cn.hutool.core.collection.CollUtil; | 
			
		
	
		
		
			
				
					
					|  |  |  | import cn.hutool.core.collection.CollectionUtil; |  |  |  | import cn.hutool.core.collection.CollectionUtil; | 
			
		
	
		
		
			
				
					
					|  |  |  | import cn.hutool.core.exceptions.ExceptionUtil; |  |  |  | import cn.hutool.core.exceptions.ExceptionUtil; | 
			
		
	
		
		
			
				
					
					|  |  |  | import cn.hutool.core.util.StrUtil; |  |  |  | import cn.hutool.core.util.StrUtil; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import cn.hutool.json.JSONUtil; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.alibaba.fastjson2.JSONObject; |  |  |  | import com.alibaba.fastjson2.JSONObject; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.alibaba.fastjson2.TypeReference; |  |  |  | import com.alibaba.fastjson2.TypeReference; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |  |  |  | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; | 
			
		
	
	
		
		
			
				
					|  |  | @ -569,6 +570,8 @@ public class PtxhyyClient extends CommonHttpClient { | 
			
		
	
		
		
			
				
					
					|  |  |  |     public BaseResponse getBasicProject(DlThirdProjectRequest dlThirdProjectRequest) { |  |  |  |     public BaseResponse getBasicProject(DlThirdProjectRequest dlThirdProjectRequest) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         dlThirdProjectRequest.setFygb("14"); |  |  |  |         dlThirdProjectRequest.setFygb("14"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         dlThirdProjectRequest.setPage(1); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         dlThirdProjectRequest.setLimit(10000); | 
			
		
	
		
		
			
				
					
					|  |  |  |         String response = httpClient.postJson(thrSystemDetailService.getUrlExclude(null) + "/YLSF", dlThirdProjectRequest); |  |  |  |         String response = httpClient.postJson(thrSystemDetailService.getUrlExclude(null) + "/YLSF", dlThirdProjectRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |         BaseResponse<PageSimpleResponse<HisProductEntity>> baseResponse = |  |  |  |         BaseResponse<PageSimpleResponse<HisProductEntity>> baseResponse = | 
			
		
	
		
		
			
				
					
					|  |  |  |                 JSONObject.parseObject(response, new TypeReference<BaseResponse<PageSimpleResponse<HisProductEntity>>>() { |  |  |  |                 JSONObject.parseObject(response, new TypeReference<BaseResponse<PageSimpleResponse<HisProductEntity>>>() { | 
			
		
	
	
		
		
			
				
					|  |  | @ -577,6 +580,9 @@ public class PtxhyyClient extends CommonHttpClient { | 
			
		
	
		
		
			
				
					
					|  |  |  |             PageSimpleResponse<HisProductEntity> pageSimpleResponse = baseResponse.getData(); |  |  |  |             PageSimpleResponse<HisProductEntity> pageSimpleResponse = baseResponse.getData(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             List<HisProductEntity> list = pageSimpleResponse.getList(); |  |  |  |             List<HisProductEntity> list = pageSimpleResponse.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             List<BasicSkProjectEntity> basicSkProjectEntities = new ArrayList<>(); |  |  |  |             List<BasicSkProjectEntity> basicSkProjectEntities = new ArrayList<>(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             int index = 1; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             int index2 = 1; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             log.info("总数:" + list.size()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             for (HisProductEntity hisProductEntity : list) { |  |  |  |             for (HisProductEntity hisProductEntity : list) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 BasicSkProjectEntity basicSkProjectEntity = new BasicSkProjectEntity(); |  |  |  |                 BasicSkProjectEntity basicSkProjectEntity = new BasicSkProjectEntity(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 basicSkProjectEntity.setCode(hisProductEntity.getFyxh()); |  |  |  |                 basicSkProjectEntity.setCode(hisProductEntity.getFyxh()); | 
			
		
	
	
		
		
			
				
					|  |  | @ -589,10 +595,15 @@ public class PtxhyyClient extends CommonHttpClient { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 basicSkProjectEntity.setGgxh(hisProductEntity.getSm()); |  |  |  |                 basicSkProjectEntity.setGgxh(hisProductEntity.getSm()); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 basicSkProjectEntity.setUnit(hisProductEntity.getFydw()); |  |  |  |                 basicSkProjectEntity.setUnit(hisProductEntity.getFydw()); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 basicSkProjectEntity.setPrice(hisProductEntity.getFydj()); |  |  |  |                 basicSkProjectEntity.setPrice(hisProductEntity.getFydj()); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 basicSkProjectEntities.add(basicSkProjectEntity); |  |  |  |                 if (hisProductEntity.getZfpb().equals("0")) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     log.info("在用" + index++ + ""); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     basicSkProjectEntities.add(basicSkProjectEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     log.info("作废" + index2++ + ""); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             PageSimpleResponse<BasicSkProjectEntity> dataResponse = new PageSimpleResponse<>(); |  |  |  |             PageSimpleResponse<BasicSkProjectEntity> dataResponse = new PageSimpleResponse<>(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             dataResponse.setTotal(basicSkProjectEntities.size() + 0l); |  |  |  |             dataResponse.setTotal(-666l); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             dataResponse.setList(basicSkProjectEntities); |  |  |  |             dataResponse.setList(basicSkProjectEntities); | 
			
		
	
		
		
			
				
					
					|  |  |  |             return ResultVOUtils.success(dataResponse); |  |  |  |             return ResultVOUtils.success(dataResponse); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |