Commit 3a283b7d authored by 王国存's avatar 王国存

Merge branch 'master' into 'test'

审批-通过/驳回修改

See merge request !15
parents 473bd7dc 5227799c
...@@ -579,10 +579,7 @@ ...@@ -579,10 +579,7 @@
<!--更新问题表的分数,汇总统计使用--> <!--更新问题表的分数,汇总统计使用-->
<update id="updateAnswerScore"> <update id="updateAnswerScore">
UPDATE t_answer UPDATE t_answer SET score = #{score}
<trim prefix="SET" suffixOverrides=",">
<if test="score != null and score != ''">score = #{score}</if>
</trim>
WHERE record_id = #{recordId} and options_id = #{optionsId} WHERE record_id = #{recordId} and options_id = #{optionsId}
</update> </update>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment