From 0091dd076ed7d6dfb06fa820dabd9cf5e738514c Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期四, 07 十一月 2024 17:15:13 +0800
Subject: [PATCH] 仿真评估检查模型时,总体工况模型里未使用的节点,不检查其模型是否存在。

---
 modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/dao/XhProductModelDao.java |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 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 ca3a09a..226ca83 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,6 +1,7 @@
 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 org.apache.ibatis.annotations.Mapper;
@@ -24,7 +25,7 @@
 
     Integer getNo(Long pid, String productType);
 
-    List<XhProductModel> getProductList();
+    List<XhProductModel> getProductList(Long shipId, Integer type);
 
     List<ProductImg> getProduct(Long productId, Long parentId);
 
@@ -33,5 +34,19 @@
 
     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);
+
+    List<XhProductModel> getProductListByShip(Long productId, int level1, int level2);
+
+    List<XhProductModel> getProductListAll();
 }

--
Gitblit v1.9.1