| Line 847... |
Line 847... |
| 847 |
|
847 |
|
| 848 |
Map<Float, Float> invalidInsuranceMarginAmount = new HashMap<>();
|
848 |
Map<Float, Float> invalidInsuranceMarginAmount = new HashMap<>();
|
| 849 |
|
849 |
|
| 850 |
for(Map.Entry<String, Float> entry : insuranceSerialNumberItemPrice.entrySet()){
|
850 |
for(Map.Entry<String, Float> entry : insuranceSerialNumberItemPrice.entrySet()){
|
| 851 |
int itemId = this.getItemIdFromSerialNumber(itemIdSerialNumbers, entry.getKey());
|
851 |
int itemId = this.getItemIdFromSerialNumber(itemIdSerialNumbers, entry.getKey());
|
| - |
|
852 |
LOGGER.info("itemIdMopPriceMap.get(itemId).getPrice() -->{}", itemId);
|
| - |
|
853 |
LOGGER.info("itemIdMopPriceMap.get(itemId) -->{}", itemIdMopPriceMap.get(itemId));
|
| 852 |
float itemPurchasePrice = itemIdMopPriceMap.get(itemId).getPrice();
|
854 |
float itemPurchasePrice = itemIdMopPriceMap.get(itemId).getPrice();
|
| 853 |
float itemSellingPrice = entry.getValue();
|
855 |
float itemSellingPrice = entry.getValue();
|
| 854 |
float itemMargin = itemSellingPrice - itemPurchasePrice;
|
856 |
float itemMargin = itemSellingPrice - itemPurchasePrice;
|
| 855 |
float insurancePurchasePrice = insurancePricesMap.get(entry.getValue()).getDealerPrice();
|
857 |
float insurancePurchasePrice = insurancePricesMap.get(entry.getValue()).getDealerPrice();
|
| 856 |
float insuranceSellingPrice = insuranceSerialNumberSaleAmount.get(entry.getKey());
|
858 |
float insuranceSellingPrice = insuranceSerialNumberSaleAmount.get(entry.getKey());
|