|
|
@@ -1,22 +1,21 @@
|
|
|
package com.style24.core.biz.service;
|
|
|
|
|
|
-import com.style24.core.biz.dao.TscWmsDao;
|
|
|
-import com.style24.core.biz.dao.TscDeliveryDao;
|
|
|
-import com.style24.core.support.env.TscConstants;
|
|
|
-import com.style24.persistence.domain.WmsDelivery;
|
|
|
-import com.style24.persistence.domain.Order;
|
|
|
-import com.style24.persistence.domain.ErpStock;
|
|
|
-
|
|
|
-import com.style24.core.biz.service.TscErpService;
|
|
|
-
|
|
|
-import lombok.extern.slf4j.Slf4j;
|
|
|
-
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Collection;
|
|
|
+
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
+import com.style24.core.biz.dao.TscDeliveryDao;
|
|
|
+import com.style24.core.biz.dao.TscWmsDao;
|
|
|
+import com.style24.core.support.env.TscConstants;
|
|
|
+import com.style24.persistence.domain.ErpStock;
|
|
|
+import com.style24.persistence.domain.Order;
|
|
|
+import com.style24.persistence.domain.WmsDelivery;
|
|
|
+
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* Wms Service
|
|
|
@@ -134,6 +133,7 @@ public class TscWmsService {
|
|
|
* @author moon
|
|
|
* @since 2021. 03. 16
|
|
|
*/
|
|
|
+ @Transactional("wmsTxnManager")
|
|
|
public void updateWmsCancel(Collection<Order> ordCancelList) {
|
|
|
// 주문번호, 주문상세번호, 변경수량
|
|
|
// ordNo, ordDtlNo , chgQty
|
|
|
@@ -176,5 +176,7 @@ public class TscWmsService {
|
|
|
// 사은품 취소
|
|
|
wmsDao.updateWmsIfDeliveryOrderGiftCancel(sData);
|
|
|
}
|
|
|
+
|
|
|
+ int i = 100/0;
|
|
|
}
|
|
|
}
|