From aa86243ec08e07005e6dd2f5705ddfa2dbb70d86 Mon Sep 17 00:00:00 2001 From: wanglf3 Date: Wed, 28 Feb 2024 20:00:40 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=A0=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/out/OrderOutController.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/chint/application/out/OrderOutController.java b/src/main/java/com/chint/application/out/OrderOutController.java index e357f6bd..50025e9f 100644 --- a/src/main/java/com/chint/application/out/OrderOutController.java +++ b/src/main/java/com/chint/application/out/OrderOutController.java @@ -76,14 +76,14 @@ public class OrderOutController { } -// @ApiOperation("根据Id查询行程规划单-元年数据") -// @PostMapping("/query/tripCallback") -// public Result queryTripCallbackData(@RequestBody OrderQueryData queryData) { -// TripCallback tripCallback = orderQuery.queryTripCallbackData(queryData); -// Gson gson = new Gson(); -// String json = gson.toJson(tripCallback); -// log.info(json); -// return Result.Success(SUCCESS, tripCallback); -// } + @ApiOperation("根据Id查询行程规划单-元年数据") + @PostMapping("/query/tripCallback") + public Result queryTripCallbackData(@RequestBody OrderQueryData queryData) { + TripCallback tripCallback = orderQuery.queryTripCallbackData(queryData); + Gson gson = new Gson(); + String json = gson.toJson(tripCallback); + log.info(json); + return Result.Success(SUCCESS, tripCallback); + } }