From 7d6825d2344db398b7cd142fea419242db033c54 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 16 十月 2026 14:37:50 +0800
Subject: [PATCH] fix(excel): 修复导入模板下载失败的两个问题

---
 yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/plan/MesCalPlanService.java |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/plan/MesCalPlanService.java b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/plan/MesCalPlanService.java
index 5e141f6..0e091fa 100644
--- a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/plan/MesCalPlanService.java
+++ b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/plan/MesCalPlanService.java
@@ -1,6 +1,8 @@
 package cn.iocoder.yudao.module.mes.service.cal.plan;
 
 import cn.iocoder.yudao.framework.common.pojo.PageResult;
+import cn.iocoder.yudao.module.mes.controller.admin.cal.plan.vo.MesCalPlanImportExcelVO;
+import cn.iocoder.yudao.module.mes.controller.admin.cal.plan.vo.MesCalPlanImportRespVO;
 import cn.iocoder.yudao.module.mes.controller.admin.cal.plan.vo.MesCalPlanPageReqVO;
 import cn.iocoder.yudao.module.mes.controller.admin.cal.plan.vo.MesCalPlanSaveReqVO;
 import cn.iocoder.yudao.module.mes.dal.dataobject.cal.plan.MesCalPlanDO;
@@ -15,7 +17,7 @@
 /**
  * MES 鎺掔彮璁″垝 Service 鎺ュ彛
  *
- * @author 鑺嬮亾婧愮爜
+ * @author 瓒呯骇绠$悊鍛�
  */
 public interface MesCalPlanService {
 
@@ -90,4 +92,14 @@
      */
     PageResult<MesCalPlanDO> getPlanPage(MesCalPlanPageReqVO pageReqVO);
 
+    /**
+     * 鎵归噺瀵煎叆鎺掔彮璁″垝
+     *
+     * @param importList    瀵煎叆鎺掔彮璁″垝鍒楄〃
+     * @param updateSupport 鏄惁鏀寔鏇存柊
+     * @return 瀵煎叆缁撴灉
+     */
+    MesCalPlanImportRespVO importPlanList(List<MesCalPlanImportExcelVO> importList,
+                                          boolean updateSupport);
+
 }

--
Gitblit v1.9.3