From 5421f9a6e5e2b28cc32aa8aa6dec9becd0c1eb3c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 04 一月 2023 10:19:57 +0800
Subject: [PATCH] 业务经理意向和合作客户只能1000,90天意向不转合作就制空业务经理,查询没有业务经理的档案客户和合作客户

---
 zhengcaioa/Services/WfHistoryService.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/zhengcaioa/Services/WfHistoryService.cs b/zhengcaioa/Services/WfHistoryService.cs
index a19cbc3..fe2dc40 100644
--- a/zhengcaioa/Services/WfHistoryService.cs
+++ b/zhengcaioa/Services/WfHistoryService.cs
@@ -350,6 +350,8 @@
 
                          join a in _context.WfHistories
                       on k.Id equals a.RunProcessId
+                        into asssss
+                         from aaa in asssss.DefaultIfEmpty()
 
                          join e in listCode.Where(x => x.CodeTable == "wf_run_process" && x.CodeField == "shenpi_status")
                         on k.ShenpiStatus equals e.CodeSn
@@ -396,7 +398,7 @@
                              Content = k.Content,
                              ShenpiStatusName = eee.Comments,
                               
-                             Deelurl = a.Deelurl,
+                             Deelurl = aaa.Deelurl,
                              Creater = k.Creater,
                              Createtime = k.Createtime,
                              Step = k.Step,

--
Gitblit v1.9.1