mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
added: 学员登录api
This commit is contained in:
27
src/main/resources/mapper/UserLoginRecordMapper.xml
Normal file
27
src/main/resources/mapper/UserLoginRecordMapper.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="xyz.playedu.api.mapper.UserLoginRecordMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="xyz.playedu.api.domain.UserLoginRecord">
|
||||
<id property="id" column="id" jdbcType="INTEGER"/>
|
||||
<result property="userId" column="user_id" jdbcType="INTEGER"/>
|
||||
<result property="jti" column="jti" jdbcType="VARCHAR"/>
|
||||
<result property="ip" column="ip" jdbcType="VARCHAR"/>
|
||||
<result property="ipArea" column="ip_area" jdbcType="VARCHAR"/>
|
||||
<result property="browser" column="browser" jdbcType="VARCHAR"/>
|
||||
<result property="browserVersion" column="browser_version" jdbcType="VARCHAR"/>
|
||||
<result property="os" column="os" jdbcType="VARCHAR"/>
|
||||
<result property="expired" column="expired" jdbcType="BIGINT"/>
|
||||
<result property="isLogout" column="is_logout" jdbcType="TINYINT"/>
|
||||
<result property="createdAt" column="created_at" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,user_id,jti,
|
||||
ip,ip_area,browser,
|
||||
browser_version,os,expired,
|
||||
is_logout,created_at
|
||||
</sql>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user