58 lines
1.1 KiB
Java
58 lines
1.1 KiB
Java
package com.ruoyi.cms.service;
|
|
|
|
import java.util.List;
|
|
import com.ruoyi.common.core.domain.entity.AppUser;
|
|
|
|
/**
|
|
* APP用户Service接口
|
|
*
|
|
* @author lishundong
|
|
* @date 2024-09-03
|
|
*/
|
|
public interface IAppUserService
|
|
{
|
|
/**
|
|
* 查询APP用户
|
|
*
|
|
* @param userId APP用户主键
|
|
* @return APP用户
|
|
*/
|
|
public AppUser selectAppUserByUserId(Long userId);
|
|
|
|
/**
|
|
* 查询APP用户列表
|
|
*
|
|
* @param appUser APP用户
|
|
* @return APP用户集合
|
|
*/
|
|
public List<AppUser> selectAppUserList(AppUser appUser);
|
|
|
|
/**
|
|
* 新增APP用户
|
|
*
|
|
* @param appUser APP用户
|
|
* @return 结果
|
|
*/
|
|
public int insertAppUser(AppUser appUser);
|
|
|
|
/**
|
|
* 修改APP用户
|
|
*
|
|
* @param appUser APP用户
|
|
* @return 结果
|
|
*/
|
|
public int updateAppUser(AppUser appUser);
|
|
|
|
/**
|
|
* 批量删除APP用户
|
|
*
|
|
* @param userIds 需要删除的APP用户主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteAppUserByUserIds(Long[] userIds);
|
|
|
|
public AppUser getPhone(String phone);
|
|
|
|
AppUser selectByOpenid(String openid);
|
|
}
|