From 38d1869af5bf7068d8ad579177f7cbbe81d00a59 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期二, 22 十月 2024 14:37:49 +0800 Subject: [PATCH] 关于修改可靠性产品重复 --- modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/dao/XhProductModelDao.java | 25 +++++++++++++++++++++++-- 1 files changed, 23 insertions(+), 2 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 b8c107f..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,6 +1,8 @@ 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; @@ -10,7 +12,7 @@ /** - * xh_product_model + * product_model * * @author zt generator * @since 1.0.0 2024-02-29 @@ -21,7 +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, 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