From b8169374d9b8aea8d0d0690dc50b795c915700ae Mon Sep 17 00:00:00 2001 From: xin <1099200748@qq.com> Date: Wed, 02 Jul 2025 15:46:56 +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