|
@@ -133,11 +133,11 @@ public final class AnShengCrawlerQuoteResultsVoBuild {
|
|
|
for (AnShengCrawlerCalculatePremiumApplyResponse.DataDTO.ContractsDTO contract : data.getContracts()) {
|
|
for (AnShengCrawlerCalculatePremiumApplyResponse.DataDTO.ContractsDTO contract : data.getContracts()) {
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
if (StringUtils.equals("105",contract.getPlanDefine().getPlanCode())){
|
|
if (StringUtils.equals("105",contract.getPlanDefine().getPlanCode())){
|
|
|
- jsonObject.put("scoreName","交强");
|
|
|
|
|
|
|
+ jsonObject.put("scoreName","交强存在费用");
|
|
|
jsonObject.put("scoreKey","compulsoryInsure");
|
|
jsonObject.put("scoreKey","compulsoryInsure");
|
|
|
jsonObject.put("score",contract.getPlanDefine().getCompulsoryInsure() ? "是" : "否");
|
|
jsonObject.put("score",contract.getPlanDefine().getCompulsoryInsure() ? "是" : "否");
|
|
|
}else if (StringUtils.equals("109",contract.getPlanDefine().getPlanCode())){
|
|
}else if (StringUtils.equals("109",contract.getPlanDefine().getPlanCode())){
|
|
|
- jsonObject.put("scoreName","商业");
|
|
|
|
|
|
|
+ jsonObject.put("scoreName","商业存在费用");
|
|
|
jsonObject.put("scoreKey","businessInsure");
|
|
jsonObject.put("scoreKey","businessInsure");
|
|
|
jsonObject.put("score",contract.getPlanDefine().getBusinessInsure() ? "是" : "否");
|
|
jsonObject.put("score",contract.getPlanDefine().getBusinessInsure() ? "是" : "否");
|
|
|
}
|
|
}
|