<?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.OrgResignApplyMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="org.qinan.safetyeval.infrastructure.dataobject.OrgResignApplyDO">
        <id column="id" property="id"/>
        <result column="org_id" property="orgId"/>
        <result column="personnel_id" property="personnelId"/>
        <result column="applicant_name" property="applicantName"/>
        <result column="apply_time" property="applyTime"/>
        <result column="resign_reason" property="resignReason"/>
        <result column="expected_resign_date" property="expectedResignDate"/>
        <result column="report_file_url" property="reportFileUrl"/>
        <result column="audit_status_code" property="auditStatusCode"/>
        <result column="audit_status_name" property="auditStatusName"/>
        <result column="reject_reason" property="rejectReason"/>
        <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="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`, `org_id`, `personnel_id`, `applicant_name`, `apply_time`, `resign_reason`, `expected_resign_date`, `report_file_url`, `audit_status_code`, `audit_status_name`, `reject_reason`, `delete_enum`, `remarks`, `create_name`, `update_name`, `tenant_id`, `version`, `create_time`, `update_time`, `create_id`, `update_id`, `env`
    </sql>

</mapper>
