diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WageSchedule/WageScheduleService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WageSchedule/WageScheduleService.cs index fc76d6aed..3b93a4a88 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WageSchedule/WageScheduleService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WageSchedule/WageScheduleService.cs @@ -88,8 +88,18 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration } if (!queryParam["PeopleType"].IsEmpty()) { - dp.Add("PeopleType", "%" + queryParam["PeopleType"].ToString() + "%", DbType.String); - strSql.Append(" AND t.PeopleType like @PeopleType "); + dp.Add("PeopleType", queryParam["PeopleType"].ToString(), DbType.String); + strSql.Append(" AND t.PeopleType = @PeopleType "); + } + if (!queryParam["PayGrade"].IsEmpty()) + { + dp.Add("PayGrade", queryParam["PayGrade"].ToString(), DbType.String); + strSql.Append(" AND t.PayGrade = @PayGrade "); + } + if (!queryParam["PostType"].IsEmpty()) + { + dp.Add("PostType", queryParam["PostType"].ToString(), DbType.String); + strSql.Append(" AND t.PostType = @PostType "); } if (!queryParam["WageCardNo"].IsEmpty()) {