From a161b6f9ad92f645c20fb3b35ad5617490e7f6d2 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 31 八月 2023 13:13:35 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/DocumentService

---
 DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs b/DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs
index 6c0236b..0d9c2d1 100644
--- a/DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs
+++ b/DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs
@@ -120,21 +120,21 @@
                  
              }
               ).WithCache( 10).ToListAsync();
+            //涓嶅啀閫夋嫨绉熸埛
+            //var ten = await _db.Queryable<TenantInfo>().Where(x => x.IsEn == true && x.IsDel != true && x.ItCode == ItCode)
+            //       .Select(x => new TenderVM
+            //       {
 
-            var ten = await _db.Queryable<TenantInfo>().Where(x => x.IsEn == true && x.IsDel != true && x.ItCode == ItCode)
-                   .Select(x => new TenderVM
-                   {
+            //           Description = x.Description,
+            //           ItCode = ItCode,
+            //           Name = x.Name,
+            //           TenderId = x.Id,
+            //           IsTender = true
 
-                       Description = x.Description,
-                       ItCode = ItCode,
-                       Name = x.Name,
-                       TenderId = x.Id,
-                       IsTender = true
-
-                   }
-              ).WithCache(10).ToListAsync()  ;
-            ten.AddRange(tentlist);
-            return ten;
+            //       }
+            //  ).WithCache(10).ToListAsync()  ;
+            //ten.AddRange(tentlist);
+            return tentlist;
 
         }
 
@@ -209,7 +209,7 @@
                      Job = x.Job,
                       LastUpdateName = x.LastUpdateName,
                        UserName = x.UserName,
-                        
+                        IsLogin = x.IsLogin,
                       
                    
                 }).WithCache(20).FirstAsync();

--
Gitblit v1.9.1