Ver a proveniência

app2.0-一卡通接口

临城职教中职
ndbs há 2 anos
ascendente
cometimento
1c0a67ed46
1 ficheiros alterados com 11 adições e 2 eliminações
  1. +11
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/MealCardRunTab/MealCardRunTabService.cs

+ 11
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/MealCardRunTab/MealCardRunTabService.cs Ver ficheiro

@@ -164,8 +164,17 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
if (!queryParam["accountName"].IsEmpty())
{
dp.Add("accountName", "%" + queryParam["accountName"].ToString() + "%", DbType.String);
strSql.Append(" AND t.accountName Like @accountName ");
var IsPhone = queryParam["accountName"].ToString();
if (IsPhone == "0")
{
dp.Add("accountName", queryParam["accountName"].ToString(), DbType.String);
strSql.Append(" AND t.accountName = @accountName ");
}
else
{
dp.Add("accountName", "%" + queryParam["accountName"].ToString() + "%", DbType.String);
strSql.Append(" AND t.accountName Like @accountName ");
}
}
if (!queryParam["depName"].IsEmpty())
{


Carregando…
Cancelar
Guardar