From c68b1b877f103b94dcaec1591a2250ad44a6ba68 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Fri, 12 Aug 2022 16:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs b/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs index 6044a8f01..c78e4cd13 100644 --- a/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs +++ b/IRaCIS.Core.Application/Service/Reading/OrganInfoService.cs @@ -42,7 +42,6 @@ namespace IRaCIS.Core.Application.Service { var organInfoQueryable = _organInfoRepository .WhereIf(!inQuery.TypeName.IsNullOrEmpty(),x=>x.TypeName==inQuery.TypeName) - .Where(x=>x.TypeName== inQuery.TypeName) .ProjectTo(_mapper.ConfigurationProvider); return await organInfoQueryable.ToListAsync(); }