|  |  | @ -8,10 +8,7 @@ import com.glxp.api.common.enums.ResultEnum; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.common.res.BaseResponse; |  |  |  | import com.glxp.api.common.res.BaseResponse; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.common.util.ResultVOUtils; |  |  |  | import com.glxp.api.common.util.ResultVOUtils; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.constant.ConstantStatus; |  |  |  | import com.glxp.api.constant.ConstantStatus; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.basic.FilterSysEntity; |  |  |  | import com.glxp.api.entity.basic.*; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.basic.UdiEntity; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.basic.UdiProductEntity; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.basic.UdiRelevanceEntity; |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.system.SystemParamConfigEntity; |  |  |  | import com.glxp.api.entity.system.SystemParamConfigEntity; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.thrsys.ThrProductsEntity; |  |  |  | import com.glxp.api.entity.thrsys.ThrProductsEntity; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.thrsys.ThrSystemEntity; |  |  |  | import com.glxp.api.entity.thrsys.ThrSystemEntity; | 
			
		
	
	
		
		
			
				
					|  |  | @ -25,10 +22,7 @@ import com.glxp.api.res.PageSimpleResponse; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.res.basic.BasicProductThirdSysResponse; |  |  |  | import com.glxp.api.res.basic.BasicProductThirdSysResponse; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.res.basic.UdiRelevanceResponse; |  |  |  | import com.glxp.api.res.basic.UdiRelevanceResponse; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.service.auth.CustomerService; |  |  |  | import com.glxp.api.service.auth.CustomerService; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.service.basic.BasicBackUpdateProductService; |  |  |  | import com.glxp.api.service.basic.*; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.service.basic.BasicUpdateProductService; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.service.basic.UdiProductService; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.service.basic.UdiRelevanceService; |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.service.system.SystemParamConfigService; |  |  |  | import com.glxp.api.service.system.SystemParamConfigService; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.service.thrsys.ThrDataService; |  |  |  | import com.glxp.api.service.thrsys.ThrDataService; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.service.thrsys.ThrSystemService; |  |  |  | import com.glxp.api.service.thrsys.ThrSystemService; | 
			
		
	
	
		
		
			
				
					|  |  | @ -64,6 +58,9 @@ public class UdiRelevanceController { | 
			
		
	
		
		
			
				
					
					|  |  |  |     private ThrSystemService thrSystemService; |  |  |  |     private ThrSystemService thrSystemService; | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Resource |  |  |  |     @Resource | 
			
		
	
		
		
			
				
					
					|  |  |  |     ThrDataService thrDataService; |  |  |  |     ThrDataService thrDataService; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     @Resource | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     UdiRlSupService udiRlSupService; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     @AuthRuleAnnotation("") |  |  |  |     @AuthRuleAnnotation("") | 
			
		
	
		
		
			
				
					
					|  |  |  |     @GetMapping("/udi/udirel/download") |  |  |  |     @GetMapping("/udi/udirel/download") | 
			
		
	
	
		
		
			
				
					|  |  | @ -93,7 +90,7 @@ public class UdiRelevanceController { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage()); |  |  |  |             return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         List<UdiRelevanceResponse> udiRelevanceResponses = null; |  |  |  |         List<UdiRelevanceResponse> udiRelevanceResponses = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |         udiRelevanceResponses = udiRelevanceService.selectAllByNameCode(filterUdiRelRequest.getNameCode(), filterUdiRelRequest.getUnitFk()); |  |  |  |         udiRelevanceResponses = udiRelevanceService.filterUdiJoinSup(filterUdiRelRequest); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         PageInfo<UdiRelevanceResponse> pageInfo; |  |  |  |         PageInfo<UdiRelevanceResponse> pageInfo; | 
			
		
	
		
		
			
				
					
					|  |  |  |         pageInfo = new PageInfo<>(udiRelevanceResponses); |  |  |  |         pageInfo = new PageInfo<>(udiRelevanceResponses); | 
			
		
	
		
		
			
				
					
					|  |  |  |         PageSimpleResponse<UdiRelevanceResponse> pageSimpleResponse = new PageSimpleResponse<>(); |  |  |  |         PageSimpleResponse<UdiRelevanceResponse> pageSimpleResponse = new PageSimpleResponse<>(); | 
			
		
	
	
		
		
			
				
					|  |  | @ -156,19 +153,17 @@ public class UdiRelevanceController { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         udiRelevanceResponses = udiRelevanceService.filterUdiGp(filterUdiRelRequest); |  |  |  |         udiRelevanceResponses = udiRelevanceService.filterUdiGp(filterUdiRelRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |         if (udiRelevanceResponses != null && udiRelevanceResponses.size() > 0) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         //todo  供应商器械信息还未完成
 |  |  |  |             for (UdiRelevanceResponse udiRelevanceResponse : udiRelevanceResponses) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | //        if (udiRelevanceResponses != null && udiRelevanceResponses.size() > 0) {
 |  |  |  |                 UdiRlSupEntity companyProductRelevanceEntity = | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | //            for (UdiRelevanceResponse udiRelevanceResponse : udiRelevanceResponses) {
 |  |  |  |                         udiRlSupService.findCompanyProductRelevanceByUdiRlIdFk(udiRelevanceResponse.getId() + "", filterUdiRelRequest.getCustomerId()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | //                CompanyProductRelevanceEntity companyProductRelevanceEntity =
 |  |  |  |                 if (companyProductRelevanceEntity != null) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | //                        companyProductRelevanceService.findCompanyProductRelevanceByUdiRlIdFk(udiRelevanceResponse.getId() + "", filterUdiInfoRequest.getCustomerId());
 |  |  |  |                     udiRelevanceResponse.setIsSelect(true); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | //                if (companyProductRelevanceEntity != null) {
 |  |  |  |                 } else { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | //                    udiRelevanceResponse.setIsSelect(true);
 |  |  |  |                     udiRelevanceResponse.setIsSelect(false); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | //                } else {
 |  |  |  |                 } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | //                    udiRelevanceResponse.setIsSelect(false);
 |  |  |  |             } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | //                }
 |  |  |  |         } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | //            }
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | //        }
 |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         PageInfo<UdiRelevanceResponse> pageInfo; |  |  |  |         PageInfo<UdiRelevanceResponse> pageInfo; | 
			
		
	
		
		
			
				
					
					|  |  |  |         pageInfo = new PageInfo<>(udiRelevanceResponses); |  |  |  |         pageInfo = new PageInfo<>(udiRelevanceResponses); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |