|  |  | 
 |  |  | 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; | 
 |  |  | 
 |  |  |  | 
 |  |  |     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(); | 
 |  |  | } |