2025-10-15 17:38:13 +08:00
|
|
|
package com.cdzy.user.service;
|
|
|
|
|
|
|
|
|
|
import com.cdzy.user.model.dto.EbikeUserPageDto;
|
|
|
|
|
import com.cdzy.user.model.entity.EbikeUser;
|
|
|
|
|
import com.cdzy.user.model.vo.EbikeUserVo;
|
|
|
|
|
import com.mybatisflex.core.paginate.Page;
|
|
|
|
|
import com.mybatisflex.core.service.IService;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 用户基本信息 服务层
|
|
|
|
|
*
|
2025-10-21 09:57:21 +08:00
|
|
|
* @author: yanglei
|
|
|
|
|
* @since: 2025-10-15 09:30
|
2025-10-15 17:38:13 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public interface EbikeUserService extends IService<EbikeUser> {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询分页数据。
|
|
|
|
|
*
|
|
|
|
|
* @param userPageDto 分页查询条件
|
|
|
|
|
* @return 分页数据
|
|
|
|
|
*/
|
|
|
|
|
Page<EbikeUserVo> queryPage(EbikeUserPageDto userPageDto);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据手机号获取用户信息
|
|
|
|
|
* @param mobile 手机号
|
|
|
|
|
* @return 用户信息
|
|
|
|
|
*/
|
|
|
|
|
EbikeUser getUserByMobile(String mobile);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据用户微信openId获取详细信息
|
|
|
|
|
* @param openId 微信openId
|
|
|
|
|
* @return 用户信息
|
|
|
|
|
*/
|
|
|
|
|
EbikeUserVo getUserByOpenId(String openId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 用户注销
|
|
|
|
|
*
|
|
|
|
|
* @param ebikeUser 用户信息
|
|
|
|
|
*/
|
2025-10-29 14:06:51 +08:00
|
|
|
void deRegister(EbikeUser ebikeUser);
|
2025-10-15 17:38:13 +08:00
|
|
|
}
|