Bläddra i källkod

工资条查询条件无效

新疆警官学校中职
ndbs 1 år sedan
förälder
incheckning
c4c0339532
1 ändrade filer med 12 tillägg och 2 borttagningar
  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 Visa fil

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


Laddar…
Avbryt
Spara