From 1c4a9c573d0361514b41fa76c0af156f2f78d0c4 Mon Sep 17 00:00:00 2001 From: hu177768073 <177768073@qq.com> Date: Wed, 6 Nov 2024 17:25:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=89=E7=BA=A7=E6=99=8B=E5=8D=87=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E5=8F=AF=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/user/impl/BsUserGradeServiceImpl.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/service/src/main/java/com/hfkj/service/user/impl/BsUserGradeServiceImpl.java b/service/src/main/java/com/hfkj/service/user/impl/BsUserGradeServiceImpl.java index 8b6a0ba..fb2b4a6 100644 --- a/service/src/main/java/com/hfkj/service/user/impl/BsUserGradeServiceImpl.java +++ b/service/src/main/java/com/hfkj/service/user/impl/BsUserGradeServiceImpl.java @@ -112,7 +112,7 @@ public class BsUserGradeServiceImpl implements BsUserGradeService { @Override public Map promoteGrade2Progress(Long userId) { // 获取配置 - BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade2); + BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade1); Map map = new LinkedHashMap<>(); map.put("conditionTarget1", config.getPromotionConditions1()); map.put("conditionTarget2", config.getPromotionConditions2()); @@ -136,7 +136,7 @@ public class BsUserGradeServiceImpl implements BsUserGradeService { @Override public Map promoteGrade3Progress(Long userId) { // 获取配置 - BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade3); + BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade2); Map map = new LinkedHashMap<>(); map.put("conditionTarget1", config.getPromotionConditions1()); map.put("conditionTarget2", config.getPromotionConditions2()); @@ -162,7 +162,7 @@ public class BsUserGradeServiceImpl implements BsUserGradeService { @Override public Map promoteGrade4Progress(Long userId) { // 获取配置 - BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade4); + BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade3); Map map = new LinkedHashMap<>(); map.put("conditionTarget1", config.getPromotionConditions1()); map.put("conditionTarget2", config.getPromotionConditions2()); @@ -197,7 +197,7 @@ public class BsUserGradeServiceImpl implements BsUserGradeService { boolean profitCondition = false; // 获取等级晋升配置 - BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade2); + BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade1); // 完成进度 Map map = promoteGrade2Progress(user.getId()); @@ -227,7 +227,7 @@ public class BsUserGradeServiceImpl implements BsUserGradeService { boolean profitCondition = false; // 元宝收益 // 获取等级晋升配置 - BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade3); + BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade2); // 完成进度 Map map = promoteGrade3Progress(user.getId()); @@ -260,7 +260,7 @@ public class BsUserGradeServiceImpl implements BsUserGradeService { boolean profitCondition = false; // 元宝收益 // 获取等级晋升配置 - BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade4); + BsUserGradeConfig config = userGradeConfigService.getConfig(UserGradeEnum.grade3); // 完成进度 Map map = promoteGrade3Progress(user.getId());