Ver código fonte

工资条查询条件无效

新疆警官学校中职
ndbs 1 ano atrás
pai
commit
c4c0339532
1 arquivos alterados com 12 adições e 2 exclusões
  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 Ver arquivo

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


Carregando…
Cancelar
Salvar