Blame view

CertClassMapper.xml 2.18 KB
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
<?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.subsidy.mapper.CertClassMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.subsidy.model.CertClassDO">
        <id column="id" property="id" />
        <result column="create_date" property="createDate" />
        <result column="update_date" property="updateDate" />
        <result column="delete_date" property="deleteDate" />
        <result column="cert_id" property="certId" />
        <result column="class_name" property="className" />
        <result column="class_type" property="classType" />
        <result column="class_type_id" property="classTypeId" />
        <result column="course_id" property="courseId" />
        <result column="start_date" property="startDate" />
        <result column="end_date" property="endDate" />
        <result column="is_order" property="isOrder" />
        <result column="is_fast_play" property="isFastPlay" />
        <result column="open_status" property="openStatus" />
        <result column="test_rule" property="testRule" />
        <result column="limit_hour" property="limitHour" />
        <result column="image_class_check" property="imageClassCheck" />
        <result column="image_test_check" property="imageTestCheck" />
        <result column="activity_detection" property="activityDetection" />
        <result column="activity_detection_method" property="activityDetectionMethod" />
        <result column="first_drag_allowed" property="firstDragAllowed" />
        <result column="first_speed_allowed" property="firstSpeedAllowed" />
        <result column="play_snap" property="playSnap" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        create_date,
        update_date,
        delete_date,
        id, cert_id, class_name, class_type, class_type_id, course_id, start_date, end_date, is_order, is_fast_play, open_status, test_rule, limit_hour, image_class_check, image_test_check, activity_detection, activity_detection_method, first_drag_allowed, first_speed_allowed, play_snap
    </sql>

</mapper>