From 6108fe7c4f3a329e8d309d00ee0b1761b8c5ad8f Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 16 十二月 2022 09:39:55 +0800
Subject: [PATCH] 请示批复”里增加“招标信息网”的试用权限

---
 zhengcaioa/Services/IntentionCustomerService.cs |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/zhengcaioa/Services/IntentionCustomerService.cs b/zhengcaioa/Services/IntentionCustomerService.cs
index e7486d1..540eeb7 100644
--- a/zhengcaioa/Services/IntentionCustomerService.cs
+++ b/zhengcaioa/Services/IntentionCustomerService.cs
@@ -101,6 +101,10 @@
                     updateproject.Weixiner = intentionCustomer.Weixiner;
                     updateproject.Weixintime = intentionCustomer.Weixintime;
 
+                    if (!string.IsNullOrEmpty(intentionCustomer.HuiyuanId))
+                    {
+                        updateproject.HuiyuanId = intentionCustomer.HuiyuanId;
+                    }
                 }
 
             _context.SaveChanges();
@@ -288,6 +292,7 @@
                          Modifier = a.Modifier,
                          Modifytime = a.Modifytime,
                          CreatetimeName = a.Createtime.ToString("yyyy-MM-dd"),
+                         Customertype = "妗f瀹㈡埛",
                                  Yixiangtime = a.Yixiangtime,
                                  YixiangtimeName = a.Yixiangtime.HasValue? a.Yixiangtime.Value.ToString("yyyy-MM-dd"):"",
                                  Yixiang = a.Yixiang,
@@ -302,6 +307,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