From 95088616493655e419469a7d1be7af7bb30ae8ab Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期二, 18 二月 2025 15:43:36 +0800
Subject: [PATCH] 增加上片防止重复保存

---
 hangzhoumesParent/common/servicebase/src/main/java/com/mes/glassinfo/service/GlassInfoService.java |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/hangzhoumesParent/common/servicebase/src/main/java/com/mes/glassinfo/service/GlassInfoService.java b/hangzhoumesParent/common/servicebase/src/main/java/com/mes/glassinfo/service/GlassInfoService.java
index 6d78c74..4b69491 100644
--- a/hangzhoumesParent/common/servicebase/src/main/java/com/mes/glassinfo/service/GlassInfoService.java
+++ b/hangzhoumesParent/common/servicebase/src/main/java/com/mes/glassinfo/service/GlassInfoService.java
@@ -1,7 +1,10 @@
 package com.mes.glassinfo.service;
 
-import com.mes.glassinfo.entity.GlassInfo;
 import com.github.yulichang.base.MPJBaseService;
+import com.mes.engineering.entity.Engineering;
+import com.mes.glassinfo.entity.GlassInfo;
+import com.mes.glassinfo.entity.dto.HollowGlassInfoDTO;
+
 import java.util.List;
 import java.util.Map;
 
@@ -18,22 +21,24 @@
        * 鏌ヨ灏忕墖琛�
        * @return List<GlassInfo>
        */
-      List<GlassInfo> selectGlassInfo(String engineeringId);
+      List<GlassInfo> selectGlassInfo(Engineering engineeringId);
       /**
        * 淇濆瓨灏忕墖琛�
        */
       void saveGlassInfo(List<GlassInfo> glassinfo);
 
-      /**
-       * @param flowCardId
-       * @return 鏍规嵁娴佺▼鍗″彿鏌ヨ鐜荤拑淇℃伅
-       */
-      int getGlassInfoCountByFlowCardId(String flowCardId);
+      int getGlassInfoCountByFlowCardId(String flowCardId, int layer);
 
       /**
-       * @return
-       * 鏌ヨ鎵�鏈夊伐绋嬬姸鎬佷笉涓�300涓嶅悓娴佺▼鍗″彿
+       * @return 鏌ヨ鎵�鏈夊伐绋嬬姸鎬佷笉涓�300涓嶅悓娴佺▼鍗″彿
        */
       List<Map<String, Object>> getFlowCardId();
+
+
+    List<HollowGlassInfoDTO> listBySize(String engineerId);
+
+    void deleteTask(String engineerId);
+
+    List<GlassInfo> selectEdgGlassInfo(String engineering);
 }
 

--
Gitblit v1.8.0