CustomerMapper.xml
3.37 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
48
49
50
51
52
53
54
55
56
57
58
<?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.cdp.modules.mapper.CustomerMapper">
<resultMap id="BaseResultMap" type="cn.com.glsx.cdp.modules.entity.Customer">
<!--
WARNING - @mbg.generated
-->
<id column="id" jdbcType="INTEGER" property="id" />
<result column="org_id" jdbcType="VARCHAR" property="orgId" />
<result column="one_id" jdbcType="VARCHAR" property="oneId" />
<result column="customer_name" jdbcType="VARCHAR" property="customerName" />
<result column="gender" jdbcType="CHAR" property="gender" />
<result column="birthday" jdbcType="TIMESTAMP" property="birthday" />
<result column="age" jdbcType="INTEGER" property="age" />
<result column="customer_phone" jdbcType="VARCHAR" property="customerPhone" />
<result column="customer_email" jdbcType="VARCHAR" property="customerEmail" />
<result column="id_number" jdbcType="VARCHAR" property="idNumber" />
<result column="nationality" jdbcType="VARCHAR" property="nationality" />
<result column="province" jdbcType="VARCHAR" property="province" />
<result column="city" jdbcType="VARCHAR" property="city" />
<result column="region" jdbcType="VARCHAR" property="region" />
<result column="address" jdbcType="VARCHAR" property="address" />
<result column="org_user_id" jdbcType="VARCHAR" property="orgUserId" />
<result column="wechat_id" jdbcType="VARCHAR" property="wechatId" />
<result column="wechat_nickname" jdbcType="VARCHAR" property="wechatNickname" />
<result column="wechat_avatar_url" jdbcType="VARCHAR" property="wechatAvatarUrl" />
<result column="wechat_union_id" jdbcType="VARCHAR" property="wechatUnionId" />
<result column="marital_status" jdbcType="CHAR" property="maritalStatus" />
<result column="occupation" jdbcType="VARCHAR" property="occupation" />
<result column="customer_annual_income" jdbcType="DECIMAL" property="customerAnnualIncome" />
<result column="customer_company" jdbcType="VARCHAR" property="customerCompany" />
<result column="education_level" jdbcType="CHAR" property="educationLevel" />
<result column="notes" jdbcType="VARCHAR" property="notes" />
<result column="add_way" jdbcType="INTEGER" property="addWay" />
<result column="ex_json" jdbcType="LONGVARCHAR" property="exJson" />
<result column="created_by" jdbcType="VARCHAR" property="createdBy" />
<result column="created_time" jdbcType="TIMESTAMP" property="createdTime" />
<result column="updated_by" jdbcType="VARCHAR" property="updatedBy" />
<result column="updated_time" jdbcType="TIMESTAMP" property="updatedTime" />
<result column="del_flag" jdbcType="INTEGER" property="delFlag" />
</resultMap>
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
-->
id, org_id, one_id, customer_name, gender, birthday, age, customer_phone, customer_email,
id_number, nationality, province, city, region, address, org_user_id, wechat_id,
wechat_nickname, wechat_avatar_url, wechat_union_id, marital_status, occupation,
customer_annual_income, customer_company, education_level, notes, add_way, created_by,
created_time, updated_by, updated_time, del_flag
</sql>
<sql id="Blob_Column_List">
<!--
WARNING - @mbg.generated
-->
ex_json
</sql>
</mapper>