suntianwu 2 lat temu
rodzic
commit
6f1322b3a4

+ 8 - 8
purchase-admin/src/main/java/com/ozs/web/controller/pm/PmPurchaseExecutionController.java

@@ -76,7 +76,7 @@ public class PmPurchaseExecutionController extends BaseController {
      * 查询代理机构列表
      */
     @ApiOperation(value = "查询代理机构列表", notes = "采购需求ID必传")
-    @PostMapping("/getAgencyList")
+    @GetMapping("/getAgencyList")
     public AjaxResult getAgencyList(@NotEmpty(message = "采购需求ID不能为空")
                                @RequestParam(value = "demandId", required = true) Long demandId) {
         PmDemand pmDemand = pmDemandService.getById(demandId);
@@ -94,7 +94,7 @@ public class PmPurchaseExecutionController extends BaseController {
      * 选取代理-选择填写招标代理机构信息
      */
     @ApiOperation(value = "选取代理-选择填写招标代理机构信息",notes = "采购需求ID和代理机构ID必传")
-    @PostMapping("/selectAgency")
+    @GetMapping("/selectAgency")
     public AjaxResult selectAgency(@NotEmpty(message = "采购需求ID不能为空")
                                    @RequestParam(value = "demandId", required = true) Long demandId,
                                    @NotEmpty(message = "代理机构ID不能为空")
@@ -122,7 +122,7 @@ public class PmPurchaseExecutionController extends BaseController {
      * 选取代理-抽取招标代理机构信息
      */
     @ApiOperation(value = "选取代理-抽取招标代理机构信息",notes = "采购需求ID必传")
-    @PostMapping("/extractAgency")
+    @GetMapping("/extractAgency")
     public AjaxResult extractAgency(@NotEmpty(message = "采购需求id不能为空")
                                      @RequestParam(value = "demandId", required = true) Long demandId) {
 
@@ -200,7 +200,7 @@ public class PmPurchaseExecutionController extends BaseController {
     }
 
     @ApiOperation(value = "获取专家身份证号列表")
-    @PostMapping("/getExpertIdNumberList")
+    @GetMapping("/getExpertIdNumberList")
     public AjaxResult getExpertIdNumberList(@NotEmpty(message = "采购需求id不能为空")
                                                 @RequestParam(value = "demandId", required = true) Long demandId) {
         PmDemand pmDemand = pmDemandService.getById(demandId);
@@ -222,7 +222,7 @@ public class PmPurchaseExecutionController extends BaseController {
     }
 
     @ApiOperation(value = "根据身份证号查询专家", notes = "必传 查询条件:身份证号")
-    @PostMapping("/findExpertWithIdNumber")
+    @GetMapping("/findExpertWithIdNumber")
     public AjaxResult findExpertWithIdNumber(@NotEmpty(message = "采购需求id不能为空")
                                                  @RequestParam(value = "demandId", required = true) Long demandId,
                                              @NotEmpty(message = "身份证号不能为空")
@@ -312,7 +312,7 @@ public class PmPurchaseExecutionController extends BaseController {
      * 中标基本情况填制-开标信息下拉列表
      */
     @ApiOperation(value = "中标基本情况填制-开标信息下拉列表", notes = "必传选需求ID")
-    @PostMapping("/getPullDownBidOpeningList")
+    @GetMapping("/getPullDownBidOpeningList")
     public AjaxResult getPullDownBidOpeningList(@NotEmpty(message = "需求ID不能为空")
                                         @RequestParam(value = "demandId", required = true) Long demandId) {
         LambdaQueryWrapper<PmBidOpening> pmBidOpeningLambdaQueryWrapper = new LambdaQueryWrapper<>();
@@ -457,7 +457,7 @@ public class PmPurchaseExecutionController extends BaseController {
      * 专家信息查看详情列表
      */
     @ApiOperation(value = "专家信息查看详情列表", notes = "必传需求ID和选取时间(yyyy-MM-dd)")
-    @PostMapping("/getBaseExpertList")
+    @GetMapping("/getBaseExpertList")
     public AjaxResult getBaseExpertList(@NotEmpty(message = "需求ID不能为空")
                                             @RequestParam(value = "demandId", required = true) Long demandId,
                                          @NotEmpty(message = "选取时间不能为空")
@@ -483,7 +483,7 @@ public class PmPurchaseExecutionController extends BaseController {
      * 开标信息查看详情列表
      */
     @ApiOperation(value = "开标信息查看详情列表", notes = "必传选需求ID和开标时间(yyyy-MM-dd)")
-    @PostMapping("/getBidOpeningList")
+    @GetMapping("/getBidOpeningList")
     public AjaxResult getBidOpeningList(@NotEmpty(message = "需求ID不能为空")
                                         @RequestParam(value = "demandId", required = true) Long demandId,
                                         @NotEmpty(message = "开标时间不能为空")