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.
36 lines
899 B
36 lines
899 B
5 years ago
|
package com.epmet.dao;
|
||
|
|
||
|
import com.epmet.commons.mybatis.dao.BaseDao;
|
||
|
import com.epmet.dto.UserWechatDTO;
|
||
|
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);
|
||
|
|
||
|
/**
|
||
|
* @Description 根据openId查询系统下用户信息,不区分用户、政府端、运营端
|
||
|
* @Param openId
|
||
|
* @return userId
|
||
|
* @Author wangc
|
||
|
* @Date 2020.03.28 13:25
|
||
|
**/
|
||
|
String selectUserIdByOpenId(String openId);
|
||
|
|
||
|
}
|