From 841273f01aa22a6c78aa9c2cc7d350bf705eacdb Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 05 十二月 2022 15:26:30 +0800 Subject: [PATCH] 提交 --- zhengcaioa/Services/IntentionCustomerService.cs | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/Services/IntentionCustomerService.cs b/zhengcaioa/Services/IntentionCustomerService.cs index e7486d1..44f86b8 100644 --- a/zhengcaioa/Services/IntentionCustomerService.cs +++ b/zhengcaioa/Services/IntentionCustomerService.cs @@ -302,6 +302,19 @@ { query = query.Where( a=>a.Shifoutianjiaweixin == searchEntity.Shifouweixin.Trim()).ToList(); } + if (!string.IsNullOrWhiteSpace(searchEntity.ShifouDianhua)) + { + if (searchEntity.ShifouDianhua != "A") + { + query = query.Where(a => a.Tel == null || a.Tel == "").ToList(); + } + else + { + query = query.Where(a => a.Tel != null && a.Tel != "").ToList(); + } + + } + //if (searchEntity.totalrows == 0) searchEntity.totalrows = query.Count(); -- Gitblit v1.9.1