From d885af635aa994083891031ca47ef124ec81a267 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期三, 23 十月 2024 11:13:53 +0800
Subject: [PATCH] 可靠性仿真评估时后端增加可修设备可修阶段可靠度固定为1的控制

---
 modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/dao/XhProductModelDao.java |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/dao/XhProductModelDao.java b/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/dao/XhProductModelDao.java
index c1bf358..25ab7c6 100644
--- a/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/dao/XhProductModelDao.java
+++ b/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/dao/XhProductModelDao.java
@@ -1,9 +1,9 @@
 package com.zt.life.modules.mainPart.basicInfo.dao;
 
 import com.zt.common.dao.BaseDao;
+import com.zt.life.modules.mainPart.basicInfo.dto.ProductDto;
 import com.zt.life.modules.mainPart.basicInfo.model.ProductImg;
 import com.zt.life.modules.mainPart.basicInfo.model.XhProductModel;
-import com.zt.life.modules.sysPictureBase.model.SysPictureBase;
 import org.apache.ibatis.annotations.Mapper;
 
 
@@ -23,11 +23,26 @@
     List<XhProductModel> getList(Map<String, Object> params);
 
 
-    Integer getNo(Long pid);
+    Integer getNo(Long pid, String productType);
 
     List<XhProductModel> getProductList();
 
-    List<ProductImg> getProduct(Long productId);
+    List<ProductImg> getProduct(Long productId, Long parentId);
 
     List<XhProductModel> getTaskProductList();
+    XhProductModel getById(Long id);
+
+    List<XhProductModel> getByShipId(Long shipId);
+
+    List<XhProductModel> getProductTree(Long shipId);
+
+    void deleteByShipId(Long shipId);
+
+    List<XhProductModel> getProductPath(Long shipId);
+
+    void deleteByPid(Long id);
+
+    Long[] getByPid(Long id);
+
+    List<ProductDto> getProductByShip(Long shipId);
 }

--
Gitblit v1.9.1