修正了字段名错误

This commit is contained in:
2026-06-19 21:03:45 +08:00
parent 52bd2dfd85
commit 212840d4ab

View File

@@ -1341,7 +1341,7 @@ def get_audit_for_collect(shenhe_danhao, yonghuid, shenhe_jilu_id=None):
try:
audit = TixianShenheJilu.objects.select_for_update().get(
shenhe_danhao=shenhe_danhao,
UserUID=yonghuid,
yonghuid=yonghuid,
)
except TixianShenheJilu.DoesNotExist:
return None, '审核记录不存在'