From b113b572ac01c1a799e3b87d5307f34a93b88df8 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Fri, 23 Feb 2024 17:51:45 +0800 Subject: [PATCH] 抽奖 --- src/main/resources/mapper/modules/MallScoreVoucherMapper.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallScoreVoucherMapper.xml b/src/main/resources/mapper/modules/MallScoreVoucherMapper.xml index e357925..5814ff5 100644 --- a/src/main/resources/mapper/modules/MallScoreVoucherMapper.xml +++ b/src/main/resources/mapper/modules/MallScoreVoucherMapper.xml @@ -13,6 +13,11 @@ FROM mall_score_voucher a LEFT JOIN mall_member b ON a.member_id = b.id + <where> + <if test="record.memberId!=null and record.memberId!=''"> + and a.member_id = #{record.memberId} + </if> + </where> ORDER BY a.CREATED_TIME DESC </select> -- Gitblit v1.9.1