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 = "成功修改" }); }