61 lines
1.2 KiB
Java
61 lines
1.2 KiB
Java
package com.ruoyi.jarvis.mapper;
|
|
|
|
import java.util.List;
|
|
import com.ruoyi.jarvis.domain.SuperAdmin;
|
|
|
|
/**
|
|
* 超级管理员Mapper接口
|
|
*
|
|
* @author ruoyi
|
|
*/
|
|
public interface SuperAdminMapper
|
|
{
|
|
/**
|
|
* 查询超级管理员
|
|
*
|
|
* @param id 超级管理员主键
|
|
* @return 超级管理员
|
|
*/
|
|
public SuperAdmin selectSuperAdminById(Long id);
|
|
|
|
/**
|
|
* 查询超级管理员列表
|
|
*
|
|
* @param superAdmin 超级管理员
|
|
* @return 超级管理员集合
|
|
*/
|
|
public List<SuperAdmin> selectSuperAdminList(SuperAdmin superAdmin);
|
|
|
|
/**
|
|
* 新增超级管理员
|
|
*
|
|
* @param superAdmin 超级管理员
|
|
* @return 结果
|
|
*/
|
|
public int insertSuperAdmin(SuperAdmin superAdmin);
|
|
|
|
/**
|
|
* 修改超级管理员
|
|
*
|
|
* @param superAdmin 超级管理员
|
|
* @return 结果
|
|
*/
|
|
public int updateSuperAdmin(SuperAdmin superAdmin);
|
|
|
|
/**
|
|
* 删除超级管理员
|
|
*
|
|
* @param id 超级管理员主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteSuperAdminById(Long id);
|
|
|
|
/**
|
|
* 批量删除超级管理员
|
|
*
|
|
* @param ids 需要删除的数据主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteSuperAdminByIds(Long[] ids);
|
|
}
|