mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
59
60
61
62
63
64
65
66
67
68
<?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.panzhihua.service_community.dao.ComVeteransPopulationDAO">
 
        <!-- 通用查询映射结果 -->
        <resultMap id="BaseResultMap" type="com.panzhihua.service_community.model.dos.ComVeteransPopulationDO">
                    <id column="id" property="id" />
                    <result column="population_id" property="populationId" />
                    <result column="street_id" property="streetId" />
                    <result column="community_id" property="communityId" />
                    <result column="name" property="name" />
                    <result column="card_no" property="cardNo" />
                    <result column="phone" property="phone" />
                    <result column="person_status" property="personStatus" />
                    <result column="organization" property="organization" />
                    <result column="photo" property="photo" />
                    <result column="regiter_nature" property="regiterNature" />
                    <result column="enlist_date" property="enlistDate" />
                    <result column="retire_date" property="retireDate" />
                    <result column="person_category" property="personCategory" />
                    <result column="house_situation" property="houseSituation" />
                    <result column="house_situation_other" property="houseSituationOther" />
                    <result column="build_area" property="buildArea" />
                    <result column="employment_situation" property="employmentSituation" />
                    <result column="incumbency_type" property="incumbencyType" />
                    <result column="employment_situation_other" property="employmentSituationOther" />
                    <result column="endowment_insurance" property="endowmentInsurance" />
                    <result column="medical_insurance" property="medicalInsurance" />
                    <result column="annual_income" property="annualIncome" />
                    <result column="father_healthy" property="fatherHealthy" />
                    <result column="mother_healthy" property="motherHealthy" />
                    <result column="spouse_healthy" property="spouseHealthy" />
                    <result column="son_healthy" property="sonHealthy" />
                    <result column="daughter_dealthy" property="daughterDealthy" />
                    <result column="main_difficulty" property="mainDifficulty" />
                    <result column="other_difficulty" property="otherDifficulty" />
                    <result column="main_demand" property="mainDemand" />
                    <result column="main_demand_other" property="mainDemandOther" />
                    <result column="academic_training" property="academicTraining" />
                    <result column="is_veterans_training" property="isVeteransTraining" />
                    <result column="education_before_enlistment" property="educationBeforeEnlistment" />
                    <result column="re_education" property="reEducation" />
                    <result column="major" property="major" />
                    <result column="major_other" property="majorOther" />
                    <result column="once_engaged_industry" property="onceEngagedIndustry" />
                    <result column="once_engaged_industry_other" property="onceEngagedIndustryOther" />
                    <result column="intended_place_of_employment" property="intendedPlaceOfEmployment" />
                    <result column="intended_place_of_employment_other" property="intendedPlaceOfEmploymentOther" />
                    <result column="unemploymed_engaged_industry" property="unemploymedEngagedIndustry" />
                    <result column="unemploymed_engaged_industry_other" property="unemploymedEngagedIndustryOther" />
                    <result column="is_business" property="isBusiness" />
                    <result column="business_desire" property="businessDesire" />
                    <result column="remark" property="remark" />
                    <result column="fill_unit" property="fillUnit" />
                    <result column="fill_person" property="fillPerson" />
                    <result column="fill_person_phone" property="fillPersonPhone" />
                    <result column="create_at" property="createAt" />
                    <result column="create_by" property="createBy" />
                    <result column="update_at" property="updateAt" />
                    <result column="update_by" property="updateBy" />
        </resultMap>
 
        <!-- 通用查询结果列 -->
        <sql id="Base_Column_List">
        id, population_id, street_id, community_id, name, card_no, phone, person_status, organization, photo, regiter_nature, enlist_date, retire_date, person_category, house_situation, house_situation_other, build_area, employment_situation, incumbency_type, employment_situation_other, endowment_insurance, medical_insurance, annual_income, father_healthy, mother_healthy, spouse_healthy, son_healthy, daughter_dealthy, main_difficulty, other_difficulty, main_demand, main_demand_other, academic_training, is_veterans_training, education_before_enlistment, re_education, major, major_other, once_engaged_industry, once_engaged_industry_other, intended_place_of_employment, intended_place_of_employment_other, unemploymed_engaged_industry, unemploymed_engaged_industry_other, is_business, business_desire, remark, fill_unit, fill_person, fill_person_phone, create_at, create_by, update_at, update_by
    </sql>
 
</mapper>