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.

37 lines
976 B

package com.epmet.dao;
import com.epmet.commons.mybatis.dao.BaseDao;
import com.epmet.dto.UserDTO;
import com.epmet.dto.UserWechatDTO;
import com.epmet.dto.form.WxLoginUserInfoFormDTO;
import com.epmet.entity.UserWechatEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* @Description 用户-微信关系DAO
* @IntefaceName UserWechatDao
* @Author wangc
* @date 2020.03.28 14:45
*/
@Mapper
public interface UserWechatDao extends BaseDao<UserWechatEntity>{
/**
* @Description 根据userId更新 用户-微信关系表里的属性
* @Param userWechatDTO
* @return int
* @Author wangc
* @Date 2020.03.28 16:25
**/
int updateByUserId(UserWechatDTO userWechatDTO);
/**
* @return com.epmet.dto.UserDTO
* @param formDTO
* @Author yinzuomei
* @Description 根据appopenId查询用户是否存在
* @Date 2020/3/30 13:06
**/
UserDTO selectUserDTOByOpenId(WxLoginUserInfoFormDTO formDTO);
}