| Line 21... |
Line 21... |
| 21 |
import org.apache.poi.xssf.streaming.SXSSFSheet;
|
21 |
import org.apache.poi.xssf.streaming.SXSSFSheet;
|
| 22 |
import org.apache.poi.xssf.streaming.SXSSFWorkbook;
|
22 |
import org.apache.poi.xssf.streaming.SXSSFWorkbook;
|
| 23 |
import org.apache.poi.xssf.usermodel.XSSFRow;
|
23 |
import org.apache.poi.xssf.usermodel.XSSFRow;
|
| 24 |
import org.apache.poi.xssf.usermodel.XSSFSheet;
|
24 |
import org.apache.poi.xssf.usermodel.XSSFSheet;
|
| 25 |
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
25 |
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
| 26 |
import org.slf4j.Logger;
|
26 |
import org.apache.logging.log4j.Logger;
|
| 27 |
import org.slf4j.LoggerFactory;
|
27 |
import org.apache.logging.log4j.LogManager;
|
| 28 |
|
28 |
|
| 29 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
29 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 30 |
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
|
30 |
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
|
| 31 |
import com.spice.profitmandi.common.model.InventoryItemAgingValue;
|
31 |
import com.spice.profitmandi.common.model.InventoryItemAgingValue;
|
| 32 |
import com.spice.profitmandi.common.model.ItemCompleteLedgerModel;
|
32 |
import com.spice.profitmandi.common.model.ItemCompleteLedgerModel;
|
| Line 46... |
Line 46... |
| 46 |
private static final String MOP = "MOP";
|
46 |
private static final String MOP = "MOP";
|
| 47 |
private static final String SUPPORT_PRICE = "Support Price";
|
47 |
private static final String SUPPORT_PRICE = "Support Price";
|
| 48 |
private static final String START_DATE = "Start Date";
|
48 |
private static final String START_DATE = "Start Date";
|
| 49 |
private static final String TAG_LISTING = "Tag Listing";
|
49 |
private static final String TAG_LISTING = "Tag Listing";
|
| 50 |
|
50 |
|
| 51 |
private static final Logger LOGGER = LoggerFactory.getLogger(ExcelUtils.class);
|
51 |
private static final Logger LOGGER = LogManager.getLogger(ExcelUtils.class);
|
| 52 |
|
52 |
|
| 53 |
public static void main(String[] args) throws Throwable{
|
53 |
public static void main(String[] args) throws Throwable{
|
| 54 |
//List<Integer> intervals = Arrays.asList(5, 10, 15, 20, 25);
|
54 |
//List<Integer> intervals = Arrays.asList(5, 10, 15, 20, 25);
|
| 55 |
//writeInventoryItemAgingModels(inventoryItemAgingModels, intervals);
|
55 |
//writeInventoryItemAgingModels(inventoryItemAgingModels, intervals);
|
| 56 |
}
|
56 |
}
|