From 2034f221437ecc32d5ebf01544987d17241c39c8 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Fri, 15 Dec 2023 10:39:00 +0800 Subject: [PATCH] 微信小程序配置 --- src/main/resources/mapper/modules/MallProductBuyMapper.xml | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/modules/MallProductBuyMapper.xml b/src/main/resources/mapper/modules/MallProductBuyMapper.xml index 8b3f895..a35f8ca 100644 --- a/src/main/resources/mapper/modules/MallProductBuyMapper.xml +++ b/src/main/resources/mapper/modules/MallProductBuyMapper.xml @@ -49,9 +49,13 @@ <select id="selectListByMemberIdAndState" resultType="java.lang.Integer"> select count(id) - from mall_product_buy a + from mall_product_sell_record a where a.member_id = #{memberId} - and a.state = #{state} + </select> + + <select id="selectByCreateTime" resultType="cc.mrbird.febs.mall.entity.MallProductBuy"> + select * from mall_product_buy + where create_time </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1