Compare commits

..

No commits in common. "2445ae53f120c7330700d5acb957daf7bed3dc8d" and "d26e0667696c38745d1d27c87bcc9e96b0402dc5" have entirely different histories.

1 changed files with 0 additions and 2 deletions

View File

@ -739,8 +739,6 @@ def handover_submit(handover:Handover, user: User, now: Union[datetime.datetime,
recive_mgroup = handover.recive_mgroup recive_mgroup = handover.recive_mgroup
recive_dept = handover.recive_dept recive_dept = handover.recive_dept
if handover.type == Handover.H_CHANGE:
handover.mtype = Handover.H_MERGE
new_batch = handover.new_batch new_batch = handover.new_batch
if new_batch and mtype != Handover.H_MERGE: if new_batch and mtype != Handover.H_MERGE:
raise ParseError("只有合并时才能提供新批次号") raise ParseError("只有合并时才能提供新批次号")