| Line 763... |
Line 763... |
| 763 |
throw new ProfitMandiBusinessException("Escalated Ticket", to, "Could not send Escalated ticket mail");
|
763 |
throw new ProfitMandiBusinessException("Escalated Ticket", to, "Could not send Escalated ticket mail");
|
| 764 |
}
|
764 |
}
|
| 765 |
}
|
765 |
}
|
| 766 |
|
766 |
|
| 767 |
public void gst() throws Exception {
|
767 |
public void gst() throws Exception {
|
| 768 |
List<FofoOrder> fofoOrders = fofoOrderRepository.selectBetweenSaleDate(LocalDate.of(2019, 26, 1).atStartOfDay(), LocalDate.of(2019, 27, 1).atTime(LocalTime.MAX));
|
768 |
List<FofoOrder> fofoOrders = fofoOrderRepository.selectBetweenSaleDate(LocalDate.of(2019, 1, 26).atStartOfDay(), LocalDate.of(2019, 1, 27).atTime(LocalTime.MAX));
|
| 769 |
for(FofoOrder fofoOrder : fofoOrders) {
|
769 |
for(FofoOrder fofoOrder : fofoOrders) {
|
| 770 |
int retailerAddressId = retailerRegisteredAddressRepository.selectAddressIdByRetailerId(fofoOrder.getFofoId());
|
770 |
int retailerAddressId = retailerRegisteredAddressRepository.selectAddressIdByRetailerId(fofoOrder.getFofoId());
|
| 771 |
|
771 |
|
| 772 |
Address retailerAddress = addressRepository.selectById(retailerAddressId);
|
772 |
Address retailerAddress = addressRepository.selectById(retailerAddressId);
|
| 773 |
CustomerAddress customerAddress = customerAddressRepository.selectById(fofoOrder.getCustomerAddressId());
|
773 |
CustomerAddress customerAddress = customerAddressRepository.selectById(fofoOrder.getCustomerAddressId());
|