From 71c9b2b4674cd518eba22a37b6afcfde336bda15 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 11 May 2022 11:12:32 +0800
Subject: [PATCH] add dynamic profit

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

diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
index 2cc1e51..eca247a 100644
--- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
+++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -106,6 +106,9 @@
             <if test="record.memberId != null">
                 and a.member_id=#{record.memberId}
             </if>
+            <if test="record.orderType != null">
+                and a.order_type=#{record.orderType}
+            </if>
         </where>
         order by a.created_time desc
     </select>

--
Gitblit v1.9.1