| Line 526... |
Line 526... |
| 526 |
|
526 |
|
| 527 |
@RequestMapping(value = "/getInProcessOrder", method = RequestMethod.GET)
|
527 |
@RequestMapping(value = "/getInProcessOrder", method = RequestMethod.GET)
|
| 528 |
public String getInProcessOrder(HttpServletRequest request, Model model) throws ProfitMandiBusinessException {
|
528 |
public String getInProcessOrder(HttpServletRequest request, Model model) throws ProfitMandiBusinessException {
|
| 529 |
|
529 |
|
| 530 |
List<com.spice.profitmandi.dao.entity.transaction.Order> inProcessorder = orderRepository
|
530 |
List<com.spice.profitmandi.dao.entity.transaction.Order> inProcessorder = orderRepository
|
| 531 |
.selectAllOrderBeforeTwoDaysByStatus(OrderStatus.SUBMITTED_FOR_PROCESSING);
|
531 |
.selectAllOrder(OrderStatus.SUBMITTED_FOR_PROCESSING);
|
| 532 |
List<Integer> retailerIds = new ArrayList<>();
|
532 |
List<Integer> retailerIds = new ArrayList<>();
|
| 533 |
List<Integer> orderIds = new ArrayList<>();
|
533 |
List<Integer> orderIds = new ArrayList<>();
|
| 534 |
if (!inProcessorder.isEmpty()) {
|
534 |
if (!inProcessorder.isEmpty()) {
|
| 535 |
for (com.spice.profitmandi.dao.entity.transaction.Order order : inProcessorder) {
|
535 |
for (com.spice.profitmandi.dao.entity.transaction.Order order : inProcessorder) {
|
| 536 |
retailerIds.add(order.getRetailerId());
|
536 |
retailerIds.add(order.getRetailerId());
|
| Line 820... |
Line 820... |
| 820 |
|
820 |
|
| 821 |
@RequestMapping(value = "/getAllNotifyOrder", method = RequestMethod.GET)
|
821 |
@RequestMapping(value = "/getAllNotifyOrder", method = RequestMethod.GET)
|
| 822 |
public String getAllNotifyOrder(HttpServletRequest request, Model model) throws ProfitMandiBusinessException {
|
822 |
public String getAllNotifyOrder(HttpServletRequest request, Model model) throws ProfitMandiBusinessException {
|
| 823 |
List<NotifyOrder> notifyOrders = null;
|
823 |
List<NotifyOrder> notifyOrders = null;
|
| 824 |
List<com.spice.profitmandi.dao.entity.transaction.Order> inProcessorder = orderRepository
|
824 |
List<com.spice.profitmandi.dao.entity.transaction.Order> inProcessorder = orderRepository
|
| 825 |
.selectAllOrderBeforeTwoDaysByStatus(OrderStatus.SUBMITTED_FOR_PROCESSING);
|
825 |
.selectAllOrder(OrderStatus.SUBMITTED_FOR_PROCESSING);
|
| 826 |
|
826 |
|
| 827 |
List<Integer> orderIds = new ArrayList<>();
|
827 |
List<Integer> orderIds = new ArrayList<>();
|
| 828 |
if (!inProcessorder.isEmpty()) {
|
828 |
if (!inProcessorder.isEmpty()) {
|
| 829 |
for (com.spice.profitmandi.dao.entity.transaction.Order order : inProcessorder) {
|
829 |
for (com.spice.profitmandi.dao.entity.transaction.Order order : inProcessorder) {
|
| 830 |
|
830 |
|