|
@@ -1217,14 +1217,14 @@ public class SubmitRequest {
|
|
|
if (ArrayUtil.indexOf(InsuranceTypeCorrespondence.getDriver(), kindCode) >= 0) {
|
|
if (ArrayUtil.indexOf(InsuranceTypeCorrespondence.getDriver(), kindCode) >= 0) {
|
|
|
kind.sumInsured = BigDecimal.valueOf(kindInfoVo.getAmount());
|
|
kind.sumInsured = BigDecimal.valueOf(kindInfoVo.getAmount());
|
|
|
kind.unitInsured = BigDecimal.valueOf(kindInfoVo.getUnitAmount());
|
|
kind.unitInsured = BigDecimal.valueOf(kindInfoVo.getUnitAmount());
|
|
|
- kind.quantity = Integer.valueOf(kindInfoVo.getDeductibleRate());
|
|
|
|
|
|
|
+ kind.quantity = 1;
|
|
|
}
|
|
}
|
|
|
// 乘客
|
|
// 乘客
|
|
|
else if (ArrayUtil.indexOf(InsuranceTypeCorrespondence.getPassenger(), kindCode) >= 0) {
|
|
else if (ArrayUtil.indexOf(InsuranceTypeCorrespondence.getPassenger(), kindCode) >= 0) {
|
|
|
kind.unitInsured = BigDecimal.valueOf(kindInfoVo.getUnitAmount());
|
|
kind.unitInsured = BigDecimal.valueOf(kindInfoVo.getUnitAmount());
|
|
|
kind.sumInsured =
|
|
kind.sumInsured =
|
|
|
BigDecimal.valueOf(kindInfoVo.getUnitAmount()).multiply(new BigDecimal(vehicle.getSeat()));
|
|
BigDecimal.valueOf(kindInfoVo.getUnitAmount()).multiply(new BigDecimal(vehicle.getSeat()));
|
|
|
- kind.quantity = Integer.valueOf(kindInfoVo.getDeductibleRate());
|
|
|
|
|
|
|
+ kind.quantity = Integer.parseInt(vehicle.getSeat()) - 1;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
// 绝对免赔
|
|
// 绝对免赔
|