huyao
2022-09-29 50e0d4741b19a5071741b200ff76a4d69504fce3
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
<?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.dsh.app.mapper.UserMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.dsh.app.entity.User">
    <result column="id" property="id" />
    <result column="del_flag" property="delFlag" />
    <result column="create_date" property="createDate" />
    <result column="update_date" property="updateDate" />
        <result column="name" property="name" />
        <result column="username" property="username" />
        <result column="password" property="password" />
        <result column="gender" property="gender" />
        <result column="balance" property="balance" />
        <result column="integral" property="integral" />
        <result column="birthday" property="birthday" />
        <result column="source" property="source" />
        <result column="id_card" property="idCard" />
        <result column="health_care_number" property="healthCareNumber" />
        <result column="archives_number" property="archivesNumber" />
        <result column="marital_status" property="maritalStatus" />
        <result column="weight" property="weight" />
        <result column="occupation" property="occupation" />
        <result column="family_address" property="familyAddress" />
        <result column="company" property="company" />
        <result column="past_history" property="pastHistory" />
        <result column="total_consume" property="totalConsume" />
        <result column="recently_store_date" property="recentlyStoreDate" />
        <result column="recently_store_id" property="recentlyStoreId" />
        <result column="recently_store_name" property="recentlyStoreName" />
        <result column="open_id" property="openId" />
    </resultMap>
 
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
    id,
    del_flag AS delFlag,
    create_date AS createDate,
    update_date AS updateDate,
        name, username, password, gender, balance, integral, birthday, source, id_card AS idCard, health_care_number AS healthCareNumber, archives_number AS archivesNumber, marital_status AS maritalStatus, weight, occupation, family_address AS familyAddress, company, past_history AS pastHistory, total_consume AS totalConsume, recently_store_date AS recentlyStoreDate, recently_store_id AS recentlyStoreId, recently_store_name AS recentlyStoreName, open_id AS openId
    </sql>
 
</mapper>