|
|
@@ -139,16 +139,19 @@ public class TssOrderController extends TssBaseController {
|
|
|
* @since 2020. 12. 01
|
|
|
*/
|
|
|
@GetMapping("/seller/unorder/excel/list")
|
|
|
- public ResponseEntity<InputStreamResource> downloadPickingGoodsExcelList(HttpServletRequest request) throws Exception {
|
|
|
+ public ResponseEntity<InputStreamResource> downloadPickingGoodsExcelList(HttpServletRequest request, Order param) throws Exception {
|
|
|
String excelfileName = "입점출고목록_" + GagaDateUtil.getTodayDateTime() + ".xlsx";
|
|
|
String excelFilePath = GagaFileUtil.getConcatenationPath(env.getProperty("download.path"), "excel", excelfileName);
|
|
|
|
|
|
- Order order = new Order();
|
|
|
- order.setRegNo(TssSession.getInfo().getUserNo());
|
|
|
- order.setSearch("EXCEL");
|
|
|
+ param.setRegNo(TssSession.getInfo().getUserNo());
|
|
|
+ param.setSearch("EXCEL");
|
|
|
+
|
|
|
+ log.info("CHECK ORD_DTL_NO_ARR :::: {}", param.getOrdDtlNoArr());
|
|
|
+
|
|
|
+ coreOrderService.geSellerUnorderExcelList(param, excelFilePath);
|
|
|
+
|
|
|
+ log.info("CHECK OUT :::: ");
|
|
|
|
|
|
- coreOrderService.geSellerUnorderExcelList(order, excelFilePath);
|
|
|
-
|
|
|
return GagaFileUtil.writeFile(request, excelFilePath);
|
|
|
}
|
|
|
|