You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.hai.service;
|
|
|
|
|
|
|
|
import com.hai.entity.HighUser;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @ClassName: HighUserService
|
|
|
|
* @Description: 用户管理
|
|
|
|
* @author: 袁野
|
|
|
|
* @date: 2019/10/28 9:46
|
|
|
|
* @Copyright: 2021 www.high.com Inc. All rights reserved.
|
|
|
|
*/
|
|
|
|
public interface HighUserService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @Title: getListUser
|
|
|
|
* @Description: 查询用户列表
|
|
|
|
* @Date: 2021/03/09 10:23
|
|
|
|
* @author: Sum1Dream
|
|
|
|
* @param: [map] map参数
|
|
|
|
* @return: java.util.List<com.hai.entity.HighUser>
|
|
|
|
* @throws Exception 抛出异常
|
|
|
|
*/
|
|
|
|
|
|
|
|
List<HighUser> getListUser(Map<String , String> map) throws Exception;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @Title: findByUserId
|
|
|
|
* @Description: 查询用户详情
|
|
|
|
* @Date: 2021/03/09 10:23
|
|
|
|
* @author: Sum1Dream
|
|
|
|
* @param: userId 用户id
|
|
|
|
* @return: HighUser
|
|
|
|
*/
|
|
|
|
HighUser findByUserId(Long userId);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @Author 胡锐
|
|
|
|
* @Description 根据微信openId 查询用户
|
|
|
|
* @Date 2021/3/10 22:44
|
|
|
|
**/
|
|
|
|
HighUser findByOpenId(String openId);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @Author 胡锐
|
|
|
|
* @Description 根据手机号 查询用户
|
|
|
|
* @Date 2021/3/10 22:55
|
|
|
|
**/
|
|
|
|
HighUser findByPhone(String phone);
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @Title: updateUser
|
|
|
|
* @Description: 修改用户信息
|
|
|
|
* @author: Sum1Dream
|
|
|
|
* @Date: 2021/03/09 11:23
|
|
|
|
* @param: [highUser] 用户信息
|
|
|
|
* @return: com.hai.entity.HighUser
|
|
|
|
*/
|
|
|
|
void updateUser(HighUser highUser);
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @Title: insertUser
|
|
|
|
* @Description: 新增用户
|
|
|
|
* @author: Sum1Dream
|
|
|
|
* @Date: 2021/03/09 11:23
|
|
|
|
* @param: [highUser] 用户信息
|
|
|
|
* @return: com.hai.entity.HighUser
|
|
|
|
*/
|
|
|
|
void insertUser(HighUser highUser);
|
|
|
|
|
|
|
|
}
|