Commit ba3ccc42 authored by hanbing's avatar hanbing

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

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