From ea634a3bafe0327d87e33f6c1ab8084ddc0948bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=82=9C=E7=BF=94?= <2307953404@qq.com> Date: Mon, 2 Dec 2024 21:39:10 +0800 Subject: [PATCH] 1 --- asg_form/Controllers/auditAndFilingController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/asg_form/Controllers/auditAndFilingController.cs b/asg_form/Controllers/auditAndFilingController.cs index d052113..d8dad6c 100644 --- a/asg_form/Controllers/auditAndFilingController.cs +++ b/asg_form/Controllers/auditAndFilingController.cs @@ -110,7 +110,8 @@ namespace asg_form.Controllers { if(!query.Any(n => n.relative_id == auditinfo.relativeId)) { au.relative_id = auditinfo.relativeId; - } + } + if (auditinfo.relativeId != null) au.status = "5"; sub.SaveChanges(); return Ok(new { code = 200, message = "成功修改" }); }