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); + } }