From c5d750c054ba7c06757f024d51a379f5bef0b6d0 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Thu, 07 Dec 2023 14:41:13 +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