com.github.javaclub.base.mapper.AppUserDAO Maven / Gradle / Ivy
/* Automatic generated by CrudCodeGenerator wirtten by Gerald Chen
*
* @(#)AppUserDAO.java 2023-09-04
*
* Copyright (c) 2023. All Rights Reserved.
*
*/
package com.github.javaclub.base.mapper;
import org.apache.ibatis.annotations.Param;
import com.github.javaclub.base.domain.AppUserDO;
import com.github.javaclub.sword.domain.StandardDAO;
/**
* AppUserDAO
*
* @version $Id: AppUserDAO.java 2023-09-04 21:11:32 Exp $
*/
public interface AppUserDAO extends StandardDAO {
AppUserDO getByOpenId(@Param("openId") String openId);
AppUserDO getByMobile(@Param("mobile") String mobile);
int updateUserMobile(@Param("userId") Long userId, @Param("mobile") String mobile);
int setNickName(AppUserDO user);
int updateAttributes(AppUserDO user);
int setUserStatus(AppUserDO user);
int updateUsernickAndUserAvatar(AppUserDO user);
int unauthorizedMobile(@Param("userId") Long userId);
int bindExtra(@Param("userId") Long userId, @Param("extraId") Long extraId, @Param("extraName") String extraName);
int unbindExtra(@Param("userId") Long userId);
}