Kaynağa Gözat

【修改】荣誉称号管理;

yanshi
dyy 2 yıl önce
ebeveyn
işleme
b9ad304d0e
5 değiştirilmiş dosya ile 20 ekleme ve 5 silme
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/DtHonorType/Form.js
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/DtHonoraryUser/Form.js
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/DtHonoraryUser/Index.js
  4. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Student/Index.js
  5. +16
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/DtHonoraryUser/DtHonoraryUserService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/DtHonorType/Form.js Dosyayı Görüntüle

@@ -33,7 +33,7 @@ var bootstrap = function ($, learun) {
if (!$('form').lrValidform()) {
return false;
}
//var postData = $('#form').lrGetFormData(keyValue);
var postData = $('#form').lrGetFormData(keyValue);
//if (postData["ParentId"] == '' || postData["ParentId"] == ' ') {
// postData["ParentId"] = $("#ParentId").lrselectGet();
//}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/DtHonoraryUser/Form.js Dosyayı Görüntüle

@@ -34,7 +34,7 @@ var bootstrap = function ($, learun) {
if (ClassNo != null && ClassNo != "" && ClassNo != undefined) {
$('#StuNo').lrselectRefresh({
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=StuList',
param: { strWhere: " 1=1 and classno in (" + ClassNo + ")" },
param: { strWhere: " 1=1 and classno in ('" + ClassNo + "')" },
value: "stuid",
text: "stuname",
maxHeight: 200,


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/DtHonoraryUser/Index.js Dosyayı Görüntüle

@@ -39,7 +39,7 @@ var bootstrap = function ($, learun) {
if (ClassNo != null && ClassNo != "" && ClassNo != undefined) {
$('#StuNo').lrselectRefresh({
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=StuList',
param: { strWhere: " 1=1 and classno in (" + ClassNo + ")" },
param: { strWhere: " 1=1 and classno in ('" + ClassNo + "')" },
value: "stuid",
text: "stuname",
maxHeight: 200,


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Student/Index.js Dosyayı Görüntüle

@@ -36,7 +36,7 @@ var bootstrap = function ($, learun) {
if (ClassNo != null && ClassNo != "" && ClassNo != undefined) {
$('#StuNo').lrselectRefresh({
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=StuList',
param: { strWhere: " 1=1 and classno in (" + ClassNo + ")" },
param: { strWhere: " 1=1 and classno in ('" + ClassNo + "')" },
value: "stuid",
text: "stuname",
maxHeight: 200,


+ 16
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/DtHonoraryUser/DtHonoraryUserService.cs Dosyayı Görüntüle

@@ -31,12 +31,27 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@" * ");
strSql.Append(@" t.* ");
strSql.Append(" FROM DtHonoraryUser t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();
// 虚拟参数
var dp = new DynamicParameters(new { });
if (!queryParam["MajorNo"].IsEmpty())
{
dp.Add("MajorNo", queryParam["MajorNo"].ToString(), DbType.String);
strSql.Append(" AND t.MajorNo = @MajorNo ");
}
if (!queryParam["ClassNo"].IsEmpty())
{
dp.Add("ClassNo", queryParam["ClassNo"].ToString(), DbType.String);
strSql.Append(" AND t.ClassNo = @ClassNo ");
}
if (!queryParam["StuNo"].IsEmpty())
{
dp.Add("StuNo", queryParam["StuNo"].ToString(), DbType.String);
strSql.Append(" AND t.StuNo = @StuNo ");
}
return this.BaseRepository("CollegeMIS").FindList<DtHonoraryUserEntity>(strSql.ToString(), dp, pagination);
}
catch (Exception ex)


Yükleniyor…
İptal
Kaydet