VehicleMapper.xml
2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?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.admin.modules.mapper.VehicleMapper">
<resultMap id="BaseResultMap" type="cn.com.glsx.admin.modules.entity.Vehicle">
<!--
WARNING - @mbg.generated
-->
<id column="id" jdbcType="INTEGER" property="id" />
<result column="owner_name" jdbcType="VARCHAR" property="ownerName" />
<result column="owner_sex" jdbcType="VARCHAR" property="ownerSex" />
<result column="owner_tel" jdbcType="VARCHAR" property="ownerTel" />
<result column="brand_id" jdbcType="INTEGER" property="brandId" />
<result column="brand_name" jdbcType="VARCHAR" property="brandName" />
<result column="series_id" jdbcType="INTEGER" property="seriesId" />
<result column="series_name" jdbcType="VARCHAR" property="seriesName" />
<result column="model_id" jdbcType="INTEGER" property="modelId" />
<result column="model_name" jdbcType="VARCHAR" property="modelName" />
<result column="color" jdbcType="VARCHAR" property="color" />
<result column="inner_color" jdbcType="VARCHAR" property="innerColor" />
<result column="vin" jdbcType="VARCHAR" property="vin" />
<result column="license_plate" jdbcType="VARCHAR" property="licensePlate" />
<result column="engine" jdbcType="VARCHAR" property="engine" />
<result column="displacement" jdbcType="VARCHAR" property="displacement" />
<result column="mileage" jdbcType="VARCHAR" property="mileage" />
<result column="buy_date" jdbcType="DATE" property="buyDate" />
<result column="description" jdbcType="VARCHAR" property="description" />
<result column="remark" jdbcType="VARCHAR" property="remark" />
<result column="serve_type" jdbcType="TINYINT" property="serveType" />
<result column="validate_status" jdbcType="TINYINT" property="validateStatus" />
<result column="validate_info" jdbcType="VARCHAR" property="validateInfo" />
<result column="workorder_id" jdbcType="INTEGER" property="workorderId" />
<result column="del_flag" jdbcType="TINYINT" property="delFlag" />
<result column="created_date" jdbcType="TIMESTAMP" property="createdDate" />
<result column="created_by" jdbcType="INTEGER" property="createdBy" />
<result column="updated_date" jdbcType="TIMESTAMP" property="updatedDate" />
<result column="updated_by" jdbcType="INTEGER" property="updatedBy" />
</resultMap>
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
-->
id, owner_name, owner_sex, owner_tel, brand_id, brand_name, series_id, series_name,
model_id, model_name, color, inner_color, vin, license_plate, engine, displacement,
mileage, buy_date, description, remark, serve_type, validate_status, validate_info,
workorder_id, del_flag, created_date, created_by, updated_date, updated_by
</sql>
</mapper>