From 3c4dca5268cc4d1aed38c8b7235e4b1a163b7153 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 23 四月 2022 22:16:54 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java
index 591cc76..f0bbfb5 100644
--- a/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java
@@ -113,4 +113,12 @@
         return true;
     }
 
+    @Override
+    public void remove(Long orderId) {
+        if (!this.deleteById(orderId)) {
+            throw new CoolException("鍒犻櫎鍗曟嵁澶辫触");
+        }
+        orderDetlService.delete(new EntityWrapper<OrderDetl>().eq("order_id", orderId));
+    }
+
 }

--
Gitblit v1.9.1