From 17ce02ec6fefa4e8b9ac870e2b52dea0942f5597 Mon Sep 17 00:00:00 2001 From: wente <329538422@qq.com> Date: 星期四, 05 十二月 2024 09:40:30 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/dao/XhProductModelDao.java | 31 ++++++++++++++++++++++++++++--- 1 files changed, 28 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 b8c107f..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,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,30 @@ List<XhProductModel> getList(Map<String, Object> params); - Integer getNo(Long pid); + Integer getNo(Long pid, String productType); - List<XhProductModel> getProductList(); + List<XhProductModel> getProductList(Long shipId, Integer type); + + 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); + + List<XhProductModel> getProductListByShip(Long productId, int level1, int level2); + + List<XhProductModel> getProductListAll(); } -- Gitblit v1.9.1