65 lines
1.4 KiB
Java
65 lines
1.4 KiB
Java
package com.ruoyi.jarvis.service;
|
|
|
|
import java.util.List;
|
|
import com.ruoyi.jarvis.domain.SuperAdmin;
|
|
|
|
/**
|
|
* 超级管理员Service接口
|
|
*
|
|
* @author ruoyi
|
|
*/
|
|
public interface SuperAdminService
|
|
{
|
|
/**
|
|
* 查询超级管理员
|
|
*
|
|
* @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 ids 需要删除的超级管理员主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteSuperAdminByIds(Long[] ids);
|
|
|
|
/**
|
|
* 删除超级管理员信息
|
|
*
|
|
* @param id 超级管理员主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteSuperAdminById(Long id);
|
|
|
|
SuperAdmin selectSuperAdminByUnionId(Long unionId);
|
|
|
|
SuperAdmin selectSuperAdminByWecomUserId(String wxid);
|
|
}
|