From 67ac603f410319a0d999e5f493c8ef2d74163fe1 Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期一, 15 九月 2025 19:44:47 +0800
Subject: [PATCH] 保养标准:点检标准导入 点检名称修改/ 设备台账导入

---
 src/main/java/org/jeecg/modules/mes/service/IMesProductionOrderService.java |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 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..c95f441 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,36 @@
  */
 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();
+
+    /**
+     * 鍚屾SAP鐢熶骇璁㈠崟鐨勬渶鏂扮姸鎬�
+     * @param id
+     * @return
+     */
+    boolean syncSapProductionOrder(String id);
 }

--
Gitblit v1.9.3