|
|
@@ -165,4 +165,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where title = #{item.title}
|
|
|
</foreach>
|
|
|
</update>
|
|
|
+ <update id="updateFsCourseQuestionTitle">
|
|
|
+ update fs_course_question_bank
|
|
|
+ <set>
|
|
|
+ <if test="item.sort != null">sort = #{item.sort},</if>
|
|
|
+ <if test="item.type != null">type = #{item.type},</if>
|
|
|
+ <if test="item.status != null">status = #{item.status},</if>
|
|
|
+ <if test="item.question != null">question = #{item.question},</if>
|
|
|
+ <if test="item.answer != null">answer = #{item.answer},</if>
|
|
|
+ <if test="item.createBy != null">create_by = #{item.createBy},</if>
|
|
|
+ <if test="item.questionType != null">question_type = #{item.questionType},</if>
|
|
|
+ <if test="item.questionSubType != null">question_sub_type = #{item.questionSubType},</if>
|
|
|
+ <if test="item.userId != null">user_id = #{item.userId},</if>
|
|
|
+ </set>
|
|
|
+ where title = #{item.title}
|
|
|
+ </update>
|
|
|
</mapper>
|