From c5cae80b64b4c56601835f4d40e204a462563094 Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期二, 29 八月 2023 16:56:38 +0800 Subject: [PATCH] 修正登录逻辑 取消租户登录选项,修正消息租户会自动创建一个员工账号,一企业账号 --- DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs b/DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs index 728bcd2..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; } -- Gitblit v1.9.1