From b0c779d759f286b65d018bbff2bdc9ca51c9a92e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=82=9C=E7=BF=94?= <2307953404@qq.com> Date: Tue, 12 Nov 2024 16:23:43 +0800 Subject: [PATCH] 1 --- asg_form/Controllers/AssignmentController.cs | 2 +- asg_form/Controllers/auditAndFilingController.cs | 2 +- asg_form/Controllers/config.cs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/asg_form/Controllers/AssignmentController.cs b/asg_form/Controllers/AssignmentController.cs index 7495cf4..8371a3d 100644 --- a/asg_form/Controllers/AssignmentController.cs +++ b/asg_form/Controllers/AssignmentController.cs @@ -286,7 +286,7 @@ namespace asg_form.Controllers t.status == "3" ? 1 : t.status == "2" ? 0 : 10) - .ThenByDescending(n => n.priority == "5" ? 5 : + .ThenBy(n => n.priority == "5" ? 5 : n.priority == "4" ? 4 : n.priority == "3" ? 3 : n.priority == "2" ? 2 : diff --git a/asg_form/Controllers/auditAndFilingController.cs b/asg_form/Controllers/auditAndFilingController.cs index edc0394..f875091 100644 --- a/asg_form/Controllers/auditAndFilingController.cs +++ b/asg_form/Controllers/auditAndFilingController.cs @@ -107,7 +107,7 @@ namespace asg_form.Controllers { proj_no = auditinfo.projNo, proj_name = auditinfo.projName, budget_use = auditinfo.budgetUse, - status = auditinfo.status, + status = "4", budget_name = auditinfo.budgetName, biz_type = auditinfo.bizType, budget_id = auditinfo.budgetId, diff --git a/asg_form/Controllers/config.cs b/asg_form/Controllers/config.cs index 3173ee7..bbd69ec 100644 --- a/asg_form/Controllers/config.cs +++ b/asg_form/Controllers/config.cs @@ -64,7 +64,6 @@ using(TestDbContext db=new TestDbContext()){ [Route("api/v1/admin/config/byTitle")] [HttpPost] - [Authorize] public async Task> config_get_title([FromBody] string title) {