From 721af73405b8695864c9225cb782685fe938feab Mon Sep 17 00:00:00 2001 From: wuchunlei Date: Mon, 8 Sep 2025 09:50:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=AB=AF=E4=BA=BA=E4=B8=8E?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=98=BE=E7=A4=BA=E5=8C=BB=E5=AD=A6=E8=B6=85?= =?UTF-8?q?=E7=BA=A7=E6=97=B6=E5=8A=A0=E5=85=A5=E4=B8=AD=E8=A5=BF=E6=B1=87?= =?UTF-8?q?=E9=80=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/peanut/modules/book/controller/MyUserController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/peanut/modules/book/controller/MyUserController.java b/src/main/java/com/peanut/modules/book/controller/MyUserController.java index 2e4c509f..75e344e0 100644 --- a/src/main/java/com/peanut/modules/book/controller/MyUserController.java +++ b/src/main/java/com/peanut/modules/book/controller/MyUserController.java @@ -84,8 +84,8 @@ public class MyUserController { if (!StringUtils.isEmpty(p.getVipType())){ if ("1".equals(p.getVipType())){ List> list = userVipService.listMaps(new MPJLambdaWrapper().eq(UserVip::getState,0) - .in(UserVip::getType,4,5,6).groupBy(UserVip::getUserId) - .select("count(1) num,user_id userId ").having("num = 3")); + .in(UserVip::getType,4,5,6,9).groupBy(UserVip::getUserId) + .select("count(1) num,user_id userId ").having("num = 4")); List ids = list.stream().map(map -> (int)map.get("userId")).collect(Collectors.toList()); wrapper.in(MyUserEntity::getId,ids); }else if ("2".equals(p.getVipType())){