|
@@ -82,6 +82,12 @@
|
|
|
<if test="task_notifier != null" >
|
|
<if test="task_notifier != null" >
|
|
|
task_notifier,
|
|
task_notifier,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="classz_name != null" >
|
|
|
|
|
+ classz_name,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grade_name != null" >
|
|
|
|
|
+ grade_name,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="subject_id != null" >
|
|
<if test="subject_id != null" >
|
|
@@ -117,6 +123,12 @@
|
|
|
<if test="task_notifier != null" >
|
|
<if test="task_notifier != null" >
|
|
|
#{task_notifier,jdbcType=LONGVARCHAR},
|
|
#{task_notifier,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="classz_name != null" >
|
|
|
|
|
+ #{classz_name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grade_name != null" >
|
|
|
|
|
+ #{grade_name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.smartschool.school.po.HomeWork" >
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.smartschool.school.po.HomeWork" >
|
|
@@ -155,6 +167,12 @@
|
|
|
<if test="task_notifier != null" >
|
|
<if test="task_notifier != null" >
|
|
|
task_notifier = #{task_notifier,jdbcType=LONGVARCHAR},
|
|
task_notifier = #{task_notifier,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="classz_name != null" >
|
|
|
|
|
+ classz_name = #{classz_name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grade_name != null" >
|
|
|
|
|
+ grade_name = #{grade_name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where task_id = #{task_id,jdbcType=BIGINT}
|
|
where task_id = #{task_id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
@@ -170,7 +188,9 @@
|
|
|
school_id = #{school_id,jdbcType=BIGINT},
|
|
school_id = #{school_id,jdbcType=BIGINT},
|
|
|
task_context = #{task_context,jdbcType=LONGVARCHAR},
|
|
task_context = #{task_context,jdbcType=LONGVARCHAR},
|
|
|
task_files = #{task_files,jdbcType=LONGVARCHAR},
|
|
task_files = #{task_files,jdbcType=LONGVARCHAR},
|
|
|
- task_notifier = #{task_notifier,jdbcType=LONGVARCHAR}
|
|
|
|
|
|
|
+ task_notifier = #{task_notifier,jdbcType=LONGVARCHAR},
|
|
|
|
|
+ classz_name = #{classz_name,jdbcType=VARCHAR},
|
|
|
|
|
+ grade_name = #{grade_name,jdbcType=VARCHAR}
|
|
|
where task_id = #{task_id,jdbcType=BIGINT}
|
|
where task_id = #{task_id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.usoftchina.smartschool.school.po.HomeWork" >
|
|
<update id="updateByPrimaryKey" parameterType="com.usoftchina.smartschool.school.po.HomeWork" >
|