fix: handover revert 可传入handler

This commit is contained in:
caoqianming 2025-08-21 20:13:09 +08:00
parent 41a3418110
commit c58c79a18a
1 changed files with 1 additions and 1 deletions

View File

@ -939,7 +939,7 @@ def handover_submit(handover:Handover, user: User, now: Union[datetime.datetime,
ana_batch_thread(xbatchs=batches)
def handover_revert(handover:Handover, handler:User):
def handover_revert(handover:Handover, handler:User=None):
if handover.submit_time is None:
raise ParseError('该交接单未提交!')
ticket:Ticket = handover.ticket