From 3748fe0e6e06cbf843d9e0111cd1976b4fe45443 Mon Sep 17 00:00:00 2001 From: lulz1 Date: Thu, 29 Feb 2024 09:33:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/chint/application/in/OrderController.java | 6 +++--- .../chint/application/services/OrderApplicationService.java | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/chint/application/in/OrderController.java b/src/main/java/com/chint/application/in/OrderController.java index ffa7874a..9e0f0f4a 100644 --- a/src/main/java/com/chint/application/in/OrderController.java +++ b/src/main/java/com/chint/application/in/OrderController.java @@ -82,9 +82,9 @@ public class OrderController { @Transactional @ApiOperation("修改行程节点") - @PostMapping("/leg/update") - public Result updateLeg(@RequestBody AddLegData addLegData) { - orderApplicationService.updateLegToOrder(addLegData); + @PostMapping("/leg/change/") + public Result changeLeg(@RequestBody AddLegData addLegData) { + orderApplicationService.changeLeg(addLegData); return Result.Success(SUCCESS); } diff --git a/src/main/java/com/chint/application/services/OrderApplicationService.java b/src/main/java/com/chint/application/services/OrderApplicationService.java index 29a25522..f2fae889 100644 --- a/src/main/java/com/chint/application/services/OrderApplicationService.java +++ b/src/main/java/com/chint/application/services/OrderApplicationService.java @@ -153,4 +153,8 @@ public class OrderApplicationService { @Transactional public void updateLegToOrder(AddLegData addLegData) { } + + @Transactional + public void changeLeg(AddLegData addLegData) { + } }