From db227144dedfb5fb5b1e94e8c8b14eab9eb7462f Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 01 十二月 2022 13:32:50 +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