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<>();