|
|
@@ -427,53 +427,11 @@ public class TsaWithdrawController extends TsaBaseController {
|
|
|
|
|
|
GagaMap result = new GagaMap();
|
|
|
|
|
|
- // 2021.10.06 샾링커 관련 주문번호
|
|
|
- if (!StringUtils.isBlank(wmsWithdraw.getCondition()) || !StringUtils.isBlank(wmsWithdraw.getExtmallId())) {
|
|
|
- if (StringUtils.isBlank(wmsWithdraw.getCondition())) {
|
|
|
- wmsWithdraw.setSearch("");
|
|
|
- } else {
|
|
|
- wmsWithdraw.setConditions(wmsWithdraw.getCondition().replaceAll("\r", "").trim().split("\n"));
|
|
|
- }
|
|
|
-
|
|
|
- // 외부몰 주문번호 조회
|
|
|
- Collection<WmsWithdraw> widthdrawExtmallList = deliveryService.getWithdrawExtmallList(wmsWithdraw);
|
|
|
-
|
|
|
- if (widthdrawExtmallList != null && widthdrawExtmallList.size() > 0) {
|
|
|
- int [] ordNoList = new int[widthdrawExtmallList.size()];
|
|
|
- int idx = 0;
|
|
|
- for (WmsWithdraw vo : widthdrawExtmallList) {
|
|
|
- ordNoList[idx] = vo.getOrdNo();
|
|
|
- idx++;
|
|
|
- }
|
|
|
- wmsWithdraw.setOrdNoList(ordNoList);
|
|
|
- } else {
|
|
|
- int [] ordNoList = new int[1];
|
|
|
- ordNoList[0] = 123;
|
|
|
- wmsWithdraw.setOrdNoList(ordNoList);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // 2021.10.06 샾링커 관련 주문번호
|
|
|
- if (!StringUtils.isBlank(wmsWithdraw.getCondition()) || !StringUtils.isBlank(wmsWithdraw.getExtmallId())) {
|
|
|
-
|
|
|
- if (StringUtils.isBlank(wmsWithdraw.getCondition())) {
|
|
|
- wmsWithdraw.setSearch("");
|
|
|
- } else {
|
|
|
- wmsWithdraw.setConditions(wmsWithdraw.getCondition().replaceAll("\r", "").trim().split("\n"));
|
|
|
- }
|
|
|
-
|
|
|
- // 외부몰 주문번호 조회
|
|
|
- Collection<WmsWithdraw> widthdrawExtmallList = deliveryService.getWithdrawExtmallList(wmsWithdraw);
|
|
|
-
|
|
|
- if (widthdrawExtmallList != null && widthdrawExtmallList.size() > 0) {
|
|
|
- int [] ordNoList = new int[widthdrawExtmallList.size()];
|
|
|
- int idx = 0;
|
|
|
- for (WmsWithdraw vo : widthdrawExtmallList) {
|
|
|
- ordNoList[idx] = vo.getOrdNo();
|
|
|
- idx++;
|
|
|
- }
|
|
|
- wmsWithdraw.setOrdNoList(ordNoList);
|
|
|
- }
|
|
|
+ // 2021.11.19
|
|
|
+ if (StringUtils.isBlank(wmsWithdraw.getCondition())) {
|
|
|
+ wmsWithdraw.setSearch("");
|
|
|
+ } else {
|
|
|
+ wmsWithdraw.setConditions(wmsWithdraw.getCondition().replaceAll("\r", "").trim().split("\n"));
|
|
|
}
|
|
|
|
|
|
wmsWithdraw.setPageable(new TscPageRequest(wmsWithdraw.getPageNo() - 1, wmsWithdraw.getPageSize()));
|