| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Set; |
| | |
| | | return success(true); |
| | | } |
| | | |
| | | @PutMapping("/update-total") |
| | | @Operation(summary = "更新投标总金额") |
| | | @Parameter(name = "id", description = "投标ID", required = true) |
| | | @Parameter(name = "bidTotalAmount", description = "投标总金额(报价合计自动带出后可人工调整)") |
| | | @PreAuthorize("@ss.hasPermission('srm:tender-bid:update')") |
| | | public CommonResult<Boolean> updateBidTotal(@RequestParam("id") Long id, |
| | | @RequestParam(value = "bidTotalAmount", required = false) BigDecimal bidTotalAmount) { |
| | | tenderBidService.updateBidTotal(id, bidTotalAmount); |
| | | return success(true); |
| | | } |
| | | |
| | | // ========== 供应商报价 ========== |
| | | |
| | | @PostMapping("/quote/create") |
| | |
| | | if (material != null) { |
| | | vo.setTenderMaterialCode(material.getProductCode()); |
| | | vo.setTenderMaterialName(material.getProductName()); |
| | | vo.setMaterialName(material.getProductName()); |
| | | vo.setTenderMaterialSpec(material.getProductSpec()); |
| | | vo.setTenderMaterialUnit(material.getUnit()); |
| | | } |