Commit 60ee72b1 by jianan

新单跟进117

parent 85187910
...@@ -173,6 +173,7 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol ...@@ -173,6 +173,7 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
// 修改转介人 // 修改转介人
List<PolicyBrokerDto> brokerList = policyFollowUpdateRequest.getBrokerList(); List<PolicyBrokerDto> brokerList = policyFollowUpdateRequest.getBrokerList();
if (CollUtil.isNotEmpty(brokerList)) { if (CollUtil.isNotEmpty(brokerList)) {
log.info("修改转介人,查看保单号: {}, 转介人数量: {}", policyFollow.getPolicyNo(), brokerList.size());
// 先删除原有的转介人 // 先删除原有的转介人
policyBrokerService.remove(new QueryWrapper<PolicyBroker>().eq("policy_biz_id", policyBizId)); policyBrokerService.remove(new QueryWrapper<PolicyBroker>().eq("policy_biz_id", policyBizId));
...@@ -587,8 +588,9 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol ...@@ -587,8 +588,9 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
policyReportData.setAdditionalInsurances(additionalInsurances); policyReportData.setAdditionalInsurances(additionalInsurances);
// 处理服务经理 // 处理服务经理
String signerList = policyReportData.getServiceManager(); String signerList = policyReportData.getServiceManager();
if (StringUtils.isNotBlank(signerList)) { if (StringUtils.isNotBlank(signerList) && ObjectUtils.isNotEmpty(signerList.split(",")[0])) {
policyReportData.setServiceManager(signerList.split(",")[0]); PolicySigner signer = GSONUtil.fromJson(signerList.split(",")[0], PolicySigner.class);
policyReportData.setServiceManager(signer.getSigner());
} }
// 处理位置 // 处理位置
policyReportData.setLocation("香港"); policyReportData.setLocation("香港");
......
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