|
@@ -17,7 +17,7 @@
|
|
|
<result column="subject_" property="subject" />
|
|
<result column="subject_" property="subject" />
|
|
|
<result column="chapter_" property="chapter" />
|
|
<result column="chapter_" property="chapter" />
|
|
|
<result column="picture_url_" property="pictureUrl" />
|
|
<result column="picture_url_" property="pictureUrl" />
|
|
|
- <result column="vedio_url_" property="vedioUrl" />
|
|
|
|
|
|
|
+ <result column="video_url_" property="videoUrl" />
|
|
|
<result column="score_" property="score" />
|
|
<result column="score_" property="score" />
|
|
|
<result column="prize_level_" property="prizeLevel" />
|
|
<result column="prize_level_" property="prizeLevel" />
|
|
|
<result column="is_show_" property="isShow" />
|
|
<result column="is_show_" property="isShow" />
|
|
@@ -43,8 +43,8 @@
|
|
|
SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL
|
|
SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL
|
|
|
</selectKey>
|
|
</selectKey>
|
|
|
-->
|
|
-->
|
|
|
- INSERT INTO student_competition (id_,user_id_,username_,id_card_no_,age_,gender_,grade_,subject_,chapter_,picture_url_,vedio_url_,score_,prize_level_,is_show_,comment_,create_time_,update_time_)
|
|
|
|
|
- VALUES(#{id},#{userId},#{username},#{idCardNo},#{age},#{gender},#{grade},#{subject},#{chapter},#{pictureUrl},#{vedioUrl},#{score},#{prizeLevel},#{isShow},#{comment},NOW(),NOW())
|
|
|
|
|
|
|
+ INSERT INTO student_competition (id_,user_id_,username_,id_card_no_,age_,gender_,grade_,subject_,chapter_,picture_url_,video_url_,score_,prize_level_,is_show_,comment_,create_time_,update_time_)
|
|
|
|
|
+ VALUES(#{id},#{userId},#{username},#{idCardNo},#{age},#{gender},#{grade},#{subject},#{chapter},#{pictureUrl},#{videoUrl},#{score},#{prizeLevel},#{isShow},#{comment},NOW(),NOW())
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
<!-- 根据主键查询一条记录 -->
|
|
@@ -68,8 +68,8 @@
|
|
|
<if test="age != null">
|
|
<if test="age != null">
|
|
|
age_ = #{age},
|
|
age_ = #{age},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="vedioUrl != null">
|
|
|
|
|
- vedio_url_ = #{vedioUrl},
|
|
|
|
|
|
|
+ <if test="videoUrl != null">
|
|
|
|
|
+ video_url_ = #{videoUrl},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="username != null">
|
|
<if test="username != null">
|
|
|
username_ = #{username},
|
|
username_ = #{username},
|