From 86d405a84645893cffd72934dc8e35a8b59e2fcf Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Tue, 07 Nov 2023 11:10:04 +0800 Subject: [PATCH] 消息红包记录只储存36个小时 --- src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallAddressInfoServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallAddressInfoServiceImpl.java b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallAddressInfoServiceImpl.java index 1a42e2e..a9b258c 100644 --- a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallAddressInfoServiceImpl.java +++ b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallAddressInfoServiceImpl.java @@ -41,7 +41,7 @@ MallMember member = LoginUserUtil.getLoginUser(); Long memberId = member.getId(); - List<MallAddressInfo> existAddress = this.baseMapper.selectList(null); + List<MallAddressInfo> existAddress = this.baseMapper.selectAddressInfoListByMemberId(memberId); if (CollUtil.isEmpty(existAddress)) { addressInfo.setIsDefault(MallAddressInfo.IS_DEFAULT_Y); } else { -- Gitblit v1.9.1