Commit b58d8550 by jianan

N22保单详情接口投保人,受益人类型

parent c03862e4
......@@ -281,7 +281,8 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
List<InsuredInfo> insuredInfos = new ArrayList<>();
InsuredInfo insuredInfo;
for (ParticipantN22 insured : insureds.get(0).getParticipants()) {
// 2-被保人,3-受益人
if ("2".equals(insured.getCustomerType())) {
insuredInfo = new InsuredInfo();
insuredInfo.setRelationType(N22Utils.getN22RelationType(insured.getIdType()));
insuredInfo.setName(insured.getFullName());
......@@ -296,6 +297,7 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
insuredInfo.setIdInfo(idInfo);
insuredInfos.add(insuredInfo);
}
}
......
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