Browse Source

学籍异动-奖助学金优化

新疆警官学校中职
ndbs 1 year ago
parent
commit
4d1234c1a0
2 changed files with 8 additions and 5 deletions
  1. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/QueryScholarshipIndex.js
  2. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ScholarshipTran/ScholarshipTranService.cs

+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/QueryScholarshipIndex.js View File

@@ -1,5 +1,6 @@
var refreshGirdData;
var StuId;
var StuNo = request('StuNo');
var tempdatra = new Array();
var list = [];
var bootstrap = function ($, learun) {
@@ -110,10 +111,12 @@ var bootstrap = function ($, learun) {
search: function (param) {
param = param || {};
param.IsType = 0;
param.StuNo = StuNo;
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
},
search2: function (param) {
param = param || {};
param.StuNo = StuNo;
param.IsType = 1;
$('#gridtableTwo').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ScholarshipTran/ScholarshipTranService.cs View File

@@ -64,11 +64,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("IdentityCardNo", "%" + queryParam["IdentityCardNo"].ToString() + "%", DbType.String);
strSql.Append(" AND s.IdentityCardNo Like @IdentityCardNo ");
}
//var userlogin = LoginUserInfo.Get();
//if (userlogin.Description == "学生")
//{
// strSql.Append(" AND t.stuno = '" + userlogin.account + "' ");
//}
if (!queryParam["StuNo"].IsEmpty())
{
dp.Add("StuNo", queryParam["StuNo"].ToString(), DbType.String);
strSql.Append(" AND t.StuNo = @StuNo ");
}
return this.BaseRepository("CollegeMIS").FindList<ScholarshipTranEntity>(strSql.ToString(), dp, pagination);
}
catch (Exception ex)


Loading…
Cancel
Save