|
|
|
package com.epmet.service;
|
|
|
|
|
|
|
|
import com.epmet.commons.mybatis.service.BaseService;
|
|
|
|
import com.epmet.commons.tools.page.PageData;
|
|
|
|
import com.epmet.commons.tools.utils.Result;
|
|
|
|
import com.epmet.dto.UserDTO;
|
|
|
|
import com.epmet.dto.UserWechatDTO;
|
|
|
|
import com.epmet.dto.form.*;
|
|
|
|
import com.epmet.dto.result.CreatedTimeByUserIdResultDTO;
|
|
|
|
import com.epmet.dto.result.MyResiUserInfoResultDTO;
|
|
|
|
import com.epmet.dto.result.PasswordLoginUserInfoResultDTO;
|
|
|
|
import com.epmet.entity.UserEntity;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @Description
|
|
|
|
* @IntefaceName UserService
|
|
|
|
* @Author wangc
|
|
|
|
* @date 2020.03.28 14:34
|
|
|
|
*/
|
|
|
|
public interface UserService extends BaseService<UserEntity> {
|
|
|
|
/**
|
|
|
|
* 根据openId、app查询对应终端用户信息
|
|
|
|
*
|
|
|
|
* @param formDTO
|
|
|
|
* @return void
|
|
|
|
* @author yinzuomei
|
|
|
|
* @date 2020-03-16
|
|
|
|
*/
|
|
|
|
Result<UserDTO> selecWxLoginUserInfo(WxLoginUserInfoFormDTO formDTO);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param userWechatDTO
|
|
|
|
* @return 获取居民微信信息,保存到user_wechat表,返回主键
|
|
|
|
* @Author yinzuomei
|
|
|
|
* @Description
|
|
|
|
* @Date 2020/3/16 15:49
|
|
|
|
**/
|
|
|
|
Result<UserDTO> saveOrUpdateUserWechatDTO(UserWechatDTO userWechatDTO);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param passwordLoginUserInfoFormDTO
|
|
|
|
* @return 根据手机号获取用户信息
|
|
|
|
* @Author yinzuomei
|
|
|
|
* @Description
|
|
|
|
* @Date 2020/3/16 15:49
|
|
|
|
**/
|
|
|
|
Result<PasswordLoginUserInfoResultDTO> selectLoginUserInfoByPassword(PasswordLoginUserInfoFormDTO passwordLoginUserInfoFormDTO);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param wxUserInfoFormDTO
|
|
|
|
* @Author sun
|
|
|
|
* @Description 居民端个人信息-同步用户微信信息
|
|
|
|
**/
|
|
|
|
Result updateWxUserInfo(WxUserInfoFormDTO wxUserInfoFormDTO);
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @Description 查询用户注册时间
|
|
|
|
* @param: formDTO
|
|
|
|
* @Author zxc
|
|
|
|
* @CreatedTime 2020/4/27 16:14
|
|
|
|
*/
|
|
|
|
CreatedTimeByUserIdResultDTO createdTimeByUserId(CreatedTimeByUserIdFormDTO formDTO);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @Description 居民端获取个人信息
|
|
|
|
* @param myResiUserInfoFormDTO
|
|
|
|
* @return MyResiUserInfoResultDTO
|
|
|
|
* @author wangc
|
|
|
|
* @date 2020.05.22 19:24
|
|
|
|
**/
|
|
|
|
MyResiUserInfoResultDTO resiMyselfMsg(MyResiUserInfoFormDTO myResiUserInfoFormDTO);
|
|
|
|
}
|