From c43cec97c4965f4215c86daaac765c9f4a9891d2 Mon Sep 17 00:00:00 2001 From: sunjiabei Date: Wed, 14 Jan 2026 17:18:52 +0800 Subject: [PATCH] =?UTF-8?q?20260114=E4=B8=9A=E7=BB=A9=E5=BD=92=E5=B1=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demo/controller/cash/CashCollectionController.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/java/com/example/demo/controller/cash/CashCollectionController.java b/src/main/java/com/example/demo/controller/cash/CashCollectionController.java index 069ce7f..82bd935 100644 --- a/src/main/java/com/example/demo/controller/cash/CashCollectionController.java +++ b/src/main/java/com/example/demo/controller/cash/CashCollectionController.java @@ -272,6 +272,19 @@ public class CashCollectionController { } } + //根据id查询收款订单 + @PostMapping("/performanceSelect") + public Result performanceSelect(@RequestBody CashCollection cashCollection) { + try { + CashCollection result = cashCollectionService.selectById(cashCollection); + + return Result.success(result); + } catch (Exception e) { + // 推送异常到飞书(核心:调用工具类) + throw new SecurityException(); + } + } + /** * 转换现金收款订单的多语言字段 */