Przeglądaj źródła

新生信息管理 分配班级系部查询条件查询失效

临城职教中职
ndbs 2 lat temu
rodzic
commit
b0b37b39fc
2 zmienionych plików z 8 dodań i 1 usunięć
  1. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/AllocationClass.js
  2. +6
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshService.cs

+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/AllocationClass.js Wyświetl plik

@@ -210,10 +210,12 @@ var bootstrap = function ($, learun) {

};
getParam = function () {
var deptNo = $("#DeptNo").lrselectGet();
var majorNo = $("#MajorNo").lrselectGet();
var IdCard = $("#IDCard").val();
var isAllocation = $("#isAllocation").find('input:checked').val();
var param = {
DeptNo: deptNo,
MajorNo: majorNo,
IDCard: IdCard,
IsAllocation: isAllocation


+ 6
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshService.cs Wyświetl plik

@@ -160,7 +160,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}

var data = this.BaseRepository("CollegeMIS").FindList<StuInfoFreshEntity>(strSql.ToString(), dp);
return data;
}
catch (Exception ex)
@@ -289,6 +289,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("Grade", '%' + queryParam["Grade"].ToString() + '%', DbType.String);
}
//分配班级
if (!queryParam["DeptNo"].IsEmpty())
{
strSql.Append(" and t.DeptNo = @DeptNo ");
dp.Add("DeptNo", queryParam["DeptNo"].ToString(), DbType.String);
}
if (!queryParam["MajorNo"].IsEmpty())
{
strSql.Append(" and t.MajorNo = @MajorNo ");


Ładowanie…
Anuluj
Zapisz