pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java
@@ -2,6 +2,7 @@ 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; @@ -22,5 +23,11 @@ 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); }