租赁协议

This commit is contained in:
liang.chao 2024-12-18 09:14:17 +08:00
parent c79f31ed7d
commit 4cb93fa245
1 changed files with 4 additions and 4 deletions

View File

@ -175,7 +175,7 @@ public class OrderController extends BaseController {
} }
} }
@ApiOperation(value = "租赁协议(查看)") @ApiOperation(value = "租赁协议(查看)-word方式")
@GetMapping("/leaseAgreement") @GetMapping("/leaseAgreement")
public AjaxResult leaseAgreement(String orderId, Map<String, String> replacements) throws IOException, ParseException { public AjaxResult leaseAgreement(String orderId, Map<String, String> replacements) throws IOException, ParseException {
OrderInfoDto orderInfoDto = orderService.getAgreementByOrderId(orderId); OrderInfoDto orderInfoDto = orderService.getAgreementByOrderId(orderId);
@ -243,7 +243,7 @@ public class OrderController extends BaseController {
return sysFileService.upload(file); return sysFileService.upload(file);
} }
/* @ApiOperation(value = "购物车协议(查看)") /* @ApiOperation(value = "购物车协议(查看)-word方式")
@GetMapping("/bookCarAgreement") @GetMapping("/bookCarAgreement")
public AjaxResult bookCarAgreement(OrderInfoDto orderInfoDto, Map<String, String> replacements) throws ParseException, IOException { public AjaxResult bookCarAgreement(OrderInfoDto orderInfoDto, Map<String, String> replacements) throws ParseException, IOException {
if (orderInfoDto != null) { if (orderInfoDto != null) {
@ -306,7 +306,7 @@ public class OrderController extends BaseController {
}*/ }*/
/* @ApiOperation(value = "租赁协议(查看)") /* @ApiOperation(value = "租赁协议(查看)-富文本方式")
@GetMapping("/leaseAgreement") @GetMapping("/leaseAgreement")
public AjaxResult getleaseAgreement(String orderId, Map<String, String> replacements) throws ParseException { public AjaxResult getleaseAgreement(String orderId, Map<String, String> replacements) throws ParseException {
OrderInfoDto orderInfoDto = orderService.getAgreementByOrderId(orderId); OrderInfoDto orderInfoDto = orderService.getAgreementByOrderId(orderId);
@ -349,7 +349,7 @@ public class OrderController extends BaseController {
return AjaxResult.success(result); return AjaxResult.success(result);
}*/ }*/
@ApiOperation(value = "购物车协议(查看)") @ApiOperation(value = "购物车协议(查看)-富文本方式")
@PostMapping("/bookCarAgreement") @PostMapping("/bookCarAgreement")
public AjaxResult getbookCarAgreement(@RequestBody OrderInfoDto orderInfoDto) throws ParseException { public AjaxResult getbookCarAgreement(@RequestBody OrderInfoDto orderInfoDto) throws ParseException {
if (orderInfoDto != null) { if (orderInfoDto != null) {