GarUserMapper.xml 1.29 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="com.trash.garbage.mapper.GarUserMapper">

    <resultMap id="BaseResultMap" type="com.trash.garbage.pojo.domain.GarUser">
            <id property="garUserId" column="gar_user_id" jdbcType="VARCHAR"/>
            <result property="garUserTel" column="gar_user_tel" jdbcType="BIGINT"/>
            <result property="garUserName" column="gar_user_name" jdbcType="VARCHAR"/>
            <result property="garUserType" column="gar_user_type" jdbcType="VARCHAR"/>
            <result property="garUserCarNum" column="gar_user_car_num" jdbcType="VARCHAR"/>
            <result property="garUserDelFlag" column="gar_user_del_flag" jdbcType="INTEGER"/>
            <result property="garCreateTime" column="gar_create_time" jdbcType="TIMESTAMP"/>
            <result property="garUpdateTime" column="gar_update_time" jdbcType="TIMESTAMP"/>
            <result property="garRemark" column="gar_remark" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        gar_user_id,gar_user_tel,gar_user_name,
        gar_user_type,gar_user_car_num,gar_user_del_flag,
        gar_create_time,gar_update_time,gar_remark
    </sql>
</mapper>