k.e.book.ddh.mapper.CcUserTokenMapper.xml Maven / Gradle / Ivy
<?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="k.e.book.ddh.mapper.CcUserTokenMapper"> <!-- 通用查询映射结果 --> <resultMap id="BaseResultMap" type="k.e.book.ddh.entity.CcUserTokenDO"> <id column="id" property="id" /> <result column="token" property="token" /> <result column="user_id" property="userId" /> <result column="login_ip" property="loginIp" /> <result column="createtime" property="createtime" /> <result column="expiretime" property="expiretime" /> <result column="created_at" property="createdAt" /> <result column="updated_at" property="updatedAt" /> <result column="deleted_at" property="deletedAt" /> </resultMap> <!-- 通用查询结果 --> <sql id="Base_Column_List"> id, token, user_id, login_ip, createtime, expiretime, created_at, updated_at, deleted_at, </sql> </mapper>