fix workflow count

This commit is contained in:
jxxghp
2025-03-15 10:16:25 +08:00
parent f5832d6a25
commit a0a11842cb
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ class WorkflowOper(DbOper):
"""
return Workflow.update_current_action(self._db, wid, action_id, context)
def reset(self, wid: int) -> bool:
def reset(self, wid: int, reset_count: bool = False) -> bool:
"""
重置
"""
return Workflow.reset(self._db, wid)
return Workflow.reset(self._db, wid, reset_count=reset_count)