From 1a50940fde9a815d1dbddfe8e5f4da22641ad93b Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 24 Sep 2021 11:15:55 +0800 Subject: [PATCH] fix orderList --- src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml index a519661..85d9104 100644 --- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml +++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml @@ -96,6 +96,9 @@ <if test="record.status != 4 and record.status != 0"> and a.status = #{record.status} </if> + <if test="record.memberId != null"> + and a.member_id=#{record.memberId} + </if> </where> order by a.created_time desc </select> -- Gitblit v1.9.1