<?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.jeeplus.test.roster.mapper.RosterLeadershipMapper">

    <resultMap id="BaseResultMap" type="com.jeeplus.test.roster.service.dto.RosterLeadershipDTO">
            <id property="id" column="id" jdbcType="VARCHAR"/>
            <result property="createBy.id" column="create_by" jdbcType="VARCHAR"/>
            <result property="createDate" column="create_date" jdbcType="TIMESTAMP"/>
            <result property="updateBy.id" column="update_by" jdbcType="VARCHAR"/>
            <result property="updateDate" column="update_date" jdbcType="TIMESTAMP"/>
            <result property="remarks" column="remarks" jdbcType="VARCHAR"/>
            <result property="delFlag" column="del_flag" jdbcType="INTEGER"/>
            <result property="baseId" column="base_id" jdbcType="VARCHAR"/>
            <result property="debriefType" column="debrief_type" jdbcType="VARCHAR"/>
            <result property="supervisorId" column="supervisor_id" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        rl.id,
        rl.create_by,
        rl.create_date,
        rl.update_by,
        rl.update_date,
        rl.remarks,
        rl.del_flag,
        rl.base_id,
        rl.debrief_type,
        rl.supervisor_id
    </sql>
</mapper>
