<?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="org.qinan.safetyeval.infrastructure.mapper.QualFilingPersonnelMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="org.qinan.safetyeval.infrastructure.dataobject.QualFilingPersonnelDO">
        <id column="id" property="id"/>
        <result column="filing_id" property="filingId"/>
        <result column="source_personnel_id" property="sourcePersonnelId"/>
        <result column="person_name" property="personName"/>
        <result column="person_type_code" property="personTypeCode"/>
        <result column="person_type_name" property="personTypeName"/>
        <result column="position_name" property="positionName"/>
        <result column="title_name" property="titleName"/>
        <result column="gender_code" property="genderCode"/>
        <result column="gender_name" property="genderName"/>
        <result column="birth_date" property="birthDate"/>
        <result column="join_work_date" property="joinWorkDate"/>
        <result column="id_card_no" property="idCardNo"/>
        <result column="current_address" property="currentAddress"/>
        <result column="office_address" property="officeAddress"/>
        <result column="education_code" property="educationCode"/>
        <result column="education_name" property="educationName"/>
        <result column="graduate_school" property="graduateSchool"/>
        <result column="major" property="major"/>
        <result column="qual_scope" property="qualScope"/>
        <result column="publications" property="publications"/>
        <result column="professional_level_cert" property="professionalLevelCert"/>
        <result column="register_engineer_flag" property="registerEngineerFlag"/>
        <result column="ability_declaration" property="abilityDeclaration"/>
        <result column="work_experience" property="workExperience"/>
        <result column="proof_material_url" property="proofMaterialUrl"/>
        <result column="delete_enum" property="deleteEnum"/>
        <result column="remarks" property="remarks"/>
        <result column="create_name" property="createName"/>
        <result column="update_name" property="updateName"/>
        <result column="tenant_id" property="tenantId"/>
        <result column="org_id" property="orgId"/>
        <result column="version" property="version"/>
        <result column="create_time" property="createTime"/>
        <result column="update_time" property="updateTime"/>
        <result column="create_id" property="createId"/>
        <result column="update_id" property="updateId"/>
        <result column="env" property="env"/>
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        `id`, `filing_id`, `source_personnel_id`, `person_name`, `person_type_code`, `person_type_name`, `position_name`, `title_name`, `gender_code`, `gender_name`, `birth_date`, `join_work_date`, `id_card_no`, `current_address`, `office_address`, `education_code`, `education_name`, `graduate_school`, `major`, `qual_scope`, `publications`, `professional_level_cert`, `register_engineer_flag`, `ability_declaration`, `work_experience`, `proof_material_url`, `delete_enum`, `remarks`, `create_name`, `update_name`, `tenant_id`, `org_id`, `version`, `create_time`, `update_time`, `create_id`, `update_id`, `env`
    </sql>

</mapper>
