|
|
@@ -32,6 +32,7 @@ import com.style24.core.biz.service.TscNaverPayService;
|
|
|
import com.style24.core.biz.service.TscOrderChangeService;
|
|
|
import com.style24.core.biz.service.TscOrderRefundService;
|
|
|
import com.style24.core.biz.service.TscOrderService;
|
|
|
+import com.style24.core.biz.service.TscWmsService;
|
|
|
import com.style24.core.support.env.TscConstants;
|
|
|
import com.style24.core.support.message.TscMessageByLocale;
|
|
|
import com.style24.persistence.TscPageRequest;
|
|
|
@@ -83,6 +84,9 @@ public class TsaOrderChangeController extends TsaBaseController {
|
|
|
@Autowired
|
|
|
private TscMailService coreMailService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private TscWmsService coreWmsService;
|
|
|
+
|
|
|
@Autowired
|
|
|
private Environment env;
|
|
|
|
|
|
@@ -1119,6 +1123,13 @@ public class TsaOrderChangeController extends TsaBaseController {
|
|
|
|
|
|
// TODO
|
|
|
// WMS IF TABLE 내 정보 업데이트 처리 필요
|
|
|
+ Order order = new Order();
|
|
|
+ order.setChgerZipcode(orderChange.getChgerZipcode());
|
|
|
+ order.setChgerBaseAddr(orderChange.getChgerBaseAddr());
|
|
|
+ order.setChgerDtlAddr(orderChange.getChgerDtlAddr());
|
|
|
+ order.setChgerRtnMemo(orderChange.getChgerRtnMemo());
|
|
|
+ order.setOrdChgSq(orderChange.getOrdChgSq());
|
|
|
+ coreWmsService.updateWmsRecallChangeAddr(order);
|
|
|
} catch (Exception e) {
|
|
|
result.set("status", GagaResponseStatus.FAIL.getCode());
|
|
|
result.set("message", message.getMessage("FAIL_0002"));
|