admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/HelpCenterMapper.java
@@ -2,33 +2,32 @@
import java.util.List;
import com.yeshi.fanli.entity.SystemEnum;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.bus.help.HelpCenter;
import com.yeshi.fanli.exception.HelpCenterException;
import com.yeshi.fanli.exception.config.HelpCenterException;
public interface HelpCenterMapper {
public interface HelpCenterMapper extends BaseMapper<HelpCenter> {
   int deleteByPrimaryKey(Long id);
   int insert(HelpCenter record);
   int insertSelective(HelpCenter record);
   HelpCenter selectByPrimaryKey(Long id);
   int updateByPrimaryKeySelective(HelpCenter record);
   int updateByPrimaryKey(HelpCenter record);
   /**
    * 查询有效
    * @param pageId
    * @param count
    * @param title
    * @param cid
    * @return
    */
   List<HelpCenter> listValid(@Param("pageId") Long pageId, @Param("count") int count,
         @Param("key") String title, @Param("cid") Long cid,@Param("system") SystemEnum system);
   
   
   List<HelpCenter> queryIdAndTitle(@Param("start") int start, @Param("count") int count, @Param("key") String title);
   List<HelpCenter> query(@Param("start") int start, @Param("count") int count,
         @Param("key") String title, @Param("cid") Long cid,
          @Param("orderMode") Integer orderMode,  @Param("state") Integer state,@Param("system") SystemEnum system);
   
   List<HelpCenter> query(@Param("start") int start, @Param("count") int count, @Param("key") String title,
          @Param("orderMode") Integer orderMode);
   long countQuery(@Param("key") String title);
   long countQuery(@Param("key") String title, @Param("cid") Long cid, @Param("state") Integer state,@Param("system") SystemEnum system);
   
   /**
    * 批量删除