From 3ca99a04cff5dc72a8f1a4b4448ca592f915237f Mon Sep 17 00:00:00 2001
From: cuilei <ray_tsu1@163.com>
Date: 星期六, 09 八月 2025 17:47:28 +0800
Subject: [PATCH] 生产管控 排产功能接口调整

---
 src/main/java/org/jeecg/modules/mes/service/IMesProductionOrderService.java |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/jeecg/modules/mes/service/IMesProductionOrderService.java b/src/main/java/org/jeecg/modules/mes/service/IMesProductionOrderService.java
index ff8affa..a64fe23 100644
--- a/src/main/java/org/jeecg/modules/mes/service/IMesProductionOrderService.java
+++ b/src/main/java/org/jeecg/modules/mes/service/IMesProductionOrderService.java
@@ -2,6 +2,10 @@
 
 import com.baomidou.mybatisplus.extension.service.IService;
 import org.jeecg.modules.mes.entity.MesProductionOrder;
+import org.jeecg.modules.sap.dto.ProductionOrderDTO;
+
+import java.util.List;
+import java.util.Map;
 
 /**
  * @Description: SAP鐢熶骇璁㈠崟
@@ -11,4 +15,29 @@
  */
 public interface IMesProductionOrderService extends IService<MesProductionOrder> {
 
+    /**
+     * SAP鍚屾鏁版嵁淇濆瓨
+     * @param productionOrderDTOList
+     * @return
+     */
+    Map<String, MesProductionOrder> saveOrUpdateProductionOrder(List<ProductionOrderDTO> productionOrderDTOList);
+
+    /**
+     * 鏍规嵁璁㈠崟鍙锋煡璇�
+     * @param orderCode
+     * @return
+     */
+    MesProductionOrder getByOrderCode(String orderCode);
+
+    /**
+     * 鑾峰彇涓婃鍚屾鍒涘缓鏃ユ湡鏈�鏂扮殑鏃ユ湡
+     * @return
+     */
+    String getLastSyncCreateDate();
+
+    /**
+     *鑾峰彇涓婃鍚屾鏇存柊鏃ユ湡鏈�鏂扮殑鏃ユ湡
+     * @return
+     */
+    String getLastSyncUpdateDate();
 }

--
Gitblit v1.9.3