|
|
@@ -550,16 +550,16 @@ public class TsaSettleController extends TsaBaseController {
|
|
|
settleService.updateSalesUploadListInterfaceNo(dataMap);
|
|
|
}
|
|
|
|
|
|
-// // 매출업로드
|
|
|
-// GagaMap salesMap = hansaeErp.uploadErpSales(erp.getErpGb(), uploadList);
|
|
|
-//
|
|
|
-// if (salesMap == null || salesMap.isEmpty()) {
|
|
|
-// log.error("{}-{} 브랜드의 매출반영결과 데이터가 없습니다. 한세 ERP 시스템담당자에게 문의해 주세요.", erp.getErpGb(), brandCd);
|
|
|
-// continue;
|
|
|
-// }
|
|
|
-//
|
|
|
-// // 매출반영결과 처리
|
|
|
-// settleService.updateSalesUploadResult(erp.getErpGb(), salesMap);
|
|
|
+ // 매출업로드
|
|
|
+ GagaMap salesMap = hansaeErp.uploadErpSales(erp.getErpGb(), uploadList);
|
|
|
+
|
|
|
+ if (salesMap == null || salesMap.isEmpty()) {
|
|
|
+ log.error("{}-{} 브랜드의 매출반영결과 데이터가 없습니다. 한세 ERP 시스템담당자에게 문의해 주세요.", erp.getErpGb(), brandCd);
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
+ // 매출반영결과 처리
|
|
|
+ settleService.updateSalesUploadResult(erp.getErpGb(), salesMap);
|
|
|
|
|
|
log.info("{}-{} 브랜드의 매출반영 업로드 성공", erp.getErpGb(), brandCd);
|
|
|
}
|