From 42bc5778d4dbb3dc4ad2b7d77c56605c7ed092ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LI-CCONG=5C=E6=9D=8E=E8=81=AA=E8=81=AA?= <1441652193@qq.com> Date: Mon, 13 Nov 2023 18:49:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=99=E5=AE=8F=E4=BB=A3=E7=A0=81Api?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuhong_plc/zzz.Api/Controllers/BigScreenController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yuhong_plc/zzz.Api/Controllers/BigScreenController.cs b/yuhong_plc/zzz.Api/Controllers/BigScreenController.cs index cd742fd..5a4498a 100644 --- a/yuhong_plc/zzz.Api/Controllers/BigScreenController.cs +++ b/yuhong_plc/zzz.Api/Controllers/BigScreenController.cs @@ -53,7 +53,8 @@ namespace zzz.Api.Controllers [HttpGet] public async Task< MessageModel>> getPlanOrderList() { - var orderList = await _planOrderRep.QueryAsync(x => x.FSTATUS != "结案" && x.FSTART_DATE.Length > 0); + var completeList = new List() { "结案", "完工" }; + var orderList = await _planOrderRep.QueryAsync(x => !completeList.Contains(x.FSTATUS) && x.FSTART_DATE.Length > 0); var ret = orderList.OrderByDescending(x=>x.FBILL_NO).Take(50).AsEnumerable().MapToList();