| | |
| | | } |
| | | |
| | | /** |
| | | * list 下拉 |
| | | */ |
| | | @GetMapping("/list") |
| | | public R list() { |
| | | return R.ok(contractService.list(Wrappers.<Contract>lambdaQuery().eq(Contract::getContractStatus,2).orderByDesc(Contract::getCreateTime))); |
| | | } |
| | | |
| | | /** |
| | | * 启动审核流程 |
| | | * @param id id |
| | | * @return R |
| | |
| | | } |
| | | |
| | | /** |
| | | * 根据模版生成word通方公司工业品买卖合同 |
| | | * @param id id |
| | | * @return R |
| | | */ |
| | | @Operation(summary = "根据模版生成word合同" , description = "根据模版生成word合同" ) |
| | | @GetMapping("/exportContractTFGSGYPMMWord/{id}" ) |
| | | public void exportContractTFGSGYPMMWord(@PathVariable("id" ) Long id, HttpServletResponse response) { |
| | | contractService.exportContractTFGSGYPMMWord(id,response); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 延期出货审批 |
| | | */ |
| | | |
| | |
| | | return contractService.delayOutApproval(dto); |
| | | } |
| | | |
| | | /** |
| | | * 新增合同-石工泵 |
| | | * @return R |
| | | */ |
| | | @Operation(summary = "新增合同-石工泵" , description = "新增合同-石工泵" ) |
| | | @PostMapping("/addContractSgb") |
| | | @SysLog("新增合同-石工泵" ) |
| | | public R addContractSgb(@RequestBody ContractAddDTO addDTO) { |
| | | return contractService.addContractSgb(addDTO); |
| | | } |
| | | |
| | | /** |
| | | * 修改合同-石工泵 |
| | | * @return R |
| | | */ |
| | | @Operation(summary = "修改合同-石工泵" , description = "修改合同-石工泵" ) |
| | | @PostMapping("/updateContractSgb") |
| | | @SysLog("修改合同-石工泵" ) |
| | | public R updateContractSgb(@RequestBody ContractUpdateDTO updateDTO) { |
| | | return contractService.updateContractSgb(updateDTO); |
| | | } |
| | | } |