| | |
| | | return success(inquiryService.createInquiry(createReqVO)); |
| | | } |
| | | |
| | | @PostMapping("/create-from-request") |
| | | @Operation(summary = "由采购申请发起询价") |
| | | @Parameter(name = "requestId", description = "采购申请编号", required = true) |
| | | @PreAuthorize("@ss.hasPermission('srm:inquiry:create')") |
| | | public CommonResult<Long> createInquiryFromPurchaseRequest(@RequestParam("requestId") Long requestId) { |
| | | return success(inquiryService.createInquiryFromPurchaseRequest(requestId)); |
| | | } |
| | | |
| | | @PutMapping("/update") |
| | | @Operation(summary = "更新询价单(仅草稿)") |
| | | @PreAuthorize("@ss.hasPermission('srm:inquiry:update')") |