|
|
@@ -1262,6 +1262,18 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
jsonObject.put("sumPremium", accidentObject.getString("sumPremium"));
|
|
|
taiKangBaseQuoteVo.setAccidentalDrivingVo(jsonObject);
|
|
|
return taiKangBaseQuoteVo;
|
|
|
+ } else if (baseQuoteVo.getCompanyId().equals("DJPC1000000")) {
|
|
|
+ //大家爬虫
|
|
|
+ BaseQuoteVo<Object> dajiaBaseQuoteVo = new BaseQuoteVo<>();
|
|
|
+ JSONObject accidentObject = JSONObject.parseObject(JSONObject.toJSONString(dajiaBaseQuoteVo.getAccidentalDrivingVo()));
|
|
|
+ JSONObject jsonObject = new JSONObject();
|
|
|
+
|
|
|
+ BeanUtils.copyProperties(baseQuoteVo, dajiaBaseQuoteVo);
|
|
|
+ jsonObject.put("productCode", accidentObject.getString("projectCode"));
|
|
|
+ jsonObject.put("planId", accidentObject.getString("productId"));
|
|
|
+ jsonObject.put("perAmtSum", accidentObject.getString("sumAmount"));
|
|
|
+ jsonObject.put("sumPremium", accidentObject.getString("sumPremium"));
|
|
|
+ return dajiaBaseQuoteVo;
|
|
|
}
|
|
|
return null;
|
|
|
}
|