From 40b60ccb89d6d50b0ccc577937f462360c7c2d4d Mon Sep 17 00:00:00 2001
From: wente <329538422@qq.com>
Date: 星期三, 13 十一月 2024 15:12:01 +0800
Subject: [PATCH] 修改
---
modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/dao/XhProductModelDao.java | 23 +++++++++++++++++++++--
1 files changed, 21 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 44c197e..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,10 +25,28 @@
Integer getNo(Long pid, String productType);
- List<XhProductModel> getProductList();
+ List<XhProductModel> getProductList(Long shipId, Integer type);
- 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);
+
+ List<XhProductModel> getProductListByShip(Long productId, int level1, int level2);
+
+ List<XhProductModel> getProductListAll();
}
--
Gitblit v1.9.1