Pārlūkot izejas kodu

工资条查询条件无效

新疆警官学校中职
ndbs pirms 1 gada
vecāks
revīzija
c4c0339532
1 mainītis faili ar 12 papildinājumiem un 2 dzēšanām
  1. +12
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WageSchedule/WageScheduleService.cs

+ 12
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WageSchedule/WageScheduleService.cs Parādīt failu

@@ -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())
{


Notiek ielāde…
Atcelt
Saglabāt