Ver a proveniência

修复宿舍管理无法根据系部、专业、班级查询的问题

西昌缴费二期
zhangli há 2 anos
ascendente
cometimento
c6d2b7aea5
1 ficheiros alterados com 3 adições e 3 eliminações
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs Ver ficheiro

@@ -101,17 +101,17 @@ a.name as ApartmentName,b.name as UnitName,c.Name as FloorName
} }
if (!queryParam["Dept"].IsEmpty()) if (!queryParam["Dept"].IsEmpty())
{ {
dp.Add("Dept", "%" + queryParam["Dept"].ToString() + "%", DbType.String);
dp.Add("Dept", queryParam["Dept"].ToString(), DbType.String);
strSql.Append(" AND t.Dept=@Dept "); strSql.Append(" AND t.Dept=@Dept ");
} }
if (!queryParam["Class"].IsEmpty()) if (!queryParam["Class"].IsEmpty())
{ {
dp.Add("Class", "%" + queryParam["Class"].ToString() + "%", DbType.String);
dp.Add("Class", queryParam["Class"].ToString(), DbType.String);
strSql.Append(" AND t.Class=@Class "); strSql.Append(" AND t.Class=@Class ");
} }
if (!queryParam["Major"].IsEmpty()) if (!queryParam["Major"].IsEmpty())
{ {
dp.Add("Major", "%" + queryParam["Major"].ToString() + "%", DbType.String);
dp.Add("Major", queryParam["Major"].ToString(), DbType.String);
strSql.Append(" AND t.Major=@Major "); strSql.Append(" AND t.Major=@Major ");
} }
if (!queryParam["Sex"].IsEmpty()) if (!queryParam["Sex"].IsEmpty())


Carregando…
Cancelar
Guardar