From 1eee71ca750c806ee0e6d80a4fd44500ceff2ffa Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Fri, 04 Jul 2025 17:56:52 +0800
Subject: [PATCH] 小程序:生成确认订单

---
 oying-system/src/main/resources/mapper/sh/OrderAddressSnapshotMapper.xml |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/oying-system/src/main/resources/mapper/sh/OrderAddressSnapshotMapper.xml b/oying-system/src/main/resources/mapper/sh/OrderAddressSnapshotMapper.xml
index e5c36b7..10dd77d 100644
--- a/oying-system/src/main/resources/mapper/sh/OrderAddressSnapshotMapper.xml
+++ b/oying-system/src/main/resources/mapper/sh/OrderAddressSnapshotMapper.xml
@@ -31,4 +31,10 @@
         </where>
         order by snapshot_id desc
     </select>
-</mapper>
\ No newline at end of file
+    <select id="queryByOrderNum" resultMap="BaseResultMap">
+        select
+        <include refid="Base_Column_List"/>
+        from sh_order_address_snapshot
+        where order_num = #{orderNum}
+    </select>
+</mapper>

--
Gitblit v1.9.3