k.e.book.ddh.mapper.CcAdminMapper.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.CcAdminMapper"> <!-- 通用查询映射结果 --> <resultMap id="BaseResultMap" type="k.e.book.ddh.entity.CcAdminDO"> <id column="id" property="id" /> <result column="username" property="username" /> <result column="nickname" property="nickname" /> <result column="password" property="password" /> <result column="salt" property="salt" /> <result column="avatar" property="avatar" /> <result column="email" property="email" /> <result column="mobile" property="mobile" /> <result column="loginfailure" property="loginfailure" /> <result column="logintime" property="logintime" /> <result column="loginip" property="loginip" /> <result column="createtime" property="createtime" /> <result column="updatetime" property="updatetime" /> <result column="token" property="token" /> <result column="status" property="status" /> </resultMap> <!-- 通用查询结果 --> <sql id="Base_Column_List"> id, username, nickname, password, salt, avatar, email, mobile, loginfailure, logintime, loginip, createtime, updatetime, token, status, </sql> </mapper>