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

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="org.qinan.safetyeval.infrastructure.dataobject.OrgPositionDO">
        <id column="id" property="id"/>
        <result column="org_id" property="orgId"/>
        <result column="dept_id" property="deptId"/>
        <result column="position_name" property="positionName"/>
        <result column="duty_desc" property="dutyDesc"/>
        <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`, `dept_id`, `position_name`, `duty_desc`, `delete_enum`, `remarks`, `create_name`, `update_name`, `tenant_id`, `version`, `create_time`, `update_time`, `create_id`, `update_id`, `env`
    </sql>

</mapper>
