|
@@ -1143,6 +1143,17 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
jsonObject.put("accidentType", jsonObject.getString("planCode"));
|
|
jsonObject.put("accidentType", jsonObject.getString("planCode"));
|
|
|
huaNongBaseQuoteVo.setAccidentalDrivingVo(jsonObject);
|
|
huaNongBaseQuoteVo.setAccidentalDrivingVo(jsonObject);
|
|
|
return huaNongBaseQuoteVo;
|
|
return huaNongBaseQuoteVo;
|
|
|
|
|
+ }else if(baseQuoteVo.getCompanyId().equals("TKIC1000000")){
|
|
|
|
|
+ //泰康
|
|
|
|
|
+ BaseQuoteVo<Object> taiKangBaseQuoteVo = new BaseQuoteVo<>();
|
|
|
|
|
+ BeanUtils.copyProperties(baseQuoteVo,taiKangBaseQuoteVo);
|
|
|
|
|
+ JSONObject accidentObject = JSONObject.parseObject(JSONObject.toJSONString(taiKangBaseQuoteVo.getAccidentalDrivingVo()));
|
|
|
|
|
+ JSONObject jsonObject = new JSONObject();
|
|
|
|
|
+ jsonObject.put("planCode",accidentObject.getString("projectCode"));
|
|
|
|
|
+ jsonObject.put("planName",accidentObject.getString("projectName"));
|
|
|
|
|
+ jsonObject.put("sumAmount",accidentObject.getString("sumAmount"));
|
|
|
|
|
+ jsonObject.put("sumPremium",accidentObject.getString("sumPremium"));
|
|
|
|
|
+ return taiKangBaseQuoteVo;
|
|
|
}
|
|
}
|
|
|
return null;
|
|
return null;
|
|
|
}
|
|
}
|