diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.js index d44f4ee04..3dbcbb221 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.js @@ -45,13 +45,13 @@ var bootstrap = function ($, learun) { $('#ClassNo').lrselectRefresh({ allowSearch: true, url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj', - param: { strWhere: "majorno='" + item.majorno + "' AND Grade='" + Grades + "' order by classno desc" } + param: { strWhere: "majorno='" + item.majorno + "' AND Grade='" + Grades + "'" } }); } else { $('#ClassNo').lrselectRefresh({ allowSearch: true, url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj', - param: { strWhere: "1=1 AND order by classno desc" } + param: { strWhere: "1=1 " } }); } } else { @@ -59,13 +59,13 @@ var bootstrap = function ($, learun) { $('#ClassNo').lrselectRefresh({ allowSearch: true, url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj', - param: { strWhere: "majorno='" + item.majorno + "' order by classno desc" } + param: { strWhere: "majorno='" + item.majorno + "' " } }); } else { $('#ClassNo').lrselectRefresh({ allowSearch: true, url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj', - param: { strWhere: "1=1 AND order by classno desc" } + param: { strWhere: "1=1 " } }); } } @@ -83,14 +83,14 @@ var bootstrap = function ($, learun) { allowSearch: true, url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj', param: { - strWhere: "majorno='" + MajorNos + "' AND Grade='" + item.text + "' order by classno desc" + strWhere: "majorno='" + MajorNos + "' AND Grade='" + item.text + "'" } }); } else { $('#ClassNo').lrselectRefresh({ allowSearch: true, url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj', - param: { strWhere: "1=1 AND order by classno desc" } + param: { strWhere: "1=1 " } }); } } else { @@ -99,14 +99,14 @@ var bootstrap = function ($, learun) { allowSearch: true, url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj', param: { - strWhere: "1=1 AND Grade='" + item.text + "' order by classno desc" + strWhere: "1=1 AND Grade='" + item.text + "' " } }); } else { $('#ClassNo').lrselectRefresh({ allowSearch: true, url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj', - param: { strWhere: "1=1 AND order by classno desc" } + param: { strWhere: "1=1 " } }); } } @@ -116,7 +116,7 @@ var bootstrap = function ($, learun) { $('#ClassNo').lrselect({ allowSearch: true, url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj', - param: { strWhere: "1=1 AND order by classno desc" }, + param: { strWhere: "1=1 " }, value: "classno", text: "classname" });