From c888afad7b611e6341b8e733eff5e651ae82695b Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 10 六月 2021 14:58:43 +0800 Subject: [PATCH] 计件登记,考勤设计 --- zhengcaioa/Services/ProjectService.cs | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/Services/ProjectService.cs b/zhengcaioa/Services/ProjectService.cs index 2543a63..765ddb6 100644 --- a/zhengcaioa/Services/ProjectService.cs +++ b/zhengcaioa/Services/ProjectService.cs @@ -301,6 +301,20 @@ sql.Append(" )"); } + + if (!string.IsNullOrWhiteSpace(searchEntity.fblx)) + { + if (searchEntity.fblx == "A") + { + sql.Append(" and a.fblx is not null "); + } + else + { + sql.Append(" and a.fblx is null "); + } + + + } if (!string.IsNullOrWhiteSpace(searchEntity.StartTimestar)) { -- Gitblit v1.9.1