feat: wpr 不做删除

This commit is contained in:
caoqianming 2025-08-07 15:07:03 +08:00
parent 40eb07eb12
commit 783f288926
1 changed files with 3 additions and 3 deletions

View File

@ -41,9 +41,9 @@ class Wpr(BaseModel):
if wpr:
ins:Wpr = wpr
if wpr and mb is None and wm is None and ins.version <= 0: # 相当于撤回操作
wpr.delete()
return
# if wpr and mb is None and wm is None and ins.version <= 0: # 相当于撤回操作
# wpr.delete()
# return
elif number:
ins_x = cls.objects.filter(number=number).order_by("-update_time").first()
if ins_x: