1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
Files
bookshelfplus/bookshelfplus/src/main/java/plus/bookshelf/Dao/Mapper/ThirdPartyUserDOMapper.java

76 lines
2.0 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package plus.bookshelf.Dao.Mapper;
import org.springframework.stereotype.Repository;
import plus.bookshelf.Dao.DO.ThirdPartyUserDO;
@Repository // 添加这个注解Autowired的时候idea就不会报错了
public interface ThirdPartyUserDOMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table third_party_user_info
*
* @mbg.generated
*/
int deleteByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table third_party_user_info
*
* @mbg.generated
*/
int insert(ThirdPartyUserDO row);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table third_party_user_info
*
* @mbg.generated
*/
int insertSelective(ThirdPartyUserDO row);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table third_party_user_info
*
* @mbg.generated
*/
ThirdPartyUserDO selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table third_party_user_info
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(ThirdPartyUserDO row);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table third_party_user_info
*
* @mbg.generated
*/
int updateByPrimaryKey(ThirdPartyUserDO row);
/**
* 通过 uuid + source 查询第三方登录的用户信息
* @param uuid
* @param source
* @return
*/
ThirdPartyUserDO selectByUuidAndSource(String uuid, String source);
/**
* 获取上一步插入数据的主键id
* @return
*/
Integer getLastInsertId();
/**
* 获取用户登录的所有第三方平台信息
* @param userId
* @return
*/
ThirdPartyUserDO[] getUserBindThirdParties(Integer userId);
}