| | |
| | | return success(true); |
| | | } |
| | | |
| | | // ========== 简易模式操作 ========== |
| | | |
| | | @PutMapping("/start-price-comparing") |
| | | @Operation(summary = "开始比价(简易版)") |
| | | @PreAuthorize("@ss.hasPermission('srm:tender-project:update')") |
| | | public CommonResult<Boolean> startPriceComparing(@RequestParam("id") Long id) { |
| | | tenderProjectService.startPriceComparing(id); |
| | | return success(true); |
| | | } |
| | | |
| | | @PutMapping("/confirm") |
| | | @Operation(summary = "确认中标并生成采购订单(简易版)") |
| | | @PreAuthorize("@ss.hasPermission('srm:tender-project:update')") |
| | | public CommonResult<Boolean> confirmTenderProject(@Valid @RequestBody SrmTenderConfirmReqVO reqVO) { |
| | | tenderProjectService.confirmTenderProject(reqVO.getId(), reqVO.getBidId()); |
| | | return success(true); |
| | | } |
| | | |
| | | // ========== 物料子表 ========== |
| | | |
| | | @PostMapping("/material/create") |