package com.ltkj.hosp.mapper;
|
|
import java.util.List;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.ltkj.hosp.domain.Wxuser;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* 微信用户Mapper接口
|
*
|
* @author ltkj
|
* @date 2022-05-27
|
*/
|
@Mapper
|
public interface AbucoderWxuserMapper extends BaseMapper<Wxuser> {
|
/**
|
* 查询微信用户
|
*
|
* @param id 微信用户主键
|
* @return 微信用户
|
*/
|
public Wxuser selectAbucoderWxuserById(Long id);
|
|
/**
|
* 查询微信用户列表
|
*
|
* @param abucoderWxuser 微信用户
|
* @return 微信用户集合
|
*/
|
public List<Wxuser> selectAbucoderWxuserList(Wxuser abucoderWxuser);
|
|
/**
|
* 新增微信用户
|
*
|
* @param abucoderWxuser 微信用户
|
* @return 结果
|
*/
|
public int insertAbucoderWxuser(Wxuser abucoderWxuser);
|
|
/**
|
* 修改微信用户
|
*
|
* @param abucoderWxuser 微信用户
|
* @return 结果
|
*/
|
public int updateAbucoderWxuser(Wxuser abucoderWxuser);
|
|
/**
|
* 删除微信用户
|
*
|
* @param id 微信用户主键
|
* @return 结果
|
*/
|
public int deleteAbucoderWxuserById(Long id);
|
|
/**
|
* 批量删除微信用户
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteAbucoderWxuserByIds(String[] ids);
|
|
/**
|
* 通过openid查询相关信息
|
*
|
* @param openid
|
* @return
|
*/
|
Wxuser selectAbucoderWxuserOpenID(String openid);
|
|
}
|