|
@@ -61,15 +61,16 @@ public class TscWmsService {
|
|
|
String chk2 = "N";
|
|
String chk2 = "N";
|
|
|
|
|
|
|
|
WmsDelivery wmsRtn = getWmsRealStock(productNo, skuCode);
|
|
WmsDelivery wmsRtn = getWmsRealStock(productNo, skuCode);
|
|
|
-
|
|
|
|
|
- Collection<Erp> erpRtnList = hansaeErp.getErpRealStockList(HansaeErp.ErpGb.HANSAE_DR.value(), styleCd, colorCd, sizeCd);
|
|
|
|
|
|
|
+
|
|
|
|
|
+ // 매장재고 체크는 주석 처리 (운영하지 않는데 불필요 리소스 낭비로 판단)
|
|
|
|
|
+ //Collection<Erp> erpRtnList = hansaeErp.getErpRealStockList(HansaeErp.ErpGb.HANSAE_DR.value(), styleCd, colorCd, sizeCd);
|
|
|
|
|
|
|
|
if (wmsRtn != null) {
|
|
if (wmsRtn != null) {
|
|
|
list.add(wmsRtn);
|
|
list.add(wmsRtn);
|
|
|
} else {
|
|
} else {
|
|
|
chk1 = "Y";
|
|
chk1 = "Y";
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ /*
|
|
|
if (erpRtnList != null) {
|
|
if (erpRtnList != null) {
|
|
|
for (Erp data : erpRtnList) {
|
|
for (Erp data : erpRtnList) {
|
|
|
WmsDelivery tmp = new WmsDelivery();
|
|
WmsDelivery tmp = new WmsDelivery();
|
|
@@ -80,7 +81,9 @@ public class TscWmsService {
|
|
|
} else {
|
|
} else {
|
|
|
chk2 = "Y";
|
|
chk2 = "Y";
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ */
|
|
|
|
|
+ chk2 = "Y";
|
|
|
|
|
+
|
|
|
if ("Y".equals(chk1) && "Y".equals(chk2)) {
|
|
if ("Y".equals(chk1) && "Y".equals(chk2)) {
|
|
|
list = null;
|
|
list = null;
|
|
|
}
|
|
}
|