package com.platform.yijia.dao; import com.platform.yijia.pojo.AppUserInfo; import com.platform.yijia.pojo.AppUserInfoExample; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; public interface AppUserInfoMapper { //根据手机号和油站获取用户信息 AppUserInfo selectAppUserInfoByMobilePhoneAndStationId(AppUserInfo appUserInfo); //获取用户信息 AppUserInfo getAppUserInfo(AppUserInfo appUserInfo); /** * 判断使用小程序支付的用户是否关注公众号 * @param map * @return */ String whetherFollowGzh(Map map); /*** * 判断该App用户是否已注册 * @param map * @return */ int isExistAppUser(Map map); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table app_user_info * * @mbg.generated */ long countByExample(AppUserInfoExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table app_user_info * * @mbg.generated */ int deleteByExample(AppUserInfoExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table app_user_info * * @mbg.generated */ int deleteByPrimaryKey(Integer userId); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table app_user_info * * @mbg.generated */ int insert(AppUserInfo record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table app_user_info * * @mbg.generated */ int insertSelective(AppUserInfo record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table app_user_info * * @mbg.generated */ List selectByExample(AppUserInfoExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table app_user_info * * @mbg.generated */ AppUserInfo selectByPrimaryKey(Integer userId); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table app_user_info * * @mbg.generated */ int updateByExampleSelective(@Param("record") AppUserInfo record, @Param("example") AppUserInfoExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table app_user_info * * @mbg.generated */ int updateByExample(@Param("record") AppUserInfo record, @Param("example") AppUserInfoExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table app_user_info * * @mbg.generated */ int updateByPrimaryKeySelective(AppUserInfo record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table app_user_info * * @mbg.generated */ int updateByPrimaryKey(AppUserInfo record); //更新unionID void updateAppUserInfo(AppUserInfo appUserInfo); //查询客户 List getUserInfo(AppUserInfo appUserInfo); }