package com.mindskip.xzs.repository; import com.mindskip.xzs.domain.UserToken; import org.apache.ibatis.annotations.Mapper; /** * @version 2.2.0 * @description: 用户令牌 * Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司 * @date 2021 /9/7 9:45 */ @Mapper public interface UserTokenMapper extends BaseMapper { int deleteByPrimaryKey(Integer id); int insert(UserToken record); int insertSelective(UserToken record); UserToken selectByPrimaryKey(Integer id); int updateByPrimaryKeySelective(UserToken record); int updateByPrimaryKey(UserToken record); /** * 获取令牌 * * @param token the token * @return the token */ UserToken getToken(String token); }