Commit cf75e1ed by jianan

新单跟进v2

parent 8e9934cc
...@@ -449,7 +449,7 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol ...@@ -449,7 +449,7 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
} }
boolean exists = policyBrokerService.exists(new QueryWrapper<PolicyBroker>().eq("policy_biz_id", policyBizId)); boolean exists = policyBrokerService.exists(new QueryWrapper<PolicyBroker>().eq("policy_biz_id", policyBizId));
if (!exists) { if (!exists) {
throw new BusinessException(ResultCode.PARAM_CHECK_ERROR.getCode(), "转人不能为空,才能修改为生效状态"); throw new BusinessException(ResultCode.PARAM_CHECK_ERROR.getCode(), "转人不能为空,才能修改为生效状态");
} }
} }
......
...@@ -246,8 +246,9 @@ public class PolicyServiceImpl extends ServiceImpl<PolicyMapper, Policy> ...@@ -246,8 +246,9 @@ public class PolicyServiceImpl extends ServiceImpl<PolicyMapper, Policy>
} }
List<PolicyProductInfo> policyProductInfoList = getPolicyProductInfo(new ArrayList<>(productLaunchBizIdList)); List<PolicyProductInfo> policyProductInfoList = getPolicyProductInfo(new ArrayList<>(productLaunchBizIdList));
return policyProductInfoList.stream() return policyProductInfoList.stream()
.collect(Collectors.toMap(PolicyProductInfo::getProductLaunchBizId, Function.identity())); .collect(Collectors.toMap(PolicyProductInfo::getProductLaunchBizId, Function.identity(), (oldValue, newValue) -> newValue));
} }
/** /**
......
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