package com.dy.pmsGlobal.daoPlt; 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 insertSelective(PltProduct record); PltProduct selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(PltProduct record); Long selectSomeCount(Map params); List selectSome(Map params); int deleteLogicById(Long id); List selectAll(Map params); List selectByOrderId(@Param("orderId") Long orderId); String selectMaxCode(); boolean exists(@Param("name") String name, @Param("id") Long id); PltProduct selectByCode(String productCode); }