|
@@ -56,7 +56,7 @@ namespace VitalService.Service
|
|
|
}
|
|
|
if (!string.IsNullOrWhiteSpace(request.OrganizationCode))
|
|
|
{
|
|
|
- filter = filter & Builders<ServicePackEntity>.Filter.Where(x => string.IsNullOrWhiteSpace(x.OrganizationCode) || x.OrganizationCode == request.OrganizationCode);
|
|
|
+ filter = filter & Builders<ServicePackEntity>.Filter.Where(x => x.OrganizationCode == null || x.OrganizationCode == "" || x.OrganizationCode == request.OrganizationCode);
|
|
|
}
|
|
|
var pageFilter = new DBPageRequest<ServicePackEntity>
|
|
|
{
|