| Line 951... |
Line 951... |
| 951 |
PendingOrderPlan pendingOrderPlan = null;
|
951 |
PendingOrderPlan pendingOrderPlan = null;
|
| 952 |
if (poiId > 0) {
|
952 |
if (poiId > 0) {
|
| 953 |
pendingOrderPlan = pendingOrderPlanRepository.selectByPoid(poiId);
|
953 |
pendingOrderPlan = pendingOrderPlanRepository.selectByPoid(poiId);
|
| 954 |
}
|
954 |
}
|
| 955 |
if (pendingOrderPlan != null) {
|
955 |
if (pendingOrderPlan != null) {
|
| 956 |
LOGGER.info("String.valueOf(pendingOrderPlanid {}", String.valueOf(pendingOrderPlan.getPlanId()));
|
- |
|
| 957 |
MobileInsurancePlan productDurationPlan = insuranceService.getPlanById(String.valueOf(pendingOrderPlan.getPlanId()), (float) pendingOrderPlan.getPremiumPrice());
|
956 |
MobileInsurancePlan productDurationPlan = insuranceService.getPlanById(String.valueOf(pendingOrderPlan.getPlanId()), sellingPrice);
|
| 958 |
productDurationPlans.put(pendingOrderPlan.getPlanName(), Collections.singletonList(productDurationPlan));
|
957 |
productDurationPlans.put(pendingOrderPlan.getPlanName(), Collections.singletonList(productDurationPlan));
|
| 959 |
|
958 |
|
| 960 |
} else {
|
959 |
} else {
|
| 961 |
productDurationPlans = insuranceService.getAllPlans(itemId,
|
960 |
productDurationPlans = insuranceService.getAllPlans(itemId,
|
| 962 |
sellingPrice, false);
|
961 |
sellingPrice, false);
|