|
|
@@ -12,6 +12,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="weekSeq" column="week_seq" />
|
|
|
<result property="reportDate" column="report_date" />
|
|
|
<result property="questionCount" column="question_count" />
|
|
|
+ <result property="videoCount" column="video_count" />
|
|
|
<result property="videoTime" column="video_time" />
|
|
|
<result property="questionPlan" column="question_plan" />
|
|
|
<result property="videoPlan" column="video_plan" />
|
|
|
@@ -19,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectLearnPlanStudyVo">
|
|
|
- select id, student_id, plan_id, month_seq, week_seq, report_date, question_count, video_time, question_plan, video_plan, update_time from learn_plan_study
|
|
|
+ select id, student_id, plan_id, month_seq, week_seq, report_date, question_count, video_count, video_time, question_plan, video_plan, update_time from learn_plan_study
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectLearnPlanStudyList" parameterType="LearnPlanStudy" resultMap="LearnPlanStudyResult">
|
|
|
@@ -31,6 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="weekSeq != null "> and week_seq = #{weekSeq}</if>
|
|
|
<if test="reportDate != null "> and report_date = #{reportDate}</if>
|
|
|
<if test="questionCount != null "> and question_count = #{questionCount}</if>
|
|
|
+ <if test="videoCount != null "> and video_count = #{videoCount}</if>
|
|
|
<if test="videoTime != null "> and video_time = #{videoTime}</if>
|
|
|
<if test="questionPlan != null "> and question_plan = #{questionPlan}</if>
|
|
|
<if test="videoPlan != null "> and video_plan = #{videoPlan}</if>
|
|
|
@@ -51,6 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="weekSeq != null">week_seq,</if>
|
|
|
<if test="reportDate != null">report_date,</if>
|
|
|
<if test="questionCount != null">question_count,</if>
|
|
|
+ <if test="videoCount != null">video_count,</if>
|
|
|
<if test="videoTime != null">video_time,</if>
|
|
|
<if test="questionPlan != null">question_plan,</if>
|
|
|
<if test="videoPlan != null">video_plan,</if>
|
|
|
@@ -63,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="weekSeq != null">#{weekSeq},</if>
|
|
|
<if test="reportDate != null">#{reportDate},</if>
|
|
|
<if test="questionCount != null">#{questionCount},</if>
|
|
|
+ <if test="videoCount != null">#{videoCount},</if>
|
|
|
<if test="videoTime != null">#{videoTime},</if>
|
|
|
<if test="questionPlan != null">#{questionPlan},</if>
|
|
|
<if test="videoPlan != null">#{videoPlan},</if>
|
|
|
@@ -79,6 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="weekSeq != null">week_seq = #{weekSeq},</if>
|
|
|
<if test="reportDate != null">report_date = #{reportDate},</if>
|
|
|
<if test="questionCount != null">question_count = #{questionCount},</if>
|
|
|
+ <if test="videoCount != null">video_count = #{videoCount},</if>
|
|
|
<if test="videoTime != null">video_time = #{videoTime},</if>
|
|
|
<if test="questionPlan != null">question_plan = #{questionPlan},</if>
|
|
|
<if test="videoPlan != null">video_plan = #{videoPlan},</if>
|