Commit ba3ccc42 authored by hanbing's avatar hanbing

[update] 修改方案后下发状态归零

parent 60ff2548
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
<update id="update"> <update id="update">
update t_base_cross_scheme update t_base_cross_scheme
<set> <set>
status = 0,
<if test="name != null and name != ''"> <if test="name != null and name != ''">
name = #{name}, name = #{name},
</if> </if>
...@@ -72,7 +73,7 @@ ...@@ -72,7 +73,7 @@
</update> </update>
<update id="updateStatus"> <update id="updateStatus">
UPDATE t_base_cross_schedules UPDATE t_base_cross_scheme
SET status = 1 SET status = 1
WHERE id = #{schemeId} WHERE id = #{schemeId}
</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