|
|
@@ -78,18 +78,10 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
dp.Add("IsFlag", queryParam["IsFlag"].ToString(), DbType.String); |
|
|
|
strSql.Append(" AND t.IsFlag = @IsFlag "); |
|
|
|
} |
|
|
|
if (queryParam["isSystem"].ToBool() == false) |
|
|
|
if (!queryParam["departmentId"].IsEmpty()) |
|
|
|
{ |
|
|
|
if (!queryParam["departmentId"].IsEmpty()) |
|
|
|
{ |
|
|
|
dp.Add("FillingDept", queryParam["departmentId"].ToString(), DbType.String); |
|
|
|
strSql.Append(" AND t.FillingDept = @FillingDept "); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
dp.Add("FillingDept", "undefined11", DbType.String); |
|
|
|
strSql.Append(" AND t.FillingDept = @FillingDept "); |
|
|
|
} |
|
|
|
dp.Add("FillingDept", queryParam["departmentId"].ToString(), DbType.String); |
|
|
|
strSql.Append(" AND t.FillingDept = @FillingDept "); |
|
|
|
} |
|
|
|
//sql条件 |
|
|
|
if (!queryParam["SqlParameter"].IsEmpty()) |
|
|
|