Commit cc2b2d1f by 钟博

审核排序、修改错误提示

parent d4731f46
...@@ -129,7 +129,7 @@ public List<CostTransferResponse> GetAuditList(int allotId, int menuType, int ro ...@@ -129,7 +129,7 @@ public List<CostTransferResponse> GetAuditList(int allotId, int menuType, int ro
ApplicantDepartment = result.ApplicantDepartment, ApplicantDepartment = result.ApplicantDepartment,
AdoptedDepartment = result.AdoptedDepartment AdoptedDepartment = result.AdoptedDepartment
}).ToList(); }).OrderBy(t=>t.Status).ThenBy(t=>t.AdminStatus).ToList();
response.Add(result); response.Add(result);
} }
...@@ -260,7 +260,7 @@ public bool Applicat(CostTransferRequest request) ...@@ -260,7 +260,7 @@ public bool Applicat(CostTransferRequest request)
var allotStatus = new[] { (int)AllotStates.GenerateSucceed, (int)AllotStates.Archive }; var allotStatus = new[] { (int)AllotStates.GenerateSucceed, (int)AllotStates.Archive };
if (allotStatus.Contains(allot.States)) if (allotStatus.Contains(allot.States))
throw new PerformanceException("绩效已下发"); throw new PerformanceException("绩效已下发或归档");
var transfer = new cost_transfer var transfer = new cost_transfer
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment