Blame view

ExerciseRelatedMappingMapper.xml 1023 Bytes
涂亚平 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
<?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.meishu.mapper.ExerciseRelatedMappingMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.meishu.model.ExerciseRelatedMappingDO">
        <id column="id" property="id" />
        <result column="create_date" property="createDate" />
        <result column="update_date" property="updateDate" />
        <result column="task_id" property="taskId" />
        <result column="tree_id" property="treeId" />
        <result column="exercise_ids" property="exerciseIds" />
        <result column="student_ids" property="studentIds" />
        <result column="exercise_name" property="exerciseName" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        create_date,
        update_date,
        id, task_id, tree_id, exercise_ids, student_ids, exercise_name
    </sql>

</mapper>