From 439f10462e6b1ab0ebd454f53c2156c6fab24266 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 14 十一月 2022 11:12:46 +0800 Subject: [PATCH] 抓取的项目, 已确认,未确认 未确认为橙色 客户档案管理 有无手机号,未确认为橙色 客户资料页面查看访问记录 --- zhengcaioa/Services/AdmAttendanceService.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/zhengcaioa/Services/AdmAttendanceService.cs b/zhengcaioa/Services/AdmAttendanceService.cs index a663443..d536dad 100644 --- a/zhengcaioa/Services/AdmAttendanceService.cs +++ b/zhengcaioa/Services/AdmAttendanceService.cs @@ -118,6 +118,8 @@ && (string.IsNullOrWhiteSpace(searchEntity.DeptId) || b.DeptId == searchEntity.DeptId.Trim()) && (string.IsNullOrWhiteSpace(searchEntity.Userid) || b.DeptId == searchEntity.Userid.Trim()) && (string.IsNullOrWhiteSpace(searchEntity.UserName) || b.UserName.Contains(searchEntity.UserName.Trim())) + && (string.IsNullOrWhiteSpace(searchEntity.YearMonth) || a.Year == DateTime.Parse(searchEntity.YearMonth.Trim()+"-01").Year) + && (string.IsNullOrWhiteSpace(searchEntity.YearMonth) || a.Month == DateTime.Parse(searchEntity.YearMonth.Trim() + "-01").Month) select new AdmAttendanceDTO { Id = a.Id, @@ -150,7 +152,7 @@ - if (searchEntity.totalrows == 0) + //if (searchEntity.totalrows == 0) searchEntity.totalrows = query.Count(); var rolelist = query.Skip((searchEntity.page - 1) * searchEntity.rows).Take(searchEntity.rows).ToList(); -- Gitblit v1.9.1