From 7096ac212eb55114243b45f65eb702a47f027971 Mon Sep 17 00:00:00 2001 From: dy-hu Date: Tue, 9 Jul 2024 10:17:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=9F=8E=E8=8E=B7=E5=8F=96=E4=BC=9A?= =?UTF-8?q?=E5=91=98=E4=BF=A1=E6=81=AF=E5=A4=84=E7=90=86=E6=89=80=E5=B1=9E?= =?UTF-8?q?=E5=95=86=E5=AE=B6=E8=BF=87=E6=BB=A4=E4=B8=9A=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/service/member/impl/CerePlatformMemberLevelServiceImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cereshop-app/src/main/java/com/shop/cereshop/app/service/member/impl/CerePlatformMemberLevelServiceImpl.java b/cereshop-app/src/main/java/com/shop/cereshop/app/service/member/impl/CerePlatformMemberLevelServiceImpl.java index 9296151..d177248 100644 --- a/cereshop-app/src/main/java/com/shop/cereshop/app/service/member/impl/CerePlatformMemberLevelServiceImpl.java +++ b/cereshop-app/src/main/java/com/shop/cereshop/app/service/member/impl/CerePlatformMemberLevelServiceImpl.java @@ -10,6 +10,8 @@ import com.shop.cereshop.app.dao.member.CerePlatformMemberLevelDAO; import com.shop.cereshop.app.dao.member.CerePlatformMembershipDAO; import com.shop.cereshop.app.param.member.MemberLevelInfo; import com.shop.cereshop.app.service.member.CerePlatformMemberLevelService; +import com.shop.cereshop.app.utils.ContextUtil; +import com.shop.cereshop.commons.domain.activity.CereBuyerCoupon; import com.shop.cereshop.commons.domain.member.CerePlatformMemberLevel; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; @@ -44,7 +46,9 @@ public class CerePlatformMemberLevelServiceImpl implements CerePlatformMemberLev @Override public List getAllMemberLevelInfo() { + Long businessId = Long.valueOf(ContextUtil.getProject()); LambdaQueryWrapper wrapper = new LambdaQueryWrapper<>(); + wrapper.eq(CerePlatformMemberLevel::getBusinessId, businessId); wrapper.orderByAsc(CerePlatformMemberLevel::getGrowth); List memberLevelList = cerePlatformMemberLevelDAO.selectList(wrapper); List levelInfoList = new ArrayList<>();