UserMapper.xml 1.05 KB
<?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="cn.com.glsx.charging.admin.modules.mapper.UserMapper">
    <resultMap id="BaseResultMap" type="cn.com.glsx.charging.modules.entity.User">
        <id column="id" jdbcType="INTEGER" property="id"/>
        <result column="account" jdbcType="VARCHAR" property="account"/>
        <result column="password" jdbcType="VARCHAR" property="password"/>
        <result column="username" jdbcType="VARCHAR" property="username"/>
        <result column="realname" jdbcType="VARCHAR" property="realname"/>
        <result column="phone" jdbcType="VARCHAR" property="phone"/>
        <result column="avatar" jdbcType="VARCHAR" property="avatar"/>
        <result column="salt" jdbcType="VARCHAR" property="salt"/>
    </resultMap>

    <sql id="Base_Column_List">
        id, account, password, username, realname, phone, avatar, salt,
        del_flag, created_date, created_by, updated_date, updated_by
    </sql>

</mapper>