| 
															
																@@ -111,14 +111,14 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getAgencyList')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getAgencyList')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult getAgencyList(@NotEmpty(message = "采购需求ID不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult getAgencyList(@NotEmpty(message = "采购需求ID不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                               @RequestParam(value = "demandId", required = true) Long demandId) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                    @RequestParam(value = "demandId", required = true) Long demandId) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
															
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmDemand)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmDemand)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<BaseAgency> lw = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<BaseAgency> lw = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lw.eq(BaseAgency::getCompanyType,pmDemand.getProjectType()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lw.eq(BaseAgency::getStatus,NameListType.WHITE.getCode());//白名单 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lw.eq(BaseAgency::getCompanyType, pmDemand.getProjectType()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lw.eq(BaseAgency::getStatus, NameListType.WHITE.getCode());//白名单 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<BaseAgency> agencyList = baseAgencyService.list(lw); 
															 | 
															
															 | 
															
																         List<BaseAgency> agencyList = baseAgencyService.list(lw); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         return success(agencyList); 
															 | 
															
															 | 
															
																         return success(agencyList); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -126,7 +126,7 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     /** 
															 | 
															
															 | 
															
																     /** 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * 选取代理-选择填写招标代理机构信息 
															 | 
															
															 | 
															
																      * 选取代理-选择填写招标代理机构信息 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      */ 
															 | 
															
															 | 
															
																      */ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "选取代理-选择填写招标代理机构信息",notes = "采购需求ID和代理机构ID必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "选取代理-选择填写招标代理机构信息", notes = "采购需求ID和代理机构ID必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @GetMapping("/selectAgency") 
															 | 
															
															 | 
															
																     @GetMapping("/selectAgency") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:selectAgency')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:selectAgency')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -137,11 +137,11 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                    @RequestParam(value = "purchaseTaskDocumentNumber", required = false) String purchaseTaskDocumentNumber) { 
															 | 
															
															 | 
															
																                                    @RequestParam(value = "purchaseTaskDocumentNumber", required = false) String purchaseTaskDocumentNumber) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
															
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmDemand)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmDemand)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         BaseAgency baseAgency = baseAgencyService.getById(agencyId); 
															 | 
															
															 | 
															
																         BaseAgency baseAgency = baseAgencyService.getById(agencyId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(baseAgency)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(baseAgency)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmDemand pmDemandUpdate = new PmDemand(); 
															 | 
															
															 | 
															
																         PmDemand pmDemandUpdate = new PmDemand(); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -158,27 +158,27 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     /** 
															 | 
															
															 | 
															
																     /** 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * 选取代理-抽取招标代理机构信息 
															 | 
															
															 | 
															
																      * 选取代理-抽取招标代理机构信息 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      */ 
															 | 
															
															 | 
															
																      */ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "选取代理-抽取招标代理机构信息",notes = "采购需求ID必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "选取代理-抽取招标代理机构信息", notes = "采购需求ID必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @GetMapping("/extractAgency") 
															 | 
															
															 | 
															
																     @GetMapping("/extractAgency") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:extractAgency')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:extractAgency')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult extractAgency(@NotEmpty(message = "采购需求id不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult extractAgency(@NotEmpty(message = "采购需求id不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                     @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                    @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                     @RequestParam(value = "purchaseTaskDocumentNumber", required = false) String purchaseTaskDocumentNumber) { 
															 | 
															
															 | 
															
																                                     @RequestParam(value = "purchaseTaskDocumentNumber", required = false) String purchaseTaskDocumentNumber) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
															
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmDemand)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmDemand)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<BaseAgency> lw = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<BaseAgency> lw = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lw.eq(BaseAgency::getCompanyType,pmDemand.getProjectType()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lw.eq(BaseAgency::getStatus,NameListType.WHITE.getCode()); //白名单 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lw.eq(BaseAgency::getCompanyType, pmDemand.getProjectType()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lw.eq(BaseAgency::getStatus, NameListType.WHITE.getCode()); //白名单 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<BaseAgency> baseAgencyList = baseAgencyService.list(lw); 
															 | 
															
															 | 
															
																         List<BaseAgency> baseAgencyList = baseAgencyService.list(lw); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if (ObjectUtils.isEmpty(baseAgencyList)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(baseAgencyList)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("没有符合的招标代理机构,抽取失败!"); 
															 | 
															
															 | 
															
																             return error("没有符合的招标代理机构,抽取失败!"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        BaseAgency any = (BaseAgency)(RandomUtil.getRandomList(baseAgencyList,1).get(0)); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        BaseAgency any = (BaseAgency) (RandomUtil.getRandomList(baseAgencyList, 1).get(0)); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmDemand pmDemandUpdate = new PmDemand(); 
															 | 
															
															 | 
															
																         PmDemand pmDemandUpdate = new PmDemand(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         pmDemandUpdate.setDemandId(demandId); 
															 | 
															
															 | 
															
																         pmDemandUpdate.setDemandId(demandId); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -191,29 +191,29 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         return success(pmDemandService.updateById(pmDemandUpdate)); 
															 | 
															
															 | 
															
																         return success(pmDemandService.updateById(pmDemandUpdate)); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "1-2专家意见反馈",notes = "采购需求ID和上传附件必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "1-2专家意见反馈", notes = "采购需求ID和上传附件必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/expertFeedback") 
															 | 
															
															 | 
															
																     @PostMapping("/expertFeedback") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:expertFeedback')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:expertFeedback')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.IMPORT) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.IMPORT) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult expertFeedback(@NotEmpty(message = "数据为空") @RequestBody PmExpertFeedbackReqVo pmExpertFeedbackReqVo) { 
															 | 
															
															 | 
															
																     public AjaxResult expertFeedback(@NotEmpty(message = "数据为空") @RequestBody PmExpertFeedbackReqVo pmExpertFeedbackReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         Long demandId = pmExpertFeedbackReqVo.getDemandId(); 
															 | 
															
															 | 
															
																         Long demandId = pmExpertFeedbackReqVo.getDemandId(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(demandId)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(demandId)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
															
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmDemand)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmDemand)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<SysFileRef> sysFileRefs = pmExpertFeedbackReqVo.getSysFileRefs(); 
															 | 
															
															 | 
															
																         List<SysFileRef> sysFileRefs = pmExpertFeedbackReqVo.getSysFileRefs(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(sysFileRefs)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(sysFileRefs)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("上传附件不能为空"); 
															 | 
															
															 | 
															
																             return error("上传附件不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmExpertFeedback pmExpertFeedback = new PmExpertFeedback(); 
															 | 
															
															 | 
															
																         PmExpertFeedback pmExpertFeedback = new PmExpertFeedback(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        BeanUtils.copyProperties(pmExpertFeedbackReqVo,pmExpertFeedback); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(pmExpertFeedbackService.save(pmExpertFeedback)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            pmDemandService.uploadFile(pmExpertFeedback.getId(), SysFileRefEnum.PM_EXPERT_FEEDBACK.getType(),sysFileRefs,getUserId().toString()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        BeanUtils.copyProperties(pmExpertFeedbackReqVo, pmExpertFeedback); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (pmExpertFeedbackService.save(pmExpertFeedback)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            pmDemandService.uploadFile(pmExpertFeedback.getId(), SysFileRefEnum.PM_EXPERT_FEEDBACK.getType(), sysFileRefs, getUserId().toString()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             PmDemand pmDemandUpdate = new PmDemand(); 
															 | 
															
															 | 
															
																             PmDemand pmDemandUpdate = new PmDemand(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmDemandUpdate.setDemandId(demandId); 
															 | 
															
															 | 
															
																             pmDemandUpdate.setDemandId(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmDemandUpdate.setProjectStatus(PmProjectStatus.PROCUREMENT_DOCUMENTS_REVIEW.getCode()); 
															 | 
															
															 | 
															
																             pmDemandUpdate.setProjectStatus(PmProjectStatus.PROCUREMENT_DOCUMENTS_REVIEW.getCode()); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -226,29 +226,29 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "1-3采购文件编制审核",notes = "采购需求ID和上传附件必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "1-3采购文件编制审核", notes = "采购需求ID和上传附件必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/uploadBidFile") 
															 | 
															
															 | 
															
																     @PostMapping("/uploadBidFile") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:uploadBidFile')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:uploadBidFile')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.IMPORT) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.IMPORT) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult uploadBidFile(@NotEmpty(message = "数据为空") @RequestBody PmProcurementDocumentsReviewReqVo pmProcurementDocumentsReviewReqVo) { 
															 | 
															
															 | 
															
																     public AjaxResult uploadBidFile(@NotEmpty(message = "数据为空") @RequestBody PmProcurementDocumentsReviewReqVo pmProcurementDocumentsReviewReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         Long demandId = pmProcurementDocumentsReviewReqVo.getDemandId(); 
															 | 
															
															 | 
															
																         Long demandId = pmProcurementDocumentsReviewReqVo.getDemandId(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(demandId)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(demandId)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
															
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmDemand)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmDemand)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<SysFileRef> sysFileRefs = pmProcurementDocumentsReviewReqVo.getSysFileRefs(); 
															 | 
															
															 | 
															
																         List<SysFileRef> sysFileRefs = pmProcurementDocumentsReviewReqVo.getSysFileRefs(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(sysFileRefs)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(sysFileRefs)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("上传附件不能为空"); 
															 | 
															
															 | 
															
																             return error("上传附件不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmProcurementDocumentsReview pmProcurementDocumentsReview = new PmProcurementDocumentsReview(); 
															 | 
															
															 | 
															
																         PmProcurementDocumentsReview pmProcurementDocumentsReview = new PmProcurementDocumentsReview(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        BeanUtils.copyProperties(pmProcurementDocumentsReviewReqVo,pmProcurementDocumentsReview); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(this.pmProcurementDocumentsReviewService.save(pmProcurementDocumentsReview)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            pmDemandService.uploadFile(pmProcurementDocumentsReview.getId(), SysFileRefEnum.PM_BID_FILE.getType(),sysFileRefs,getUserId().toString()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        BeanUtils.copyProperties(pmProcurementDocumentsReviewReqVo, pmProcurementDocumentsReview); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (this.pmProcurementDocumentsReviewService.save(pmProcurementDocumentsReview)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            pmDemandService.uploadFile(pmProcurementDocumentsReview.getId(), SysFileRefEnum.PM_BID_FILE.getType(), sysFileRefs, getUserId().toString()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             PmDemand pmDemandUpdate = new PmDemand(); 
															 | 
															
															 | 
															
																             PmDemand pmDemandUpdate = new PmDemand(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmDemandUpdate.setDemandId(demandId); 
															 | 
															
															 | 
															
																             pmDemandUpdate.setDemandId(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmDemandUpdate.setProjectStatus(PmProjectStatus.PROCUREMENT_ANNOUNCEMENT.getCode()); 
															 | 
															
															 | 
															
																             pmDemandUpdate.setProjectStatus(PmProjectStatus.PROCUREMENT_ANNOUNCEMENT.getCode()); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -266,10 +266,10 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:insertPmReleaseAnnouncement')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:insertPmReleaseAnnouncement')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.INSERT) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.INSERT) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult insertPmReleaseAnnouncement(@NotEmpty(message = "数据为空") 
															 | 
															
															 | 
															
																     public AjaxResult insertPmReleaseAnnouncement(@NotEmpty(message = "数据为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                       @RequestBody PmReleaseAnnouncementReqVo pmReleaseAnnouncementReqVo) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                                  @RequestBody PmReleaseAnnouncementReqVo pmReleaseAnnouncementReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         try { 
															 | 
															
															 | 
															
																         try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             Long demandId = pmReleaseAnnouncementReqVo.getDemandId(); 
															 | 
															
															 | 
															
																             Long demandId = pmReleaseAnnouncementReqVo.getDemandId(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(ObjectUtils.isEmpty(demandId)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (ObjectUtils.isEmpty(demandId)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 return error("参数错误"); 
															 | 
															
															 | 
															
																                 return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmReleaseAnnouncementReqVo.setCreateBy(getUserId().toString()); 
															 | 
															
															 | 
															
																             pmReleaseAnnouncementReqVo.setCreateBy(getUserId().toString()); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -277,49 +277,49 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmReleaseAnnouncementReqVo.setUpdateBy(pmReleaseAnnouncementReqVo.getCreateBy()); 
															 | 
															
															 | 
															
																             pmReleaseAnnouncementReqVo.setUpdateBy(pmReleaseAnnouncementReqVo.getCreateBy()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmReleaseAnnouncementReqVo.setUpdateTime(pmReleaseAnnouncementReqVo.getCreateTime()); 
															 | 
															
															 | 
															
																             pmReleaseAnnouncementReqVo.setUpdateTime(pmReleaseAnnouncementReqVo.getCreateTime()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return toAjax(pmDemandService.insertPmReleaseAnnouncement(pmReleaseAnnouncementReqVo)); 
															 | 
															
															 | 
															
																             return toAjax(pmDemandService.insertPmReleaseAnnouncement(pmReleaseAnnouncementReqVo)); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        }  catch (Exception e) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        } catch (Exception e) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error(e.getMessage()); 
															 | 
															
															 | 
															
																             return error(e.getMessage()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "1-5标前质疑投诉",notes = "采购需求ID必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "1-5标前质疑投诉", notes = "采购需求ID必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/handlePreCallQuestion") 
															 | 
															
															 | 
															
																     @PostMapping("/handlePreCallQuestion") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:handlePreCallQuestion')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:handlePreCallQuestion')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult handlePreCallQuestion(@NotEmpty(message = "数据为空") 
															 | 
															
															 | 
															
																     public AjaxResult handlePreCallQuestion(@NotEmpty(message = "数据为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                         @RequestBody PmCallQuestionReqVo pmCallQuestionReqVo) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                            @RequestBody PmCallQuestionReqVo pmCallQuestionReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         try { 
															 | 
															
															 | 
															
																         try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             Long demandId = pmCallQuestionReqVo.getDemandId(); 
															 | 
															
															 | 
															
																             Long demandId = pmCallQuestionReqVo.getDemandId(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(ObjectUtils.isEmpty(demandId)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (ObjectUtils.isEmpty(demandId)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 return error("参数错误"); 
															 | 
															
															 | 
															
																                 return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
															
															 | 
															
																             PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(ObjectUtils.isEmpty(pmDemand)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (ObjectUtils.isEmpty(pmDemand)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 return error("参数错误"); 
															 | 
															
															 | 
															
																                 return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if("1".equals(pmCallQuestionReqVo.getCallQuestion())) { //有质疑 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if ("1".equals(pmCallQuestionReqVo.getCallQuestion())) { //有质疑 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 if (ObjectUtils.isEmpty(pmCallQuestionReqVo.getCallQuestionTime())) { 
															 | 
															
															 | 
															
																                 if (ObjectUtils.isEmpty(pmCallQuestionReqVo.getCallQuestionTime())) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     return error("质疑时间不能为空"); 
															 | 
															
															 | 
															
																                     return error("质疑时间不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 } 
															 | 
															
															 | 
															
																                 } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             PmCallQuestion pmCallQuestion = new PmCallQuestion(); 
															 | 
															
															 | 
															
																             PmCallQuestion pmCallQuestion = new PmCallQuestion(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            BeanUtils.copyProperties(pmCallQuestionReqVo,pmCallQuestion); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            BeanUtils.copyProperties(pmCallQuestionReqVo, pmCallQuestion); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmCallQuestion.setType("0"); 
															 | 
															
															 | 
															
																             pmCallQuestion.setType("0"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           if(pmCallQuestionService.save(pmCallQuestion)) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-               if("1".equals(pmCallQuestion.getCallQuestion())) { //有质疑 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                   List<SysFileRef> sysFileRefs = pmCallQuestionReqVo.getSysFileRefs(); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                   pmDemandService.uploadFile(pmCallQuestion.getId(), SysFileRefEnum.PM_PRE_BID_CALL_QUESTION.getType(),sysFileRefs,getUserId().toString()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-               } 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           } 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (pmCallQuestionService.save(pmCallQuestion)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                if ("1".equals(pmCallQuestion.getCallQuestion())) { //有质疑 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                    List<SysFileRef> sysFileRefs = pmCallQuestionReqVo.getSysFileRefs(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                    pmDemandService.uploadFile(pmCallQuestion.getId(), SysFileRefEnum.PM_PRE_BID_CALL_QUESTION.getType(), sysFileRefs, getUserId().toString()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmDemand.setProjectStatus(PmProjectStatus.WAIT_OPEN_BID.getCode()); 
															 | 
															
															 | 
															
																             pmDemand.setProjectStatus(PmProjectStatus.WAIT_OPEN_BID.getCode()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmDemand.setUpdateBy(getUserId().toString()); 
															 | 
															
															 | 
															
																             pmDemand.setUpdateBy(getUserId().toString()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmDemand.setUpdateTime(new Date()); 
															 | 
															
															 | 
															
																             pmDemand.setUpdateTime(new Date()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return toAjax(pmDemandService.updateById(pmDemand)); 
															 | 
															
															 | 
															
																             return toAjax(pmDemandService.updateById(pmDemand)); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        }  catch (Exception e) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        } catch (Exception e) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error(e.getMessage()); 
															 | 
															
															 | 
															
																             return error(e.getMessage()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -330,19 +330,19 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getExpertIdNumberList')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getExpertIdNumberList')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult getExpertIdNumberList(@NotEmpty(message = "采购需求id不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult getExpertIdNumberList(@NotEmpty(message = "采购需求id不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                                @RequestParam(value = "demandId", required = true) Long demandId) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                            @RequestParam(value = "demandId", required = true) Long demandId) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
															
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmDemand)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmDemand)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<BaseExpert> lw = new LambdaQueryWrapper<BaseExpert>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<BaseExpert> lw = new LambdaQueryWrapper<BaseExpert>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lw.eq(BaseExpert::getVarietyPurchase,pmDemand.getProjectType()) 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                .eq(BaseExpert::getStatus,NameListType.WHITE.getCode()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lw.eq(BaseExpert::getVarietyPurchase, pmDemand.getProjectType()) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                .eq(BaseExpert::getStatus, NameListType.WHITE.getCode()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<BaseExpert> baseExpertList = baseExpertService.list(lw); 
															 | 
															
															 | 
															
																         List<BaseExpert> baseExpertList = baseExpertService.list(lw); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<String> idNumberList = new ArrayList<>(); 
															 | 
															
															 | 
															
																         List<String> idNumberList = new ArrayList<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         if (!ObjectUtils.isEmpty(baseExpertList)) { 
															 | 
															
															 | 
															
																         if (!ObjectUtils.isEmpty(baseExpertList)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            for(BaseExpert baseExpert :baseExpertList ){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            for (BaseExpert baseExpert : baseExpertList) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 idNumberList.add(baseExpert.getIdNumber()); 
															 | 
															
															 | 
															
																                 idNumberList.add(baseExpert.getIdNumber()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -354,21 +354,21 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:findExpertWithIdNumber')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:findExpertWithIdNumber')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult findExpertWithIdNumber(@NotEmpty(message = "采购需求id不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult findExpertWithIdNumber(@NotEmpty(message = "采购需求id不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                                 @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                             @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                              @NotEmpty(message = "身份证号不能为空") 
															 | 
															
															 | 
															
																                                              @NotEmpty(message = "身份证号不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                       @RequestParam(value = "idNumber", required = true) String idNumber) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                             @RequestParam(value = "idNumber", required = true) String idNumber) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
															
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmDemand)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmDemand)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<BaseExpert> lw = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<BaseExpert> lw = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lw.eq(BaseExpert::getIdNumber,idNumber); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lw.eq(BaseExpert::getIdNumber, idNumber); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         BaseExpert baseExpert = baseExpertService.getOne(lw); 
															 | 
															
															 | 
															
																         BaseExpert baseExpert = baseExpertService.getOne(lw); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(baseExpert != null){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(NameListType.BLACK.getCode().equals(baseExpert.getStatus())){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (baseExpert != null) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (NameListType.BLACK.getCode().equals(baseExpert.getStatus())) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 return error("该专家属于黑名单"); 
															 | 
															
															 | 
															
																                 return error("该专家属于黑名单"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(!ObjectUtils.isEmpty(pmDemand.getProjectType()) && !pmDemand.getProjectType().equals(baseExpert.getVarietyPurchase())){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (!ObjectUtils.isEmpty(pmDemand.getProjectType()) && !pmDemand.getProjectType().equals(baseExpert.getVarietyPurchase())) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 return error("该专家所属采购品种和项目类型不匹配"); 
															 | 
															
															 | 
															
																                 return error("该专家所属采购品种和项目类型不匹配"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -414,11 +414,11 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult getExpertUnitList() { 
															 | 
															
															 | 
															
																     public AjaxResult getExpertUnitList() { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<BaseUnitInformation> baseUnitInformationList = baseExpertService.getBaseUnitInformationList(); 
															 | 
															
															 | 
															
																         List<BaseUnitInformation> baseUnitInformationList = baseExpertService.getBaseUnitInformationList(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(baseUnitInformationList)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(baseUnitInformationList)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("专家单位列表是空的"); 
															 | 
															
															 | 
															
																             return error("专家单位列表是空的"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         Set<String> set = new HashSet<>(); 
															 | 
															
															 | 
															
																         Set<String> set = new HashSet<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        for(BaseUnitInformation baseUnitInformation : baseUnitInformationList) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        for (BaseUnitInformation baseUnitInformation : baseUnitInformationList) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             set.add(baseUnitInformation.getUnitName()); 
															 | 
															
															 | 
															
																             set.add(baseUnitInformation.getUnitName()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         return success(set); 
															 | 
															
															 | 
															
																         return success(set); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -427,12 +427,12 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     /** 
															 | 
															
															 | 
															
																     /** 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * 抽取专家 
															 | 
															
															 | 
															
																      * 抽取专家 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      */ 
															 | 
															
															 | 
															
																      */ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "抽取专家",notes = "采购需求ID必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "抽取专家", notes = "采购需求ID必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/extractExpertBatch") 
															 | 
															
															 | 
															
																     @PostMapping("/extractExpertBatch") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:extractExpertBatch')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:extractExpertBatch')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult extractExpertBatch(@NotEmpty(message = "参数不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult extractExpertBatch(@NotEmpty(message = "参数不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                             @RequestBody PmBaseExpertExtractReqVo pmBaseExpertExtractReqVo) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                         @RequestBody PmBaseExpertExtractReqVo pmBaseExpertExtractReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         try { 
															 | 
															
															 | 
															
																         try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             if (ObjectUtils.isEmpty(pmBaseExpertExtractReqVo) 
															 | 
															
															 | 
															
																             if (ObjectUtils.isEmpty(pmBaseExpertExtractReqVo) 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -446,12 +446,12 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "填写开标信息",notes = "采购需求ID必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "填写开标信息", notes = "采购需求ID必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/insertBidOpeningBatch") 
															 | 
															
															 | 
															
																     @PostMapping("/insertBidOpeningBatch") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:insertBidOpeningBatch')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:insertBidOpeningBatch')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.INSERT) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.INSERT) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult insertBidOpeningBatch(@NotEmpty(message = "数据为空") 
															 | 
															
															 | 
															
																     public AjaxResult insertBidOpeningBatch(@NotEmpty(message = "数据为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                                  @RequestBody PmBidOpeningFillReqVo pmBidOpeningFillReqVo) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                            @RequestBody PmBidOpeningFillReqVo pmBidOpeningFillReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         try { 
															 | 
															
															 | 
															
																         try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             if (ObjectUtils.isEmpty(pmBidOpeningFillReqVo) 
															 | 
															
															 | 
															
																             if (ObjectUtils.isEmpty(pmBidOpeningFillReqVo) 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -475,37 +475,37 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getPullDownBidOpeningList')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getPullDownBidOpeningList')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult getPullDownBidOpeningList(@NotEmpty(message = "需求ID不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult getPullDownBidOpeningList(@NotEmpty(message = "需求ID不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                        @RequestParam(value = "demandId", required = true) Long demandId) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                                @RequestParam(value = "demandId", required = true) Long demandId) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<PmBidOpening> pmBidOpeningLambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<PmBidOpening> pmBidOpeningLambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        pmBidOpeningLambdaQueryWrapper.eq(PmBidOpening::getDemandId,demandId) 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        pmBidOpeningLambdaQueryWrapper.eq(PmBidOpening::getDemandId, demandId) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 .orderByDesc(PmBidOpening::getScore) 
															 | 
															
															 | 
															
																                 .orderByDesc(PmBidOpening::getScore) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         ; 
															 | 
															
															 | 
															
																         ; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<PmBidOpening> pmBidOpeningList = pmBidOpeningService.list(pmBidOpeningLambdaQueryWrapper); 
															 | 
															
															 | 
															
																         List<PmBidOpening> pmBidOpeningList = pmBidOpeningService.list(pmBidOpeningLambdaQueryWrapper); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         return success(pmBidOpeningList); 
															 | 
															
															 | 
															
																         return success(pmBidOpeningList); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "中标基本情况填制-中标情况填制提交(评标结果公告)",notes = "采购需求ID必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "中标基本情况填制-中标情况填制提交(评标结果公告)", notes = "采购需求ID必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/insertPmBidWinning") 
															 | 
															
															 | 
															
																     @PostMapping("/insertPmBidWinning") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:insertPmBidWinning')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:insertPmBidWinning')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.INSERT) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.INSERT) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult insertPmBidWinning(@NotEmpty(message = "数据为空") 
															 | 
															
															 | 
															
																     public AjaxResult insertPmBidWinning(@NotEmpty(message = "数据为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                                  @RequestBody PmBidWinningReqVo pmBidWinningReqVo) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-      try { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-          Long demandId = pmBidWinningReqVo.getDemandId(); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-          if(ObjectUtils.isEmpty(demandId)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              return error("采购需求ID不能为空"); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-          } 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-          pmBidWinningReqVo.setCreateBy(getUserId().toString()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-          pmBidWinningReqVo.setCreateTime(new Date()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-          pmBidWinningReqVo.setUpdateBy(pmBidWinningReqVo.getCreateBy()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-          pmBidWinningReqVo.setUpdateTime(pmBidWinningReqVo.getCreateTime()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-          return toAjax(pmDemandService.insertPmBidWinning(pmBidWinningReqVo)); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-      }  catch (Exception e) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-          return error(e.getMessage()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-      } 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    } 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																- 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "中标基本情况填制-更换中标人提交",notes = "采购需求ID必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                         @RequestBody PmBidWinningReqVo pmBidWinningReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            Long demandId = pmBidWinningReqVo.getDemandId(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (ObjectUtils.isEmpty(demandId)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                return error("采购需求ID不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            pmBidWinningReqVo.setCreateBy(getUserId().toString()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            pmBidWinningReqVo.setCreateTime(new Date()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            pmBidWinningReqVo.setUpdateBy(pmBidWinningReqVo.getCreateBy()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            pmBidWinningReqVo.setUpdateTime(pmBidWinningReqVo.getCreateTime()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            return toAjax(pmDemandService.insertPmBidWinning(pmBidWinningReqVo)); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        } catch (Exception e) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            return error(e.getMessage()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "中标基本情况填制-更换中标人提交", notes = "采购需求ID必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/updatePmBidWinning") 
															 | 
															
															 | 
															
																     @PostMapping("/updatePmBidWinning") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:updatePmBidWinning')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:updatePmBidWinning')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -513,18 +513,18 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                          @RequestBody PmBidWinningReqVo pmBidWinningReqVo) { 
															 | 
															
															 | 
															
																                                          @RequestBody PmBidWinningReqVo pmBidWinningReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         try { 
															 | 
															
															 | 
															
																         try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             Long demandId = pmBidWinningReqVo.getDemandId(); 
															 | 
															
															 | 
															
																             Long demandId = pmBidWinningReqVo.getDemandId(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(ObjectUtils.isEmpty(demandId)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (ObjectUtils.isEmpty(demandId)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 return error("采购需求ID不能为空"); 
															 | 
															
															 | 
															
																                 return error("采购需求ID不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmBidWinningReqVo.setUpdateBy(getUserId().toString()); 
															 | 
															
															 | 
															
																             pmBidWinningReqVo.setUpdateBy(getUserId().toString()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmBidWinningReqVo.setUpdateTime(new Date()); 
															 | 
															
															 | 
															
																             pmBidWinningReqVo.setUpdateTime(new Date()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return toAjax(pmDemandService.updatePmBidWinning(pmBidWinningReqVo)); 
															 | 
															
															 | 
															
																             return toAjax(pmDemandService.updatePmBidWinning(pmBidWinningReqVo)); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        }  catch (Exception e) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        } catch (Exception e) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error(e.getMessage()); 
															 | 
															
															 | 
															
																             return error(e.getMessage()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "流标情况填制",notes = "采购需求ID必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "流标情况填制", notes = "采购需求ID必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/insertPmBidFailure") 
															 | 
															
															 | 
															
																     @PostMapping("/insertPmBidFailure") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:insertPmBidFailure')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:insertPmBidFailure')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.INSERT) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.INSERT) 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -532,7 +532,7 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                          @RequestBody PmBidFailureReqVo pmBidFailureReqVo) { 
															 | 
															
															 | 
															
																                                          @RequestBody PmBidFailureReqVo pmBidFailureReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         try { 
															 | 
															
															 | 
															
																         try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             Long demandId = pmBidFailureReqVo.getDemandId(); 
															 | 
															
															 | 
															
																             Long demandId = pmBidFailureReqVo.getDemandId(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(ObjectUtils.isEmpty(demandId)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (ObjectUtils.isEmpty(demandId)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 return error("参数错误"); 
															 | 
															
															 | 
															
																                 return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmBidFailureReqVo.setCreateBy(getUserId().toString()); 
															 | 
															
															 | 
															
																             pmBidFailureReqVo.setCreateBy(getUserId().toString()); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -540,33 +540,33 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmBidFailureReqVo.setUpdateBy(pmBidFailureReqVo.getCreateBy()); 
															 | 
															
															 | 
															
																             pmBidFailureReqVo.setUpdateBy(pmBidFailureReqVo.getCreateBy()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmBidFailureReqVo.setUpdateTime(pmBidFailureReqVo.getCreateTime()); 
															 | 
															
															 | 
															
																             pmBidFailureReqVo.setUpdateTime(pmBidFailureReqVo.getCreateTime()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return toAjax(pmDemandService.insertPmBidFailure(pmBidFailureReqVo)); 
															 | 
															
															 | 
															
																             return toAjax(pmDemandService.insertPmBidFailure(pmBidFailureReqVo)); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        }  catch (Exception e) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        } catch (Exception e) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error(e.getMessage()); 
															 | 
															
															 | 
															
																             return error(e.getMessage()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "流废标处置-质疑处理",notes = "采购需求ID必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "流废标处置-质疑处理", notes = "采购需求ID必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/handleBidFailureCallQuestion") 
															 | 
															
															 | 
															
																     @PostMapping("/handleBidFailureCallQuestion") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:handleBidFailureCallQuestion')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:handleBidFailureCallQuestion')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult handleBidFailureCallQuestion(@NotEmpty(message = "数据为空") 
															 | 
															
															 | 
															
																     public AjaxResult handleBidFailureCallQuestion(@NotEmpty(message = "数据为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                         @RequestBody PmCallQuestionReqVo pmCallQuestionReqVo) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                                   @RequestBody PmCallQuestionReqVo pmCallQuestionReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         try { 
															 | 
															
															 | 
															
																         try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             Long demandId = pmCallQuestionReqVo.getDemandId(); 
															 | 
															
															 | 
															
																             Long demandId = pmCallQuestionReqVo.getDemandId(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(ObjectUtils.isEmpty(demandId)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (ObjectUtils.isEmpty(demandId)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 return error("参数错误"); 
															 | 
															
															 | 
															
																                 return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
															
															 | 
															
																             PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(ObjectUtils.isEmpty(pmDemand)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (ObjectUtils.isEmpty(pmDemand)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 return error("参数错误"); 
															 | 
															
															 | 
															
																                 return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if("1".equals(pmCallQuestionReqVo.getCallQuestion())) { //有质疑 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if ("1".equals(pmCallQuestionReqVo.getCallQuestion())) { //有质疑 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 if (ObjectUtils.isEmpty(pmCallQuestionReqVo.getCallQuestionTime())) { 
															 | 
															
															 | 
															
																                 if (ObjectUtils.isEmpty(pmCallQuestionReqVo.getCallQuestionTime())) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     return error("质疑时间不能为空"); 
															 | 
															
															 | 
															
																                     return error("质疑时间不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 } 
															 | 
															
															 | 
															
																                 } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             LambdaQueryWrapper<PmBidFailure> lambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																             LambdaQueryWrapper<PmBidFailure> lambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            lambdaQueryWrapper.eq(PmBidFailure::getDemandId,pmDemand.getDemandId()) 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            lambdaQueryWrapper.eq(PmBidFailure::getDemandId, pmDemand.getDemandId()) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     .orderByDesc(PmBidFailure::getBidFailureTime) 
															 | 
															
															 | 
															
																                     .orderByDesc(PmBidFailure::getBidFailureTime) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     .last(" limit 1"); 
															 | 
															
															 | 
															
																                     .last(" limit 1"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             PmBidFailure bidFailure = this.pmBidFailureService.getOne(lambdaQueryWrapper); 
															 | 
															
															 | 
															
																             PmBidFailure bidFailure = this.pmBidFailureService.getOne(lambdaQueryWrapper); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -578,34 +578,34 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             bidFailureUpdate.setCallQuestion(pmCallQuestionReqVo.getCallQuestion()); 
															 | 
															
															 | 
															
																             bidFailureUpdate.setCallQuestion(pmCallQuestionReqVo.getCallQuestion()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             bidFailureUpdate.setCallQuestionTime(pmCallQuestionReqVo.getCallQuestionTime()); 
															 | 
															
															 | 
															
																             bidFailureUpdate.setCallQuestionTime(pmCallQuestionReqVo.getCallQuestionTime()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if("1".equals(bidFailureUpdate.getCallQuestion())){ //有质疑 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if ("1".equals(bidFailureUpdate.getCallQuestion())) { //有质疑 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 List<SysFileRef> sysFileRefs = pmCallQuestionReqVo.getSysFileRefs(); 
															 | 
															
															 | 
															
																                 List<SysFileRef> sysFileRefs = pmCallQuestionReqVo.getSysFileRefs(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                pmDemandService.uploadFile(bidFailureUpdate.getId(), SysFileRefEnum.PM_BID_FAILURE_CALL_QUESTION.getType(),sysFileRefs,getUserId().toString()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                pmDemandService.uploadFile(bidFailureUpdate.getId(), SysFileRefEnum.PM_BID_FAILURE_CALL_QUESTION.getType(), sysFileRefs, getUserId().toString()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																             bidFailureUpdate.setUpdateBy(getUserId().toString()); 
															 | 
															
															 | 
															
																             bidFailureUpdate.setUpdateBy(getUserId().toString()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             bidFailureUpdate.setUpdateTime(new Date()); 
															 | 
															
															 | 
															
																             bidFailureUpdate.setUpdateTime(new Date()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return toAjax(pmBidFailureService.updateById(bidFailureUpdate)); 
															 | 
															
															 | 
															
																             return toAjax(pmBidFailureService.updateById(bidFailureUpdate)); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        }  catch (Exception e) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        } catch (Exception e) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error(e.getMessage()); 
															 | 
															
															 | 
															
																             return error(e.getMessage()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "流废标退回",notes = "采购需求ID必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "流废标退回", notes = "采购需求ID必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @GetMapping("/returnBidFailure") 
															 | 
															
															 | 
															
																     @GetMapping("/returnBidFailure") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:returnBidFailure')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:returnBidFailure')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult returnBidFailure(@NotEmpty(message = "采购需求id不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult returnBidFailure(@NotEmpty(message = "采购需求id不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                           @RequestParam(value = "demandId", required = true) Long demandId) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                       @RequestParam(value = "demandId", required = true) Long demandId) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         try { 
															 | 
															
															 | 
															
																         try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return toAjax(pmDemandHisService.returnBidFailure(demandId, getUserId().toString())); 
															 | 
															
															 | 
															
																             return toAjax(pmDemandHisService.returnBidFailure(demandId, getUserId().toString())); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        }  catch (Exception e) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        } catch (Exception e) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error(e.getMessage()); 
															 | 
															
															 | 
															
																             return error(e.getMessage()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "标后质疑",notes = "采购需求ID必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "标后质疑", notes = "采购需求ID必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/handleCallQuestion") 
															 | 
															
															 | 
															
																     @PostMapping("/handleCallQuestion") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:handleCallQuestion')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:handleCallQuestion')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE) 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -613,23 +613,23 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                          @RequestBody PmCallQuestionReqVo pmCallQuestionReqVo) { 
															 | 
															
															 | 
															
																                                          @RequestBody PmCallQuestionReqVo pmCallQuestionReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         try { 
															 | 
															
															 | 
															
																         try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             Long demandId = pmCallQuestionReqVo.getDemandId(); 
															 | 
															
															 | 
															
																             Long demandId = pmCallQuestionReqVo.getDemandId(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(ObjectUtils.isEmpty(demandId)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (ObjectUtils.isEmpty(demandId)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 return error("参数错误"); 
															 | 
															
															 | 
															
																                 return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
															
															 | 
															
																             PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(ObjectUtils.isEmpty(pmDemand)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (ObjectUtils.isEmpty(pmDemand)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 return error("参数错误"); 
															 | 
															
															 | 
															
																                 return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if("1".equals(pmCallQuestionReqVo.getCallQuestion())) { //有质疑 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if ("1".equals(pmCallQuestionReqVo.getCallQuestion())) { //有质疑 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 if (ObjectUtils.isEmpty(pmCallQuestionReqVo.getCallQuestionTime())) { 
															 | 
															
															 | 
															
																                 if (ObjectUtils.isEmpty(pmCallQuestionReqVo.getCallQuestionTime())) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     return error("质疑时间不能为空"); 
															 | 
															
															 | 
															
																                     return error("质疑时间不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 } 
															 | 
															
															 | 
															
																                 } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             PmCallQuestion pmCallQuestion = new PmCallQuestion(); 
															 | 
															
															 | 
															
																             PmCallQuestion pmCallQuestion = new PmCallQuestion(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            BeanUtils.copyProperties(pmCallQuestionReqVo,pmCallQuestion); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            BeanUtils.copyProperties(pmCallQuestionReqVo, pmCallQuestion); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmCallQuestion.setType("1"); 
															 | 
															
															 | 
															
																             pmCallQuestion.setType("1"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if(pmCallQuestionService.save(pmCallQuestion)) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                if("1".equals(pmCallQuestion.getCallQuestion())) { //有质疑 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (pmCallQuestionService.save(pmCallQuestion)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                if ("1".equals(pmCallQuestion.getCallQuestion())) { //有质疑 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     List<SysFileRef> sysFileRefs = pmCallQuestionReqVo.getSysFileRefs(); 
															 | 
															
															 | 
															
																                     List<SysFileRef> sysFileRefs = pmCallQuestionReqVo.getSysFileRefs(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     pmDemandService.uploadFile(pmCallQuestion.getId(), SysFileRefEnum.PM_BID_CALL_QEUSTION_FILE.getType(), sysFileRefs, getUserId().toString()); 
															 | 
															
															 | 
															
																                     pmDemandService.uploadFile(pmCallQuestion.getId(), SysFileRefEnum.PM_BID_CALL_QEUSTION_FILE.getType(), sysFileRefs, getUserId().toString()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 } 
															 | 
															
															 | 
															
																                 } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -639,31 +639,31 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmDemand.setUpdateTime(new Date()); 
															 | 
															
															 | 
															
																             pmDemand.setUpdateTime(new Date()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return toAjax(pmDemandService.updateById(pmDemand)); 
															 | 
															
															 | 
															
																             return toAjax(pmDemandService.updateById(pmDemand)); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        }  catch (Exception e) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        } catch (Exception e) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error(e.getMessage()); 
															 | 
															
															 | 
															
																             return error(e.getMessage()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    @ApiOperation(value = "上传中标通知书",notes = "采购需求ID和上传附件必传") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    @ApiOperation(value = "上传中标通知书", notes = "采购需求ID和上传附件必传") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PostMapping("/uploadBidWinningNotification") 
															 | 
															
															 | 
															
																     @PostMapping("/uploadBidWinningNotification") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:uploadBidWinningNotification')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:uploadBidWinningNotification')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.IMPORT) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.IMPORT) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult uploadBidWinningNotification(@NotEmpty(message = "数据为空") @RequestBody PmPurchaseExecutionReqVo pmPurchaseExecutionReqVo) { 
															 | 
															
															 | 
															
																     public AjaxResult uploadBidWinningNotification(@NotEmpty(message = "数据为空") @RequestBody PmPurchaseExecutionReqVo pmPurchaseExecutionReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         Long demandId = pmPurchaseExecutionReqVo.getDemandId(); 
															 | 
															
															 | 
															
																         Long demandId = pmPurchaseExecutionReqVo.getDemandId(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(demandId)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(demandId)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
															
															 | 
															
																         PmDemand pmDemand = pmDemandService.getById(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmDemand)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmDemand)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("参数错误"); 
															 | 
															
															 | 
															
																             return error("参数错误"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<SysFileRef> sysFileRefs = pmPurchaseExecutionReqVo.getSysFileRefs(); 
															 | 
															
															 | 
															
																         List<SysFileRef> sysFileRefs = pmPurchaseExecutionReqVo.getSysFileRefs(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(sysFileRefs)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(sysFileRefs)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return error("上传附件不能为空"); 
															 | 
															
															 | 
															
																             return error("上传附件不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if (pmDemandService.uploadFile(demandId, SysFileRefEnum.PM_BID_WINNING_NOTIFICATION.getType(),sysFileRefs,getUserId().toString())) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (pmDemandService.uploadFile(demandId, SysFileRefEnum.PM_BID_WINNING_NOTIFICATION.getType(), sysFileRefs, getUserId().toString())) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             PmDemand pmDemandUpdate = new PmDemand(); 
															 | 
															
															 | 
															
																             PmDemand pmDemandUpdate = new PmDemand(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmDemandUpdate.setDemandId(demandId); 
															 | 
															
															 | 
															
																             pmDemandUpdate.setDemandId(demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             pmDemandUpdate.setProjectStatus(PmProjectStatus.CONTRACT_WAIT_FILL.getCode()); 
															 | 
															
															 | 
															
																             pmDemandUpdate.setProjectStatus(PmProjectStatus.CONTRACT_WAIT_FILL.getCode()); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -677,10 +677,10 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             log.info("******** setting3 == " + setting3); 
															 | 
															
															 | 
															
																             log.info("******** setting3 == " + setting3); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             //计划交付时间:根据数据阈值中设置的交付时间进行判断,进行预警 
															 | 
															
															 | 
															
																             //计划交付时间:根据数据阈值中设置的交付时间进行判断,进行预警 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             int diff3 = DateUtils.differentDaysByMillisecond(pmDemand.getPlanDeliverTime(), DateUtils.parseDate(DateUtils.getDate())); 
															 | 
															
															 | 
															
																             int diff3 = DateUtils.differentDaysByMillisecond(pmDemand.getPlanDeliverTime(), DateUtils.parseDate(DateUtils.getDate())); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if (ObjectUtils.isEmpty(pmDemand.getRealDeliverTime()) && diff3 >= setting3) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (ObjectUtils.isEmpty(pmDemand.getRealDeliverTime()) && diff3 > 0 && diff3 >= setting3) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 log.info("******** 计划交付预警: " + pmDemand.getProjectName()); 
															 | 
															
															 | 
															
																                 log.info("******** 计划交付预警: " + pmDemand.getProjectName()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 pmDemandUpdate.setWarnStatus(WarnStatus.PLAN_DELIVER_WARNING.getCode()); 
															 | 
															
															 | 
															
																                 pmDemandUpdate.setWarnStatus(WarnStatus.PLAN_DELIVER_WARNING.getCode()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            } else{ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            } else { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 pmDemandUpdate.setWarnStatus(WarnStatus.NORMAL.getCode()); 
															 | 
															
															 | 
															
																                 pmDemandUpdate.setWarnStatus(WarnStatus.NORMAL.getCode()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -698,14 +698,15 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:view')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:view')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult view(@RequestBody PmDemandReqVo pmDemandReqVo) { 
															 | 
															
															 | 
															
																     public AjaxResult view(@RequestBody PmDemandReqVo pmDemandReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(pmDemandReqVo.getDemandId() == null){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (pmDemandReqVo.getDemandId() == null) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return AjaxResult.error("demandId不能为空"); 
															 | 
															
															 | 
															
																             return AjaxResult.error("demandId不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(StringUtils.isEmpty(pmDemandReqVo.getDetailType())){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (StringUtils.isEmpty(pmDemandReqVo.getDetailType())) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return AjaxResult.error("详情的类型不能为空"); 
															 | 
															
															 | 
															
																             return AjaxResult.error("详情的类型不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        return success(pmDemandService.selectPmDemandByDemandId(pmDemandReqVo.getDemandId(),pmDemandReqVo.getDetailType())); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        return success(pmDemandService.selectPmDemandByDemandId(pmDemandReqVo.getDemandId(), pmDemandReqVo.getDetailType())); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     /** 
															 | 
															
															 | 
															
																     /** 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * 获取回退下拉列表 
															 | 
															
															 | 
															
																      * 获取回退下拉列表 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      */ 
															 | 
															
															 | 
															
																      */ 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -715,23 +716,24 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult getReturnList(@NotEmpty(message = "需求ID不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult getReturnList(@NotEmpty(message = "需求ID不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                     @RequestParam(value = "demandId", required = true) Long demandId) { 
															 | 
															
															 | 
															
																                                     @RequestParam(value = "demandId", required = true) Long demandId) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        List< Map<String,Integer>> list = new ArrayList<>(); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        List<Map<String, Integer>> list = new ArrayList<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<PmDemandHis> lambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<PmDemandHis> lambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lambdaQueryWrapper.eq(PmDemandHis::getDemandId,demandId).orderByAsc(PmDemandHis::getReturnOrderNumber); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lambdaQueryWrapper.eq(PmDemandHis::getDemandId, demandId).orderByAsc(PmDemandHis::getReturnOrderNumber); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<PmDemandHis> pmDemandHisList = this.pmDemandHisService.list(lambdaQueryWrapper); 
															 | 
															
															 | 
															
																         List<PmDemandHis> pmDemandHisList = this.pmDemandHisService.list(lambdaQueryWrapper); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(!ObjectUtils.isEmpty(pmDemandHisList)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            Map<String,Integer> map = new HashMap<>(); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            map.put("当前信息",0); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (!ObjectUtils.isEmpty(pmDemandHisList)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            Map<String, Integer> map = new HashMap<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            map.put("当前信息", 0); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             list.add(map); 
															 | 
															
															 | 
															
																             list.add(map); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             for (PmDemandHis pmDemandHis : pmDemandHisList) { 
															 | 
															
															 | 
															
																             for (PmDemandHis pmDemandHis : pmDemandHisList) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                Map<String,Integer> map2 = new HashMap<>(); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                map2.put("第" + pmDemandHis.getReturnOrderNumber() + "回退",pmDemandHis.getReturnOrderNumber()); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                Map<String, Integer> map2 = new HashMap<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                map2.put("第" + pmDemandHis.getReturnOrderNumber() + "回退", pmDemandHis.getReturnOrderNumber()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 list.add(map2); 
															 | 
															
															 | 
															
																                 list.add(map2); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         return success(list); 
															 | 
															
															 | 
															
																         return success(list); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     /** 
															 | 
															
															 | 
															
																     /** 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * 查看历史详情 
															 | 
															
															 | 
															
																      * 查看历史详情 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      */ 
															 | 
															
															 | 
															
																      */ 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -740,19 +742,19 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:viewHis')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:viewHis')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult viewHis(@RequestBody PmDemandReqVo pmDemandReqVo) { 
															 | 
															
															 | 
															
																     public AjaxResult viewHis(@RequestBody PmDemandReqVo pmDemandReqVo) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(pmDemandReqVo.getDemandId() == null){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (pmDemandReqVo.getDemandId() == null) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return AjaxResult.error("demandId不能为空"); 
															 | 
															
															 | 
															
																             return AjaxResult.error("demandId不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmDemandReqVo.getDetailType())){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmDemandReqVo.getDetailType())) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return AjaxResult.error("详情的类型不能为空"); 
															 | 
															
															 | 
															
																             return AjaxResult.error("详情的类型不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmDemandReqVo.getReturnOrderNumber())){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmDemandReqVo.getReturnOrderNumber())) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return AjaxResult.error("回退序号不能为空"); 
															 | 
															
															 | 
															
																             return AjaxResult.error("回退序号不能为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(0 == pmDemandReqVo.getReturnOrderNumber()){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            return success(pmDemandService.selectPmDemandByDemandId(pmDemandReqVo.getDemandId(),pmDemandReqVo.getDetailType())); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (0 == pmDemandReqVo.getReturnOrderNumber()) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            return success(pmDemandService.selectPmDemandByDemandId(pmDemandReqVo.getDemandId(), pmDemandReqVo.getDetailType())); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } else { 
															 | 
															
															 | 
															
																         } else { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            return success(pmDemandHisService.selectPmDemandHisByDemandId(pmDemandReqVo.getDemandId(),pmDemandReqVo.getDetailType(),pmDemandReqVo.getReturnOrderNumber())); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            return success(pmDemandHisService.selectPmDemandHisByDemandId(pmDemandReqVo.getDemandId(), pmDemandReqVo.getDetailType(), pmDemandReqVo.getReturnOrderNumber())); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -765,20 +767,20 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBaseExpertList')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBaseExpertList')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult getBaseExpertList(@NotEmpty(message = "需求ID不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult getBaseExpertList(@NotEmpty(message = "需求ID不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                            @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                         @NotEmpty(message = "选取时间不能为空") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                            @RequestParam(value = "accessTime", required = true) String accessTime) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                        @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                        @NotEmpty(message = "选取时间不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                        @RequestParam(value = "accessTime", required = true) String accessTime) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<PmDemandExpertRef> pmDemandExpertRefLambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<PmDemandExpertRef> pmDemandExpertRefLambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        pmDemandExpertRefLambdaQueryWrapper.eq(PmDemandExpertRef::getDemandId,demandId); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        pmDemandExpertRefLambdaQueryWrapper.eq(PmDemandExpertRef::getAccessTime,accessTime); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        pmDemandExpertRefLambdaQueryWrapper.eq(PmDemandExpertRef::getDemandId, demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        pmDemandExpertRefLambdaQueryWrapper.eq(PmDemandExpertRef::getAccessTime, accessTime); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<PmDemandExpertRef> pmDemandExpertRefList = pmDemandExpertRefService.list(pmDemandExpertRefLambdaQueryWrapper); 
															 | 
															
															 | 
															
																         List<PmDemandExpertRef> pmDemandExpertRefList = pmDemandExpertRefService.list(pmDemandExpertRefLambdaQueryWrapper); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<BaseExpertVo> baseExpertVoList = new ArrayList<>(); 
															 | 
															
															 | 
															
																         List<BaseExpertVo> baseExpertVoList = new ArrayList<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(!ObjectUtils.isEmpty(pmDemandExpertRefList)) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            for(PmDemandExpertRef pmDemandExpertRef : pmDemandExpertRefList) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (!ObjectUtils.isEmpty(pmDemandExpertRefList)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            for (PmDemandExpertRef pmDemandExpertRef : pmDemandExpertRefList) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 BaseExpert baseExpert = baseExpertService.getById(pmDemandExpertRef.getExpertId()); 
															 | 
															
															 | 
															
																                 BaseExpert baseExpert = baseExpertService.getById(pmDemandExpertRef.getExpertId()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                if(baseExpert != null){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                if (baseExpert != null) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     BaseExpertVo baseExpertVo = new BaseExpertVo(); 
															 | 
															
															 | 
															
																                     BaseExpertVo baseExpertVo = new BaseExpertVo(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                    BeanUtils.copyProperties(baseExpert,baseExpertVo); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                    BeanUtils.copyProperties(baseExpert, baseExpertVo); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     baseExpertVo.setMajorTypeName(getMajorTypeName(baseExpertVo.getMajorType())); 
															 | 
															
															 | 
															
																                     baseExpertVo.setMajorTypeName(getMajorTypeName(baseExpertVo.getMajorType())); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     baseExpertVo.setExpertTypeName(ExpertType.getCodeToInfo(baseExpertVo.getExpertType())); 
															 | 
															
															 | 
															
																                     baseExpertVo.setExpertTypeName(ExpertType.getCodeToInfo(baseExpertVo.getExpertType())); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     baseExpertVo.setVarietyPurchaseName(PurchaseType.getCodeToInfo(baseExpertVo.getVarietyPurchase())); 
															 | 
															
															 | 
															
																                     baseExpertVo.setVarietyPurchaseName(PurchaseType.getCodeToInfo(baseExpertVo.getVarietyPurchase())); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -798,26 +800,26 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBaseExpertHisList')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBaseExpertHisList')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult getBaseExpertHisList(@NotEmpty(message = "需求ID不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult getBaseExpertHisList(@NotEmpty(message = "需求ID不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                        @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                           @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                            @NotEmpty(message = "回退序号不能为空") 
															 | 
															
															 | 
															
																                                            @NotEmpty(message = "回退序号不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                            @RequestParam(value = "returnOrderNumber", required = true) Integer returnOrderNumber, 
															 | 
															
															 | 
															
																                                            @RequestParam(value = "returnOrderNumber", required = true) Integer returnOrderNumber, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                        @NotEmpty(message = "选取时间不能为空") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                        @RequestParam(value = "accessTime", required = true) String accessTime) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if( 0 == returnOrderNumber){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            return getBaseExpertList(demandId,accessTime); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                           @NotEmpty(message = "选取时间不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                           @RequestParam(value = "accessTime", required = true) String accessTime) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (0 == returnOrderNumber) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            return getBaseExpertList(demandId, accessTime); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<PmDemandExpertRefHis> pmDemandExpertRefLambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<PmDemandExpertRefHis> pmDemandExpertRefLambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        pmDemandExpertRefLambdaQueryWrapper.eq(PmDemandExpertRefHis::getDemandId,demandId); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        pmDemandExpertRefLambdaQueryWrapper.eq(PmDemandExpertRefHis::getReturnOrderNumber,returnOrderNumber); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        pmDemandExpertRefLambdaQueryWrapper.eq(PmDemandExpertRefHis::getAccessTime,accessTime); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        pmDemandExpertRefLambdaQueryWrapper.eq(PmDemandExpertRefHis::getDemandId, demandId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        pmDemandExpertRefLambdaQueryWrapper.eq(PmDemandExpertRefHis::getReturnOrderNumber, returnOrderNumber); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        pmDemandExpertRefLambdaQueryWrapper.eq(PmDemandExpertRefHis::getAccessTime, accessTime); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<PmDemandExpertRefHis> pmDemandExpertRefHisList = pmDemandExpertRefHisService.list(pmDemandExpertRefLambdaQueryWrapper); 
															 | 
															
															 | 
															
																         List<PmDemandExpertRefHis> pmDemandExpertRefHisList = pmDemandExpertRefHisService.list(pmDemandExpertRefLambdaQueryWrapper); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<BaseExpertVo> baseExpertVoList = new ArrayList<>(); 
															 | 
															
															 | 
															
																         List<BaseExpertVo> baseExpertVoList = new ArrayList<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(!ObjectUtils.isEmpty(pmDemandExpertRefHisList)) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            for(PmDemandExpertRefHis pmDemandExpertRefHis : pmDemandExpertRefHisList) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (!ObjectUtils.isEmpty(pmDemandExpertRefHisList)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            for (PmDemandExpertRefHis pmDemandExpertRefHis : pmDemandExpertRefHisList) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 BaseExpert baseExpert = baseExpertService.getById(pmDemandExpertRefHis.getExpertId()); 
															 | 
															
															 | 
															
																                 BaseExpert baseExpert = baseExpertService.getById(pmDemandExpertRefHis.getExpertId()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                if(baseExpert != null){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                if (baseExpert != null) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     BaseExpertVo baseExpertVo = new BaseExpertVo(); 
															 | 
															
															 | 
															
																                     BaseExpertVo baseExpertVo = new BaseExpertVo(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                    BeanUtils.copyProperties(baseExpert,baseExpertVo); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                    BeanUtils.copyProperties(baseExpert, baseExpertVo); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     baseExpertVo.setMajorTypeName(getMajorTypeName(baseExpertVo.getMajorType())); 
															 | 
															
															 | 
															
																                     baseExpertVo.setMajorTypeName(getMajorTypeName(baseExpertVo.getMajorType())); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     baseExpertVo.setExpertTypeName(ExpertType.getCodeToInfo(baseExpertVo.getExpertType())); 
															 | 
															
															 | 
															
																                     baseExpertVo.setExpertTypeName(ExpertType.getCodeToInfo(baseExpertVo.getExpertType())); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     baseExpertVo.setVarietyPurchaseName(PurchaseType.getCodeToInfo(baseExpertVo.getVarietyPurchase())); 
															 | 
															
															 | 
															
																                     baseExpertVo.setVarietyPurchaseName(PurchaseType.getCodeToInfo(baseExpertVo.getVarietyPurchase())); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -829,28 +831,28 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         return success(baseExpertVoList); 
															 | 
															
															 | 
															
																         return success(baseExpertVoList); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    private String getMajorTypeName(String majorType){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(majorType)) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    private String getMajorTypeName(String majorType) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(majorType)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return null; 
															 | 
															
															 | 
															
																             return null; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<BaseProfessional> lambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<BaseProfessional> lambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lambdaQueryWrapper.in(BaseProfessional::getProfessionalCode,majorType.split(",")); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lambdaQueryWrapper.in(BaseProfessional::getProfessionalCode, majorType.split(",")); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<BaseProfessional> list = this.baseProfessionalService.list(lambdaQueryWrapper); 
															 | 
															
															 | 
															
																         List<BaseProfessional> list = this.baseProfessionalService.list(lambdaQueryWrapper); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(list)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(list)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return null; 
															 | 
															
															 | 
															
																             return null; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         StringBuilder sb = new StringBuilder(); 
															 | 
															
															 | 
															
																         StringBuilder sb = new StringBuilder(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        for(BaseProfessional baseProfessional : list){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        for (BaseProfessional baseProfessional : list) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             sb.append(baseProfessional.getProfessionalName()).append(","); 
															 | 
															
															 | 
															
																             sb.append(baseProfessional.getProfessionalName()).append(","); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         String majorTypeName = sb.toString(); 
															 | 
															
															 | 
															
																         String majorTypeName = sb.toString(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(majorTypeName.endsWith(",")){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (majorTypeName.endsWith(",")) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             majorTypeName = majorTypeName.substring(0, majorTypeName.length() - 1); 
															 | 
															
															 | 
															
																             majorTypeName = majorTypeName.substring(0, majorTypeName.length() - 1); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         return majorTypeName; 
															 | 
															
															 | 
															
																         return majorTypeName; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-  /** 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    /** 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      * 开标信息查看详情列表 
															 | 
															
															 | 
															
																      * 开标信息查看详情列表 
															 | 
														
													
												
													
														
															| 
															 | 
															
																      */ 
															 | 
															
															 | 
															
																      */ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @ApiOperation(value = "开标信息查看详情列表", notes = "必传选需求ID和开标时间(yyyy-MM-dd)") 
															 | 
															
															 | 
															
																     @ApiOperation(value = "开标信息查看详情列表", notes = "必传选需求ID和开标时间(yyyy-MM-dd)") 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -862,8 +864,8 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                         @NotEmpty(message = "开标时间不能为空") 
															 | 
															
															 | 
															
																                                         @NotEmpty(message = "开标时间不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                         @RequestParam(value = "openBidTime", required = true) String openBidTime) { 
															 | 
															
															 | 
															
																                                         @RequestParam(value = "openBidTime", required = true) String openBidTime) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<PmBidOpening> pmBidOpeningLambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<PmBidOpening> pmBidOpeningLambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        pmBidOpeningLambdaQueryWrapper.eq(PmBidOpening::getDemandId,demandId) 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        .eq(PmBidOpening::getOpenBidTime,openBidTime).orderByDesc(PmBidOpening::getScore); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        pmBidOpeningLambdaQueryWrapper.eq(PmBidOpening::getDemandId, demandId) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                .eq(PmBidOpening::getOpenBidTime, openBidTime).orderByDesc(PmBidOpening::getScore); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<PmBidOpening> pmBidOpeningList = pmBidOpeningService.list(pmBidOpeningLambdaQueryWrapper); 
															 | 
															
															 | 
															
																         List<PmBidOpening> pmBidOpeningList = pmBidOpeningService.list(pmBidOpeningLambdaQueryWrapper); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         return success(pmBidOpeningList); 
															 | 
															
															 | 
															
																         return success(pmBidOpeningList); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -876,17 +878,17 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBidOpeningHisList')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBidOpeningHisList')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult getBidOpeningHisList(@NotEmpty(message = "需求ID不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult getBidOpeningHisList(@NotEmpty(message = "需求ID不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                        @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                           @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                            @NotEmpty(message = "回退序号不能为空") 
															 | 
															
															 | 
															
																                                            @NotEmpty(message = "回退序号不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                            @RequestParam(value = "returnOrderNumber", required = true) Integer returnOrderNumber, 
															 | 
															
															 | 
															
																                                            @RequestParam(value = "returnOrderNumber", required = true) Integer returnOrderNumber, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                        @NotEmpty(message = "开标时间不能为空") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                        @RequestParam(value = "openBidTime", required = true) String openBidTime) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if( 0 == returnOrderNumber){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            return getBidOpeningList(demandId,openBidTime); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                           @NotEmpty(message = "开标时间不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                           @RequestParam(value = "openBidTime", required = true) String openBidTime) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (0 == returnOrderNumber) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            return getBidOpeningList(demandId, openBidTime); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<PmBidOpeningHis> pmBidOpeningLambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<PmBidOpeningHis> pmBidOpeningLambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        pmBidOpeningLambdaQueryWrapper.eq(PmBidOpeningHis::getDemandId,demandId).eq(PmBidOpeningHis::getReturnOrderNumber,returnOrderNumber) 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                .eq(PmBidOpeningHis::getOpenBidTime,openBidTime).orderByDesc(PmBidOpeningHis::getScore); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        pmBidOpeningLambdaQueryWrapper.eq(PmBidOpeningHis::getDemandId, demandId).eq(PmBidOpeningHis::getReturnOrderNumber, returnOrderNumber) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                .eq(PmBidOpeningHis::getOpenBidTime, openBidTime).orderByDesc(PmBidOpeningHis::getScore); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<PmBidOpeningHis> pmBidOpeningList = pmBidOpeningHisService.list(pmBidOpeningLambdaQueryWrapper); 
															 | 
															
															 | 
															
																         List<PmBidOpeningHis> pmBidOpeningList = pmBidOpeningHisService.list(pmBidOpeningLambdaQueryWrapper); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         return success(pmBidOpeningList); 
															 | 
															
															 | 
															
																         return success(pmBidOpeningList); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -899,14 +901,14 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBidWinningUnitList')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBidWinningUnitList')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult getBidWinningUnitList(@NotEmpty(message = "需求ID不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult getBidWinningUnitList(@NotEmpty(message = "需求ID不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                        @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                        @NotEmpty(message = "开中标ID不能为空") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                        @RequestParam(value = "winningId", required = true) Long winningId) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                            @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                            @NotEmpty(message = "开中标ID不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                            @RequestParam(value = "winningId", required = true) Long winningId) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<PmBidWinningOpeningRef> lambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<PmBidWinningOpeningRef> lambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lambdaQueryWrapper.eq(PmBidWinningOpeningRef::getDemandId,demandId).eq(PmBidWinningOpeningRef::getWinningId,winningId); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lambdaQueryWrapper.eq(PmBidWinningOpeningRef::getDemandId, demandId).eq(PmBidWinningOpeningRef::getWinningId, winningId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<PmBidWinningOpeningRef> pmBidWinningOpeningRefList = pmBidWinningOpeningRefService.list(lambdaQueryWrapper); 
															 | 
															
															 | 
															
																         List<PmBidWinningOpeningRef> pmBidWinningOpeningRefList = pmBidWinningOpeningRefService.list(lambdaQueryWrapper); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmBidWinningOpeningRefList)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmBidWinningOpeningRefList)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return AjaxResult.error("中标单位列表为空"); 
															 | 
															
															 | 
															
																             return AjaxResult.error("中标单位列表为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -916,7 +918,7 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<PmBidOpening> lambdaQueryWrapper1 = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<PmBidOpening> lambdaQueryWrapper1 = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lambdaQueryWrapper1.in(PmBidOpening::getId,idList).orderByDesc(PmBidOpening::getScore); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lambdaQueryWrapper1.in(PmBidOpening::getId, idList).orderByDesc(PmBidOpening::getScore); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<PmBidOpening> pmBidOpeningList = this.pmBidOpeningService.list(lambdaQueryWrapper1); 
															 | 
															
															 | 
															
																         List<PmBidOpening> pmBidOpeningList = this.pmBidOpeningService.list(lambdaQueryWrapper1); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         return success(pmBidOpeningList); 
															 | 
															
															 | 
															
																         return success(pmBidOpeningList); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -930,19 +932,19 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBidWinningUnitHisList')") 
															 | 
															
															 | 
															
																     @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBidWinningUnitHisList')") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
															
															 | 
															
																     @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public AjaxResult getBidWinningUnitHisList(@NotEmpty(message = "需求ID不能为空") 
															 | 
															
															 | 
															
																     public AjaxResult getBidWinningUnitHisList(@NotEmpty(message = "需求ID不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                            @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                               @RequestParam(value = "demandId", required = true) Long demandId, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                                @NotEmpty(message = "回退序号不能为空") 
															 | 
															
															 | 
															
																                                                @NotEmpty(message = "回退序号不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                                @RequestParam(value = "returnOrderNumber", required = true) Integer returnOrderNumber, 
															 | 
															
															 | 
															
																                                                @RequestParam(value = "returnOrderNumber", required = true) Integer returnOrderNumber, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                            @NotEmpty(message = "开中标ID不能为空") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                                            @RequestParam(value = "winningId", required = true) Long winningId) { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if( 0 == returnOrderNumber){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            return getBidWinningUnitList(demandId,winningId); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                               @NotEmpty(message = "开中标ID不能为空") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                                               @RequestParam(value = "winningId", required = true) Long winningId) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (0 == returnOrderNumber) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            return getBidWinningUnitList(demandId, winningId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<PmBidWinningOpeningRefHis> lambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<PmBidWinningOpeningRefHis> lambdaQueryWrapper = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lambdaQueryWrapper.eq(PmBidWinningOpeningRefHis::getDemandId,demandId).eq(PmBidWinningOpeningRefHis::getReturnOrderNumber,returnOrderNumber) 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                .eq(PmBidWinningOpeningRefHis::getWinningId,winningId); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lambdaQueryWrapper.eq(PmBidWinningOpeningRefHis::getDemandId, demandId).eq(PmBidWinningOpeningRefHis::getReturnOrderNumber, returnOrderNumber) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                .eq(PmBidWinningOpeningRefHis::getWinningId, winningId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<PmBidWinningOpeningRefHis> pmBidWinningOpeningRefHisList = pmBidWinningOpeningRefHisService.list(lambdaQueryWrapper); 
															 | 
															
															 | 
															
																         List<PmBidWinningOpeningRefHis> pmBidWinningOpeningRefHisList = pmBidWinningOpeningRefHisService.list(lambdaQueryWrapper); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        if(ObjectUtils.isEmpty(pmBidWinningOpeningRefHisList)){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        if (ObjectUtils.isEmpty(pmBidWinningOpeningRefHisList)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             return AjaxResult.error("中标单位列表为空"); 
															 | 
															
															 | 
															
																             return AjaxResult.error("中标单位列表为空"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -952,7 +954,7 @@ public class PmPurchaseExecutionController extends BaseController { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         LambdaQueryWrapper<PmBidOpeningHis> lambdaQueryWrapper1 = new LambdaQueryWrapper<>(); 
															 | 
															
															 | 
															
																         LambdaQueryWrapper<PmBidOpeningHis> lambdaQueryWrapper1 = new LambdaQueryWrapper<>(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        lambdaQueryWrapper1.in(PmBidOpeningHis::getId,idList).eq(PmBidOpeningHis::getReturnOrderNumber,returnOrderNumber) 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        lambdaQueryWrapper1.in(PmBidOpeningHis::getId, idList).eq(PmBidOpeningHis::getReturnOrderNumber, returnOrderNumber) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 .orderByDesc(PmBidOpeningHis::getScore); 
															 | 
															
															 | 
															
																                 .orderByDesc(PmBidOpeningHis::getScore); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         List<PmBidOpeningHis> pmBidOpeningHisList = this.pmBidOpeningHisService.list(lambdaQueryWrapper1); 
															 | 
															
															 | 
															
																         List<PmBidOpeningHis> pmBidOpeningHisList = this.pmBidOpeningHisService.list(lambdaQueryWrapper1); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 |