| Line 630... |
Line 630... |
| 630 |
fofoAvailabilityInfoMap.get(itemId).setMop((float) childItem.getDouble("mop_f"));
|
630 |
fofoAvailabilityInfoMap.get(itemId).setMop((float) childItem.getDouble("mop_f"));
|
| 631 |
}
|
631 |
}
|
| 632 |
} else {
|
632 |
} else {
|
| 633 |
FofoAvailabilityInfo fdi = new FofoAvailabilityInfo();
|
633 |
FofoAvailabilityInfo fdi = new FofoAvailabilityInfo();
|
| 634 |
fdi.setSellingPrice((float) childItem.getDouble("sellingPrice_f"));
|
634 |
fdi.setSellingPrice((float) childItem.getDouble("sellingPrice_f"));
|
| - |
|
635 |
fdi.setMrp((double)tl.getMrp());
|
| 635 |
fdi.setMop((float) childItem.getDouble("mop_f"));
|
636 |
fdi.setMop((float) childItem.getDouble("mop_f"));
|
| 636 |
fdi.setColor(childItem.has("color_s") ? childItem.getString("color_s") : "");
|
637 |
fdi.setColor(childItem.has("color_s") ? childItem.getString("color_s") : "");
|
| 637 |
fdi.setTagId(childItem.getInt("tagId_i"));
|
638 |
fdi.setTagId(childItem.getInt("tagId_i"));
|
| 638 |
fdi.setItem_id(itemId);
|
639 |
fdi.setItem_id(itemId);
|
| 639 |
Item item = itemRepository.selectById(itemId);
|
640 |
Item item = itemRepository.selectById(itemId);
|
| Line 711... |
Line 712... |
| 711 |
}
|
712 |
}
|
| 712 |
} else {
|
713 |
} else {
|
| 713 |
FofoAvailabilityInfo fdi = new FofoAvailabilityInfo();
|
714 |
FofoAvailabilityInfo fdi = new FofoAvailabilityInfo();
|
| 714 |
fdi.setSellingPrice((float) childItem.getDouble("sellingPrice_f"));
|
715 |
fdi.setSellingPrice((float) childItem.getDouble("sellingPrice_f"));
|
| 715 |
fdi.setMop((float) childItem.getDouble("mop_f"));
|
716 |
fdi.setMop((float) childItem.getDouble("mop_f"));
|
| - |
|
717 |
fdi.setMop((float) tl.getMrp());
|
| 716 |
fdi.setColor(childItem.has("color_s") ? childItem.getString("color_s") : "");
|
718 |
fdi.setColor(childItem.has("color_s") ? childItem.getString("color_s") : "");
|
| 717 |
fdi.setTagId(childItem.getInt("tagId_i"));
|
719 |
fdi.setTagId(childItem.getInt("tagId_i"));
|
| 718 |
fdi.setItem_id(itemId);
|
720 |
fdi.setItem_id(itemId);
|
| 719 |
Item item = itemRepository.selectById(itemId);
|
721 |
Item item = itemRepository.selectById(itemId);
|
| 720 |
// In case its tampered glass moq should be 5
|
722 |
// In case its tampered glass moq should be 5
|