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<XhProductModel> {
|
|
List<XhProductModel> getList(Map<String, Object> params);
|
|
|
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);
|
|
List<XhProductModel> getProductListByShip(Long productId, int level1, int level2);
|
}
|