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