From 0c39f5388d95dbc41c47285a8c2dfda57a019d5b Mon Sep 17 00:00:00 2001 From: xyc <jc_xiong@hotmail.com> Date: 星期三, 08 一月 2025 08:47:49 +0800 Subject: [PATCH] 修改:“可修设备可靠度为1”通过给算法包传递参数固定为1、type为fixed的failure_model来实现。 --- modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/dao/XhProductModelDao.java | 13 ++++++++++++- 1 files changed, 12 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 0f705e1..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); @@ -38,4 +39,14 @@ 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