package com.zt.life.core.dao; import com.zt.common.dao.BaseDao; import com.zt.common.entity.MapData; import com.zt.life.core.model.Product; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** * CORE_PRODUCT * * @author zt generator * @since 1.0.0 2020-07-15 */ @Mapper public interface ProductDao extends BaseDao { List getAll(); List getShipList(String localAear); List getSubList(String pid); List getListByIds(@Param("ids") String ids); List getList(Map params); List getLevelList(@Param("level") String level); List getAllNodeByShipId(Long shipId); Long getIdByName(String name); Long getIdByNameByProductId(String name,Long productId); List getProduct(@Param("levels") String levels, @Param("productId") Long productId); List getProjectByProductId(Long sideId); Product getProductIdAndProjectId(); }