Newer
Older
casic-metering-biz-xichang / casic-metering-dao / src / main / resources / mapper / resource / BizResourceTrainingRegistrationFormMapper.xml
<?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.casic.missiles.mapper.resource.BizResourceTrainingRegistrationFormMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.casic.missiles.model.resource.BizResourceTrainingRegistrationForm">
        <id column="id" property="id" />
        <result column="lab_name" property="labName" />
        <result column="group_name" property="groupName" />
        <result column="file_code" property="fileCode" />
        <result column="file_name" property="fileName" />
        <result column="training_time" property="trainingTime" />
        <result column="position" property="position" />
        <result column="host" property="host" />
        <result column="file_note_code" property="fileNoteCode" />
        <result column="content" property="content" />
        <result column="create_time" property="createTime" />
        <result column="description" property="description" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, lab_name, group_name, file_code, file_name, training_time, position, host, file_note_code, content, create_time, description
    </sql>

</mapper>