| | |
| | | import cn.iocoder.yudao.module.crm.controller.admin.bidbond.vo.CrmBidBondRespVO; |
| | | import cn.iocoder.yudao.module.crm.controller.admin.bidbond.vo.CrmBidBondSaleOrderRespVO; |
| | | import cn.iocoder.yudao.module.crm.controller.admin.bidbond.vo.CrmBidBondSaveReqVO; |
| | | import cn.iocoder.yudao.module.crm.controller.admin.bidbond.vo.CrmBidProgressReqVO; |
| | | import cn.iocoder.yudao.module.crm.dal.dataobject.bidbond.CrmBidProgressDO; |
| | | import cn.iocoder.yudao.module.crm.service.bidbond.CrmBidBondService; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.Parameter; |
| | |
| | | return success(true); |
| | | } |
| | | |
| | | @PostMapping("/progress") |
| | | @Operation(summary = "登记投标过程") |
| | | @PreAuthorize("@ss.hasPermission('crm:bid-bond:update')") |
| | | public CommonResult<Boolean> recordProgress(@Valid @RequestBody CrmBidProgressReqVO reqVO) { |
| | | bidBondService.recordProgress(reqVO.getId(), reqVO.getAction(), reqVO.getRemark()); |
| | | return success(true); |
| | | } |
| | | |
| | | @GetMapping("/progress-list") |
| | | @Operation(summary = "投标过程流水") |
| | | @PreAuthorize("@ss.hasPermission('crm:bid-bond:query')") |
| | | public CommonResult<List<CrmBidProgressDO>> getProgressList(@RequestParam("id") Long id) { |
| | | return success(bidBondService.getProgressList(id)); |
| | | } |
| | | |
| | | @DeleteMapping("/delete") |
| | | @Operation(summary = "删除投标保证金记录") |
| | | @Parameter(name = "id", description = "编号", required = true) |