管道基础大数据平台系统开发-【后端】-Server
13693261870
2024-03-25 b6b0cb226fcf184525ee7b36af3a09471e9c0057
src/main/java/com/lf/server/mapper/sys/AuthMapper.java
@@ -15,7 +15,7 @@
@ResponseBody
public interface AuthMapper {
    /**
     * 根据表名查询记录数
     * 查询记录数
     *
     * @param name 名称
     * @return 记录数
@@ -23,14 +23,32 @@
    public Integer selectCount(String name);
    /**
     * 根据表名分页查询
     * 分页查询
     *
     * @param name 名称
     * @param limit  记录表
     * @param name   名称
     * @param limit  记录数
     * @param offset 偏移量
     * @return 列表
     */
    public List<AuthEntity> selectByPage(String name, Integer limit, Integer offset);
    /**
     * 根据菜单查询记录数
     *
     * @param menuid
     * @return
     */
    public Integer selectCountForMenu(Integer menuid);
    /**
     * 根据菜单分页查询
     *
     * @param menuid
     * @param limit
     * @param offset
     * @return
     */
    public List<AuthEntity> selectByPageForMenu(Integer menuid, Integer limit, Integer offset);
    /**
     * 插入一条
@@ -43,10 +61,10 @@
    /**
     * 插入多条
     *
     * @param authEntity
     * @param list
     * @return
     */
    public Integer insertAuths(List<AuthEntity> authEntity);
    public Integer insertAuths(List<AuthEntity> list);
    /**
     * 删除一条
@@ -81,10 +99,9 @@
    public AuthEntity selectAuth(int id);
    /**
     * 查询全部数据
     * 查询所有
     *
     * @return
     */
    public List<AuthEntity> selectAuthAll();
}