From 62fcbc4dda69e739f05d547cd0b9a042004186b4 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Mon, 27 Nov 2023 15:05:03 +0800
Subject: [PATCH] 匹配

---
 src/main/resources/mapper/modules/MallMoneyFlowMapper.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml b/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
index 8fe8066..3944b3e 100644
--- a/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
+++ b/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
@@ -249,4 +249,16 @@
         ORDER BY
             a.created_time ASC
     </select>
+
+    <select id="selectByOrderAndType" resultType="cc.mrbird.febs.mall.entity.MallMoneyFlow">
+        SELECT
+            *
+        FROM
+            mall_money_flow a
+        WHERE
+            a.type = #{type}
+          AND a.flow_type = #{flowType}
+          AND a.member_id = #{memberId}
+          AND a.order_no = #{orderNo}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1