Sfoglia il codice sorgente

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

临城职教中职
ndbs 2 anni fa
parent
commit
b0b37b39fc
2 ha cambiato i file con 8 aggiunte e 1 eliminazioni
  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 Vedi File

@@ -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 Vedi File

@@ -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 ");


Caricamento…
Annulla
Salva