From 6db5272e2df8a27942f10c03d93183fc9b01e22a Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期一, 04 九月 2023 18:05:39 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
standard-server/src/main/java/com/yuanchu/mom/service/TechnologyService.java | 61 ++++++++++++++++++++++++++++++
1 files changed, 60 insertions(+), 1 deletions(-)
diff --git a/standard-server/src/main/java/com/yuanchu/mom/service/TechnologyService.java b/standard-server/src/main/java/com/yuanchu/mom/service/TechnologyService.java
index b6935c8..6147b41 100644
--- a/standard-server/src/main/java/com/yuanchu/mom/service/TechnologyService.java
+++ b/standard-server/src/main/java/com/yuanchu/mom/service/TechnologyService.java
@@ -2,6 +2,7 @@
import com.yuanchu.mom.pojo.Technology;
import com.baomidou.mybatisplus.extension.service.IService;
+import com.yuanchu.mom.pojo.dto.TechnologyDto;
import java.util.List;
import java.util.Map;
@@ -16,5 +17,63 @@
*/
public interface TechnologyService extends IService<Technology> {
- List<Map<String, Object>> selectTechnology(String technologyName);
+ /**
+ * 鏍规嵁鍨嬪彿id鏌ヨ鐗堟湰
+ * @return
+ */
+ List<Integer> selectVerByTec(Integer specificationsId);
+
+ /**
+ * 鍙充晶鏁版嵁灞曠ず-->宸ヨ壓璺嚎
+ * @param specificationsId 鍨嬪彿id
+ * @param version 鐗堟湰
+ * @return
+ */
+ List<Map<String,Object>> selectAllTec(Integer specificationsId, Integer version,String message);
+
+ /**
+ * 鍙充笂瑙掓柊澧�-->宸ヨ壓璺嚎-->閫夋嫨璁惧缁�
+ * @return
+ */
+ List<Map<String, Object>> chooseDevice();
+
+ /**
+ * 鍙充笂瑙掓柊澧�-->宸ヨ壓璺嚎-->閫夋嫨宸ュ簭
+ * @return
+ */
+ List<Map<String,Object>> chooseFather(Integer specificationsId);
+
+ /**
+ * 鍙充笂瑙掓柊澧�-->宸ヨ壓璺嚎
+ * @param specificationsId
+ * @param technologyDto
+ */
+ void addTechnology(Integer specificationsId, TechnologyDto technologyDto);
+
+ /**
+ * 濉啓鐢熶骇瀹氶,榧犳爣绉诲紑淇濆瓨
+ * @param id
+ * @param productionQuota
+ * @return
+ */
+ Integer write(Integer id, Integer productionQuota);
+
+ /**
+ * 娣诲姞鍚屼竴涓瀷鍙峰伐鑹鸿矾绾跨殑鐗堟湰
+ * @param specificationsId
+ * @return
+ */
+ Integer addVersion(Integer specificationsId,Integer version);
+
+ /**
+ * 鍒犻櫎
+ * @param id
+ */
+ void delTechById(Integer id);
+
+ /**
+ * 鎵归噺鍒犻櫎
+ * @param ids
+ */
+ void delAllTech(String ids);
}
--
Gitblit v1.9.3