fix: correct typo in CountPerson property reference in PlanPercentageRepository
This commit is contained in:
@@ -341,8 +341,8 @@ public class PlanPercentageRepository : RepositoryBase<long, PlanPercentage>, IP
|
||||
|
||||
var plans = _context.InstitutionPlans.AsQueryable();
|
||||
|
||||
if (searchModel.CountPeron > 0)
|
||||
plans = plans.Where(x => x.CountPerson == searchModel.CountPeron);
|
||||
if (searchModel.CountPerson > 0)
|
||||
plans = plans.Where(x => x.CountPerson == searchModel.CountPerson);
|
||||
|
||||
var count = await plans.CountAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user