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; import java.util.List; import java.util.Map; /** * product_model * * @author zt generator * @since 1.0.0 2024-02-29 */ @Mapper public interface XhProductModelDao extends BaseDao { List getList(Map params); Integer getNo(Long pid, String productType); List getProductList(); List getProduct(Long productId, Long parentId); List getTaskProductList(); XhProductModel getById(Long id); List getByShipId(Long shipId); List getProductTree(Long shipId); void deleteByShipId(Long shipId); List getProductPath(Long shipId); void deleteByPid(Long id); Long[] getByPid(Long id); List getProductByShip(Long shipId); List getProductListByShip(Long productId, int level1, int level2); }