|
|
@@ -720,7 +720,7 @@ public class TKSimpleService {
|
|
|
CodeUtil.autoSetter(car::setExhaustScale, commonCarInfoVo::getDisplacement, tkCarModel::getDisplacement); // 排量
|
|
|
CodeUtil.autoSetter(car::setBrandName, commonCarInfoVo::getBrandName, tkCarModel::getModelName); // todo 与 tkCarModel.getModelName() 重复
|
|
|
|
|
|
- car.setSeatFlag("1"); // todo
|
|
|
+ car.setSeatFlag(1); // todo
|
|
|
car.setExhaustScale(tkCarModel.getDisplacement().substring(0, tkCarModel.getDisplacement().indexOf(".")));
|
|
|
car.setPurchasePrice(tkCarModel.getPurchasePrice().substring(0, tkCarModel.getPurchasePrice().indexOf(".")));
|
|
|
car.setVinNo(commonCarInfoVo.getVinNo());
|
|
|
@@ -797,7 +797,7 @@ public class TKSimpleService {
|
|
|
otherInfo.setJyQueryFlag(false);
|
|
|
otherInfo.setOcrFlag(1);
|
|
|
otherInfo.setNewCarFlag("0"); // todo
|
|
|
- otherInfo.setKindLimitCode(""); // 交强或商业,抓包查到没有值
|
|
|
+ otherInfo.setKindLimitCode("1"); // 交强或商业,抓包查到没有值
|
|
|
otherInfo.setRetrospectId(UUID.randomUUID().toString()); // 可回溯ID ,好像不是很需要
|
|
|
|
|
|
|
|
|
@@ -992,6 +992,15 @@ public class TKSimpleService {
|
|
|
preciseInitParam.setFlag(flag);
|
|
|
}
|
|
|
flag.setVipWeekFlag("0");
|
|
|
+
|
|
|
+ // 无商业险
|
|
|
+ if (CollectionUtils.isEmpty(commonQuoteVo.getKindInfoVo())) {
|
|
|
+ flag.setCiFlag("0");
|
|
|
+ }
|
|
|
+ // 无驾意险
|
|
|
+ if (CollectionUtils.isEmpty(commonQuoteVo.getAccidentalDrivings())) {
|
|
|
+ flag.setIsAccidentInsureFlag("0");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// 其他参数
|