Commit 4590dbfb by Aeolus

update

parent 721a17b7
......@@ -249,6 +249,10 @@ def run_edit_hatch():
hatch.summary = summary
if left_count is not None:
hatch.left_count = left_count
if left_count > 0:
hatch.status = 1
else:
hatch.status = 2
if total_count is not None:
hatch.total_count = total_count
db.session.add(hatch)
......
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