From 4f99b1df96a35a0cd1339cc1fa29efc1566c25fc Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Fri, 12 Jan 2024 10:25:52 +0800 Subject: [PATCH] 套餐 --- src/main/resources/mapper/modules/MallAchieveRecordMapper.xml | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallAchieveRecordMapper.xml b/src/main/resources/mapper/modules/MallAchieveRecordMapper.xml index 53af5db..200cf15 100644 --- a/src/main/resources/mapper/modules/MallAchieveRecordMapper.xml +++ b/src/main/resources/mapper/modules/MallAchieveRecordMapper.xml @@ -13,4 +13,19 @@ </if> </select> + <select id="selectByMemberId" resultType="cc.mrbird.febs.mall.entity.MallAchieveRecord"> + select + * + from mall_achieve_record + where member_id = #{memberId} + </select> + + <select id="selectListByCostAmountAndIsNorMal" resultType="cc.mrbird.febs.mall.entity.MallAchieveRecord"> + select + * + from mall_achieve_record + where cost_amount > #{costAmount} + and is_normal = #{isNormal} + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.1