From 84c6e1df4b6bd48ee0517a33778b514008022875 Mon Sep 17 00:00:00 2001
From: seatonwan9
Date: 星期二, 19 八月 2025 18:10:44 +0800
Subject: [PATCH] 产品订购

---
 src/main/resources/mapper/CartMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/CartMapper.xml b/src/main/resources/mapper/CartMapper.xml
index 086a599..3d56c30 100644
--- a/src/main/resources/mapper/CartMapper.xml
+++ b/src/main/resources/mapper/CartMapper.xml
@@ -69,5 +69,8 @@
         AND user_id = #{userId} 
         AND unit_id = #{unitId}
     </select>
+    <delete id="deleteByCustomerCondition">
+        delete from cart where id = #{id}
+    </delete>
     
 </mapper>

--
Gitblit v1.8.0