From 98cd7063d9b9a1570dcfbac92f5c2b35d904868b Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 05 七月 2021 15:41:29 +0800
Subject: [PATCH] 修改修改

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

diff --git a/zhengcaioa/Services/IntentionCustomerService.cs b/zhengcaioa/Services/IntentionCustomerService.cs
index 73e8090..22e37f2 100644
--- a/zhengcaioa/Services/IntentionCustomerService.cs
+++ b/zhengcaioa/Services/IntentionCustomerService.cs
@@ -95,6 +95,9 @@
                     updateproject.Dianxiaozhuanyuan = intentionCustomer.Dianxiaozhuanyuan;
                     updateproject.Zuijinzhuizongtime = intentionCustomer.Zuijinzhuizongtime;
 
+                    updateproject.Weixin = intentionCustomer.Weixin;
+                    updateproject.Shifoutianjiaweixin = intentionCustomer.Shifoutianjiaweixin;
+
                 }
 
             _context.SaveChanges();
@@ -227,6 +230,7 @@
                                 
                                     && (string.IsNullOrWhiteSpace(searchEntity.Yixiangtime) || (a.Yixiangtime >= Yixiangtimestart && a.Yixiangtime <= Yixiangtimeend))
                                       && (string.IsNullOrWhiteSpace(searchEntity.Yixiang) || ( a.Yixiang == searchEntity.Yixiang.Trim() && (a.Ywjl == null || a.Ywjl == searchEntity.YwjlYx) ))
+                                       && (string.IsNullOrWhiteSpace(searchEntity.Shifouweixin) || (searchEntity.Shifouweixin == "A" && a.Weixin != null) || (searchEntity.Shifouweixin != "A" && a.Weixin == null))
                          select new IntentionCustomerDTO
                      {
                          Id = a.Id,
@@ -267,7 +271,8 @@
                          ShrTel = a.ShrTel,
                          ShrAddress = a.ShrAddress,
                          Remark = a.Remark,
-
+                         Weixin = a.Weixin,
+                         Shifoutianjiaweixin = a.Shifoutianjiaweixin,
                          RecStatus = a.RecStatus,
                          Modifier = a.Modifier,
                          Modifytime = a.Modifytime,

--
Gitblit v1.9.1