修改
This commit is contained in:
@@ -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<OrganInfoView>(_mapper.ConfigurationProvider);
|
||||
return await organInfoQueryable.ToListAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user