Commit 26180810 by 吴博

fix

parent f7d7bd86
...@@ -455,7 +455,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz { ...@@ -455,7 +455,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
if (!ListUtils.isEmpty(customPlanIds)) { if (!ListUtils.isEmpty(customPlanIds)) {
customPlanList = customPlanMapper.getCustomPlanByIds(customPlanIds); customPlanList = customPlanMapper.getCustomPlanByIds(customPlanIds);
} }
if (ListUtils.isEmpty(customPlanList)) { if (!ListUtils.isEmpty(customPlanList)) {
Map<Integer, CustomPlan> appleMap = Optional Map<Integer, CustomPlan> appleMap = Optional
.ofNullable(customPlanList.stream().collect(Collectors.toMap(CustomPlan::getId, a -> a, (k1, k2) -> k1))) .ofNullable(customPlanList.stream().collect(Collectors.toMap(CustomPlan::getId, a -> a, (k1, k2) -> k1)))
.orElse(new HashMap<>()); .orElse(new HashMap<>());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment