package com.tzy.base.mapper;

import com.tzy.base.dto.AppUserInfoDtos;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppUserMapper {
    /**
     * 单条查询
     * @param unionid
     * @return
     */
    public AppUserInfoDtos getAppUserInfoByUnionid(String unionid);

    /**
     * 查询多条
     * @param appUserInfo
     * @return
     */
    public List<AppUserInfoDtos> searchAppUserInfos(@Param("appUserInfo") AppUserInfoDtos appUserInfo);

    /**
     * 更新用户信息
     * @param appUserInfo
     * @return
     */
//    public int updateAppBaseUser(AppUserInfoDto appUserInfo);

}
