From 126479acd32d27fb269496635daa900abd792ea3 Mon Sep 17 00:00:00 2001
From: Hentua <wangdoubleone@gmail.com>
Date: Mon, 08 May 2023 23:40:48 +0800
Subject: [PATCH] 积分商城
---
src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
index 82c23f7..0056296 100644
--- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
+++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -319,4 +319,13 @@
#{item}
</foreach>
</select>
+
+ <select id="selectScoreOrderListInDate" resultType="cc.mrbird.febs.mall.entity.MallOrderInfo">
+ select * from mall_order_info orderInfo
+ inner join mall_order_item orderItem on orderInfo.id=orderItem.order_id
+ inner join mall_goods goodsInfo on orderItem.goods_id=goodsInfo.ID and goodsInfo.goods_type = 2 and goodsInfo.id=#{goodsId}
+ where orderInfo.order_time >= #{startDate}
+ and orderInfo.order_time <= #{endDate}
+ and orderInfo.status in (2,3,4,5)
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1