package com.ycwl.basic.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ycwl.basic.model.pc.printer.entity.PrinterGuideEntity; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper public interface PrinterGuideMapper extends BaseMapper { List listByPrinterId(@Param("printerId") Integer printerId); List listEnabledByPrinterId(@Param("printerId") Integer printerId); int insertGuide(PrinterGuideEntity entity); int deleteById(@Param("id") Integer id); int updateSortOrder(@Param("id") Integer id, @Param("sortOrder") Integer sortOrder); int toggleEnabled(@Param("id") Integer id); }