|  |  | 
 |  |  |  | 
 |  |  | import com.dy.pmsGlobal.pojoPlt.PltProduct; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  | import org.apache.ibatis.annotations.Param; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  | import java.util.Map; | 
 |  |  |  | 
 |  |  | @Mapper | 
 |  |  | public interface PltProductMapper { | 
 |  |  |     int insert(PltProduct record); | 
 |  |  |  | 
 |  |  |     int insertSelective(PltProduct record); | 
 |  |  |  | 
 |  |  |     PltProduct selectByPrimaryKey(Long id); | 
 |  |  |  | 
 |  |  |     int updateByPrimaryKeySelective(PltProduct record); | 
 |  |  |  | 
 |  |  |     int updateByPrimaryKey(PltProduct record); | 
 |  |  |  | 
 |  |  |     Long selectSomeCount(Map<String, Object> params); | 
 |  |  |  | 
 |  |  | 
 |  |  |  | 
 |  |  |     int deleteLogicById(Long id); | 
 |  |  |  | 
 |  |  |     List<PltProduct> selectAll(); | 
 |  |  |     List<PltProduct> selectAll(Map<String, Object> params); | 
 |  |  |  | 
 |  |  |     List<PltProduct> selectByOrderId(@Param("orderId") Long orderId); | 
 |  |  |  | 
 |  |  |     String selectMaxCode(); | 
 |  |  |  | 
 |  |  |     boolean exists(@Param("name") String name, @Param("type") String type ,  @Param("id") Long id); | 
 |  |  |  | 
 |  |  |     PltProduct selectByCode(String productCode); | 
 |  |  | } |