|
|
@@ -122,6 +122,11 @@ public class TsaShoplinkerController extends TsaBaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // multi row 검색관련 처리
|
|
|
+ if (!StringUtils.isBlank(shoplinkerSearch.getCondition())) {
|
|
|
+ shoplinkerSearch.setConditionList(shoplinkerSearch.getCondition().replaceAll("\r", "").trim().split("\n"));
|
|
|
+ }
|
|
|
+
|
|
|
shoplinkerSearch.setRegNo(TsaSession.getInfo().getUserNo()); // 엑셀조회시 로그인 사용자의 엑셀 상품조회시 사용
|
|
|
shoplinkerSearch.setPageable(new TscPageRequest(shoplinkerSearch.getPageNo() - 1, shoplinkerSearch.getPageSize()));
|
|
|
shoplinkerSearch.getPageable().setTotalCount(shoplinkerService.getGoodsSendListCount(shoplinkerSearch));
|
|
|
@@ -263,6 +268,11 @@ public class TsaShoplinkerController extends TsaBaseController {
|
|
|
|
|
|
GagaMap result = new GagaMap();
|
|
|
|
|
|
+ // multi row 검색관련 처리
|
|
|
+ if (!StringUtils.isBlank(shoplinkerOrder.getCondition())) {
|
|
|
+ shoplinkerOrder.setConditionList(shoplinkerOrder.getCondition().replaceAll("\r", "").trim().split("\n"));
|
|
|
+ }
|
|
|
+
|
|
|
shoplinkerOrder.setRegNo(TsaSession.getInfo().getUserNo()); // 엑셀조회시 로그인 사용자의 엑셀 상품조회시 사용
|
|
|
shoplinkerOrder.setPageable(new TscPageRequest(shoplinkerOrder.getPageNo() - 1, shoplinkerOrder.getPageSize()));
|
|
|
shoplinkerOrder.getPageable().setTotalCount(shoplinkerService.getShoplinkerOrderListCount(shoplinkerOrder));
|
|
|
@@ -418,6 +428,11 @@ public class TsaShoplinkerController extends TsaBaseController {
|
|
|
|
|
|
GagaMap result = new GagaMap();
|
|
|
|
|
|
+ // multi row 검색관련 처리
|
|
|
+ if (!StringUtils.isBlank(shoplinkerInvoice.getCondition())) {
|
|
|
+ shoplinkerInvoice.setConditionList(shoplinkerInvoice.getCondition().replaceAll("\r", "").trim().split("\n"));
|
|
|
+ }
|
|
|
+
|
|
|
shoplinkerInvoice.setRegNo(TsaSession.getInfo().getUserNo()); // 엑셀조회시 로그인 사용자의 엑셀 상품조회시 사용
|
|
|
shoplinkerInvoice.setPageable(new TscPageRequest(shoplinkerInvoice.getPageNo() - 1, shoplinkerInvoice.getPageSize()));
|
|
|
shoplinkerInvoice.getPageable().setTotalCount(shoplinkerService.getSendInvoiceListCount(shoplinkerInvoice));
|
|
|
@@ -643,12 +658,17 @@ public class TsaShoplinkerController extends TsaBaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // multi row 검색관련 처리
|
|
|
+ if (!StringUtils.isBlank(shoplinkerSearch.getCondition())) {
|
|
|
+ shoplinkerSearch.setConditionList(shoplinkerSearch.getCondition().replaceAll("\r", "").trim().split("\n"));
|
|
|
+ }
|
|
|
+
|
|
|
shoplinkerSearch.setRegNo(TsaSession.getInfo().getUserNo()); // 엑셀조회시 로그인 사용자의 엑셀 상품조회시 사용
|
|
|
shoplinkerSearch.setPageable(new TscPageRequest(shoplinkerSearch.getPageNo() - 1, shoplinkerSearch.getPageSize()));
|
|
|
shoplinkerSearch.getPageable().setTotalCount(shoplinkerService.getStockListCount(shoplinkerSearch));
|
|
|
|
|
|
result.set("pageing", shoplinkerSearch);
|
|
|
- result.set("stockList", shoplinkerService.getStockListList(shoplinkerSearch));
|
|
|
+ result.set("stockList", shoplinkerService.getStockList(shoplinkerSearch));
|
|
|
|
|
|
return result;
|
|
|
}
|