| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.service.order;
|
1 |
package com.spice.profitmandi.service.order;
|
| 2 |
|
2 |
|
| 3 |
import com.spice.profitmandi.common.enumuration.SearchType;
|
3 |
import com.spice.profitmandi.common.enumuration.SearchType;
|
| 4 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
4 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 5 |
import com.spice.profitmandi.common.model.*;
|
5 |
import com.spice.profitmandi.common.model.*;
|
| 6 |
import com.spice.profitmandi.dao.entity.fofo.CustomerAddress;
|
- |
|
| 7 |
import com.spice.profitmandi.dao.entity.fofo.CustomerCreditNote;
|
- |
|
| 8 |
import com.spice.profitmandi.dao.entity.fofo.FofoOrder;
|
6 |
import com.spice.profitmandi.dao.entity.fofo.*;
|
| 9 |
import com.spice.profitmandi.dao.entity.fofo.FofoOrderItem;
|
- |
|
| 10 |
import com.spice.profitmandi.dao.enumuration.inventory.ScratchedGift;
|
7 |
import com.spice.profitmandi.dao.enumuration.inventory.ScratchedGift;
|
| 11 |
import org.springframework.http.ResponseEntity;
|
8 |
import org.springframework.http.ResponseEntity;
|
| 12 |
import org.springframework.stereotype.Service;
|
9 |
import org.springframework.stereotype.Service;
|
| 13 |
|
10 |
|
| 14 |
import java.time.LocalDate;
|
11 |
import java.time.LocalDate;
|
| Line 55... |
Line 52... |
| 55 |
|
52 |
|
| 56 |
public float getSales(LocalDateTime onDate);
|
53 |
public float getSales(LocalDateTime onDate);
|
| 57 |
|
54 |
|
| 58 |
public float getSales(LocalDateTime startDate, LocalDateTime endDate);
|
55 |
public float getSales(LocalDateTime startDate, LocalDateTime endDate);
|
| 59 |
|
56 |
|
| - |
|
57 |
void processScratchOffer(FofoOrder fofoOrder) throws ProfitMandiBusinessException;
|
| - |
|
58 |
|
| 60 |
ScratchedGift getSelectedGift(double purchaseAmount);
|
59 |
ScratchedGift getSelectedGift(double purchaseAmount);
|
| 61 |
|
60 |
|
| 62 |
String getInvoiceNumber(int fofoId, String fofoStoreCode);
|
61 |
String getInvoiceNumber(int fofoId, String fofoStoreCode);
|
| 63 |
|
62 |
|
| 64 |
|
63 |
|
| 65 |
public ResponseEntity<?> downloadReportInCsv( org.apache.commons.io.output.ByteArrayOutputStream baos , List<List<?>> rows,String fileName);
|
64 |
public ResponseEntity<?> downloadReportInCsv( org.apache.commons.io.output.ByteArrayOutputStream baos , List<List<?>> rows,String fileName);
|