瀏覽代碼

샵링커 송장전송

jmh 4 年之前
父節點
當前提交
ffbb67f982

+ 2 - 1
src/main/java/com/style24/admin/biz/web/TsaShoplinkerController.java

@@ -477,7 +477,8 @@ public class TsaShoplinkerController extends TsaBaseController {
 
 				// 2. xml 데이터 생성
 				shoplinkerInvoice.setCustomerId(env.getProperty("shoplinker.customer_id"));
-				shoplinkerService.createShoplinkerInvoiceXml(shoplinkerInvoice);
+				Collection<ShoplinkerInvoice> sendList = shoplinkerService.getShoplinkerInvoiceOrdDtlList();
+				shoplinkerService.createShoplinkerInvoiceXml(shoplinkerInvoice, sendList);
 
 				rtnMap.setString("RESULT_TYPE", "TRUE");
 

+ 1 - 6
src/main/webapp/WEB-INF/views/shoplinker/ShoplinkerInvoiceSendForm.html

@@ -279,12 +279,7 @@
 	/**************** 송장전송 ********************************************************/
 	$('#btnSendInvoice').on('click', function() {
 
-		if( gagajf.isNull($("#searchForm input[name=stDate]").val()) || gagajf.isNull($("#searchForm input[name=edDate]").val())){
-			mcxDialog.alert("배송시작일을 입력해주세요.");
-			return;
-		}
-
-		var alertMsg = "배송시작일자 기준으로 송장전송이 진행됩니다.<br>(현재기준 2주전 목록은 제외됩니다.)<br>진행하시겠습니까?";
+		var alertMsg = "송장전송을 진행하시겠습니까?";
 		mcxDialog.confirm(alertMsg, {
 			cancelBtnText: "취소",
 			sureBtnText: "확인",