Commit c08ea1a1 by guominglei

修改BUG

parent 86f1684c
......@@ -331,22 +331,14 @@
<update id="stopByRunId" parameterType="string">
update run_recording set flow_status = '3'
where recording_id in(
select recording_id
from run_recording
where run_id = #{runId,jdbcType=VARCHAR}
where run_id = #{runId,jdbcType=VARCHAR}
and flow_status in ('1', '2')
)
</update>
<update id="startByRunId" parameterType="string">
update run_recording set flow_status = '2'
where recording_id in(
select recording_id
from run_recording
where run_id = #{runId,jdbcType=VARCHAR}
where run_id = #{runId,jdbcType=VARCHAR}
and flow_status = '3'
)
</update>
</mapper>
\ No newline at end of file
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