From 76b845961a6cc69031591da99b38be35b20b7f8e Mon Sep 17 00:00:00 2001 From: dyy <18335927079@163.com> Date: Wed, 30 Dec 2020 17:57:19 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E5=BF=85?= =?UTF-8?q?=E4=BF=AE=E8=AF=BE=E6=88=90=E7=BB=A9=E7=AE=A1=E7=90=86=E3=80=81?= =?UTF-8?q?=E6=AF=95=E4=B8=9A=E7=94=9F=E7=AE=A1=E7=90=86=E3=80=81=E7=96=AB?= =?UTF-8?q?=E6=83=85=E8=AE=B0=E5=BD=95=E4=B8=8B=E7=9A=84=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E7=B3=BB=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/OpenLessonPlan/Index.cshtml | 4 -- .../Views/OpenLessonPlan/Index.js | 3 - .../Views/R_EnterBuilding/ClassReport.cshtml | 4 -- .../Views/R_EnterBuilding/ClassReport.js | 26 ------- .../Views/R_EnterBuilding/Index.cshtml | 4 -- .../Views/R_EnterBuilding/Index.js | 70 +++++++------------ .../Views/R_EnterBuilding/MajorReport.cshtml | 4 -- .../Views/R_EnterBuilding/MajorReport.js | 26 ------- .../Views/R_EnterSchool/ClassReport.cshtml | 4 -- .../Views/R_EnterSchool/ClassReport.js | 26 ------- .../Views/R_EnterSchool/Index.cshtml | 4 -- .../Views/R_EnterSchool/Index.js | 27 +------ .../Views/R_EnterSchool/MajorReport.cshtml | 4 -- .../Views/R_EnterSchool/MajorReport.js | 26 ------- .../StuInfoBasic/CreateGraduateNo.cshtml | 4 -- .../Views/StuInfoBasic/CreateGraduateNo.js | 26 ------- .../Views/StuInfoBasic/Graduate.cshtml | 4 -- .../Views/StuInfoBasic/Graduate.js | 26 ------- .../Views/StuInfoGraduate/Form.cshtml | 4 -- .../Views/StuInfoGraduate/Index.cshtml | 4 -- .../Views/StuInfoGraduate/Index.js | 14 ---- .../GraduateScoreQueryAllIndex.cshtml | 3 - .../StuScore/GraduateScoreQueryAllIndex.js | 14 ---- .../Views/StuScore/InputScoreIndex.js | 13 ---- .../StuScore/InputScoreIndexInTeacher.js | 13 ---- .../Views/StuScore/ScoreInputCancelIndex.js | 13 ---- .../Views/StuScore/ScoreQueryAllIndex.cshtml | 3 - .../Views/StuScore/ScoreQueryAllIndex.js | 14 ---- .../Views/StuScoreNotPass/InputScoreIndex.js | 13 ---- .../InputScoreIndexInTeacher.js | 13 ---- .../StuScoreNotPassTwo/InputScoreIndex.js | 13 ---- .../InputScoreIndexInTeacher.js | 13 ---- .../Views/Thermography/Index.cshtml | 4 -- .../Views/Thermography/Index.js | 26 ------- .../Views/Thermography/IndexResult.cshtml | 4 -- .../Views/Thermography/IndexResult.js | 26 ------- .../Views/Thermography/StatisticIndex.cshtml | 4 +- .../Views/Thermography/StatisticIndex.js | 10 +-- .../Views/Thermography/SubmitIndex.js | 13 ---- .../EpidemicSituationCopyController.cs | 4 +- .../EpidemicSituationCopy/IndexReport.cshtml | 2 +- .../EpidemicSituationCopy/IndexReport.js | 1 - .../OpenLessonPlan/OpenLessonPlanEntity.cs | 10 --- .../OpenLessonPlan/OpenLessonPlanService.cs | 25 ++----- .../R_EnterBuilding/R_EnterBuildingService.cs | 27 ++----- .../R_EnterSchool/R_EnterSchoolService.cs | 27 ++----- .../StuInfoGraduate/StuInfoGraduateEntity.cs | 6 -- .../StuInfoGraduate/StuInfoGraduateService.cs | 1 - .../StuScore/StuScoreEntity.cs | 12 ---- .../StuScore/StuScoreService.cs | 22 ++---- .../StuScoreNotPass/StuScoreNotPassEntity.cs | 12 ---- .../StuScoreNotPass/StuScoreNotPassService.cs | 10 ++- .../StuScoreNotPassTwoEntity.cs | 10 --- .../StuScoreNotPassTwoService.cs | 8 +-- .../Thermography/ThermographyEntity.cs | 5 -- .../Thermography/ThermographyService.cs | 24 ++----- 56 files changed, 70 insertions(+), 662 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlan/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlan/Index.cshtml index 8d7c8ab46..4c61e7f9d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlan/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlan/Index.cshtml @@ -26,10 +26,6 @@
年级
-
-
系部
-
-
专业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlan/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlan/Index.js index 28d3949a4..461094127 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlan/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlan/Index.js @@ -93,7 +93,6 @@ var bootstrap = function ($, learun) { value: 'value', text: 'text' }); - $('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname' }); $('#LessonNo').lrselect({ placeholder: "请选择课程", @@ -113,8 +112,6 @@ var bootstrap = function ($, learun) { { label: "学年", name: "AcademicYearNo", width: 80, align: "left" }, { label: "学期", name: "Semester", width: 80, align: "left" }, { label: "年级", name: "Grade", width: 80, align: "left" }, - { label: "系编号", name: "DeptNo", width: 100, align: "left" }, - { label: "系名称", name: "DeptName", width: 150, align: "left" }, { label: "专业编号", name: "MajorNo", width: 100, align: "left" }, { label: "专业名称", name: "MajorName", width: 150, align: "left" }, { label: "课程编号", name: "LessonNo", width: 100, align: "left" }, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/ClassReport.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/ClassReport.cshtml index 49a7bfba1..4d8a6953e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/ClassReport.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/ClassReport.cshtml @@ -13,10 +13,6 @@
-
-
系部
-
-
专业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/ClassReport.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/ClassReport.js index ca9212a94..c0478e7e2 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/ClassReport.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/ClassReport.js @@ -42,19 +42,6 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 200, 400); - $('#DeptNo').lrDataSourceSelect({ - code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (val) { @@ -82,19 +69,6 @@ var bootstrap = function ($, learun) { $('#gridtable').jfGrid({ url: top.$.rootUrl + '/EducationalAdministration/R_EnterBuilding/ClassReportInfo', headData: [ - { - label: "系部", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/Index.cshtml index 38ddfb048..3005f6fa1 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/Index.cshtml @@ -13,10 +13,6 @@
-
-
系部
-
-
专业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/Index.js index f931b1003..778515bfa 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/Index.js @@ -45,19 +45,6 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 280, 400); - $('#DeptNo').lrDataSourceSelect({ - code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (val) { @@ -85,8 +72,8 @@ var bootstrap = function ($, learun) { }) } }); - $('#BId').lrDataSourceSelect({ code: 'ClassroomBuilding',value: 'classroombuildingid',text: 'classroombuildingname' }); - $('#SId').lrDataSourceSelect({ code: 'StuInfoBasic',value: 'stuno',text: 'stuname' }); + $('#BId').lrDataSourceSelect({ code: 'ClassroomBuilding', value: 'classroombuildingid', text: 'classroombuildingname' }); + $('#SId').lrDataSourceSelect({ code: 'StuInfoBasic', value: 'stuno', text: 'stuname' }); // 刷新 $('#lr_refresh').on('click', function () { location.reload(); @@ -126,7 +113,7 @@ var bootstrap = function ($, learun) { if (learun.checkrow(keyValue)) { learun.layerConfirm('是否确认删除该项!', function (res) { if (res) { - learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/R_EnterBuilding/DeleteForm', { keyValue: keyValue}, function () { + learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/R_EnterBuilding/DeleteForm', { keyValue: keyValue }, function () { refreshGirdData(); }); } @@ -143,37 +130,28 @@ var bootstrap = function ($, learun) { $('#gridtable').jfGrid({ url: top.$.rootUrl + '/EducationalAdministration/R_EnterBuilding/GetPageList', headData: [ - { label: "教学楼", name: "BId", width: 100, align: "left", - formatterAsync: function (callback, value, row, op,$cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'ClassroomBuilding', - key: value, - keyId: 'classroombuildingid', - callback: function (_data) { - callback(_data['classroombuildingname']); - } - }); - }}, - { label: "学生名称", name: "SId", width: 100, align: "left", - formatterAsync: function (callback, value, row, op,$cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'StuInfoBasic', - key: value, - keyId: 'stuno', - callback: function (_data) { - callback(_data['stuname']); - } - }); - }}, { - label: "系", name: "DeptNo", width: 100, align: "left", + label: "教学楼", name: "BId", width: 100, align: "left", + formatterAsync: function (callback, value, row, op, $cell) { + learun.clientdata.getAsync('custmerData', { + url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'ClassroomBuilding', + key: value, + keyId: 'classroombuildingid', + callback: function (_data) { + callback(_data['classroombuildingname']); + } + }); + } + }, + { + label: "学生名称", name: "SId", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', + url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'StuInfoBasic', key: value, - keyId: 'deptno', + keyId: 'stuno', callback: function (_data) { - callback(_data['deptname']); + callback(_data['stuname']); } }); } @@ -187,7 +165,7 @@ var bootstrap = function ($, learun) { callback: function (_data) { callback(_data['majorname']); } - + }); } }, { @@ -203,9 +181,9 @@ var bootstrap = function ($, learun) { }); } }, - { label: "扫描时间", name: "EnterTime", width: 100, align: "left"}, + { label: "扫描时间", name: "EnterTime", width: 100, align: "left" }, ], - mainId:'ID', + mainId: 'ID', sidx: 'EnterTime DESC', isPage: true }); @@ -214,7 +192,7 @@ var bootstrap = function ($, learun) { param = param || {}; param.StartTime = startTime; param.EndTime = endTime; - $('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); + $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); } }; refreshGirdData = function () { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/MajorReport.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/MajorReport.cshtml index ed4309d57..dcd833e5e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/MajorReport.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/MajorReport.cshtml @@ -13,10 +13,6 @@
-
-
系部
-
-
专业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/MajorReport.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/MajorReport.js index ae035fafc..18a830567 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/MajorReport.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterBuilding/MajorReport.js @@ -42,19 +42,6 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 200, 400); - $('#DeptNo').lrDataSourceSelect({ - code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname' }); @@ -68,19 +55,6 @@ var bootstrap = function ($, learun) { $('#gridtable').jfGrid({ url: top.$.rootUrl + '/EducationalAdministration/R_EnterBuilding/MajorReportInfo', headData: [ - { - label: "系部", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/ClassReport.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/ClassReport.cshtml index e8f435d33..11738070e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/ClassReport.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/ClassReport.cshtml @@ -13,10 +13,6 @@
-
-
系部
-
-
专业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/ClassReport.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/ClassReport.js index 4ca2c0328..732653d9a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/ClassReport.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/ClassReport.js @@ -42,19 +42,6 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 200, 400); - $('#DeptNo').lrDataSourceSelect({ - code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (val) { @@ -82,19 +69,6 @@ var bootstrap = function ($, learun) { $('#gridtable').jfGrid({ url: top.$.rootUrl + '/EducationalAdministration/R_EnterSchool/ClassReportInfo', headData: [ - { - label: "系部", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/Index.cshtml index 6358edadc..d39721bff 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/Index.cshtml @@ -13,10 +13,6 @@
-
-
系部
-
-
专业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/Index.js index b88a9213d..f635f3611 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/Index.js @@ -45,19 +45,6 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 280, 400); - $('#DeptNo').lrDataSourceSelect({ - code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (val) { @@ -168,19 +155,7 @@ var bootstrap = function ($, learun) { } }); } - }, { - label: "系", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { + },{ label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { learun.clientdata.getAsync('custmerData', { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/MajorReport.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/MajorReport.cshtml index f7ef461ab..b22ec7744 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/MajorReport.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/MajorReport.cshtml @@ -13,10 +13,6 @@
-
-
系部
-
-
专业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/MajorReport.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/MajorReport.js index 974bdc918..1ed13f408 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/MajorReport.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/R_EnterSchool/MajorReport.js @@ -42,19 +42,6 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 200, 400); - $('#DeptNo').lrDataSourceSelect({ - code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname' }); @@ -68,19 +55,6 @@ var bootstrap = function ($, learun) { $('#gridtable').jfGrid({ url: top.$.rootUrl + '/EducationalAdministration/R_EnterSchool/MajorReportInfo', headData: [ - { - label: "系部", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.cshtml index 0ab566ca4..7bfb202cf 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.cshtml @@ -22,10 +22,6 @@
第几级
-
-
系部
-
-
专业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.js index afd093ebf..e3ffef1a2 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.js @@ -10,19 +10,6 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 290, 400); - $('#DeptNo').lrDataSourceSelect({ - code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (val) { @@ -74,19 +61,6 @@ var bootstrap = function ($, learun) { return cellvalue == true ? "男" : "女"; } }, - { - label: "系所", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Graduate.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Graduate.cshtml index c636f972e..040ffb1da 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Graduate.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Graduate.cshtml @@ -22,10 +22,6 @@
第几级
-
-
系部
-
-
专业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Graduate.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Graduate.js index 87b834a7d..b0a7f40ca 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Graduate.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Graduate.js @@ -10,19 +10,6 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 290, 400); - $('#DeptNo').lrDataSourceSelect({ - code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (val) { @@ -83,19 +70,6 @@ var bootstrap = function ($, learun) { return cellvalue == true ? "男" : "女"; } }, - { - label: "系所", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Form.cshtml index 87373faff..5377f6716 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Form.cshtml @@ -27,10 +27,6 @@
考生号*
-
-
系所*
- -
专业*
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.cshtml index 5a64cb1d4..3dbf7abcd 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.cshtml @@ -18,10 +18,6 @@
姓名
-
-
系部
-
-
专业
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 6e0f69b88..dc7740677 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 @@ -10,7 +10,6 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 220, 400); - $('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname' }); $('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' }); // 刷新 @@ -49,19 +48,6 @@ var bootstrap = function ($, learun) { }); } }, - { - label: "系所", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/GraduateScoreQueryAllIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/GraduateScoreQueryAllIndex.cshtml index 4daee3770..351516a1e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/GraduateScoreQueryAllIndex.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/GraduateScoreQueryAllIndex.cshtml @@ -88,9 +88,6 @@
-
-
-
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/GraduateScoreQueryAllIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/GraduateScoreQueryAllIndex.js index dd8a63d39..cf484ca38 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/GraduateScoreQueryAllIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/GraduateScoreQueryAllIndex.js @@ -20,7 +20,6 @@ var bootstrap = function ($, learun) { // 查询 $('#btn_Search').on('click', function () { var p = {}; - p.DeptNo = $('#DeptNo').lrselectGet(); p.MajorNo = $('#MajorNo').lrselectGet(); p.ClassNo = $('#ClassNo').lrselectGet(); p.StuNo = $('#StuNo').lrselectGet(); @@ -60,19 +59,6 @@ var bootstrap = function ($, learun) { }, bindSelect: function () { - $('#DeptNo').lrDataSourceSelect({ - placeholder: "请选择系", code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ placeholder: "请选择专业", code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (val) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndex.js index 6ead81c74..e43bd3419 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndex.js @@ -47,19 +47,6 @@ var bootstrap = function ($, learun) { }); } }, - { - label: "系所", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js index b0e0da3de..005e46cd4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js @@ -47,19 +47,6 @@ var bootstrap = function ($, learun) { }); } }, - { - label: "系所", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreInputCancelIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreInputCancelIndex.js index c36a19ae7..816fb0924 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreInputCancelIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreInputCancelIndex.js @@ -145,19 +145,6 @@ var bootstrap = function ($, learun) { return cellvalue == true ? "男" : "女"; } }, - { - label: "系所", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreQueryAllIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreQueryAllIndex.cshtml index 28b6eccd5..7b08140b8 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreQueryAllIndex.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreQueryAllIndex.cshtml @@ -88,9 +88,6 @@
-
-
-
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreQueryAllIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreQueryAllIndex.js index fcded83b2..2b0bb619e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreQueryAllIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreQueryAllIndex.js @@ -20,7 +20,6 @@ var bootstrap = function ($, learun) { // 查询 $('#btn_Search').on('click', function () { var p = {}; - p.DeptNo = $('#DeptNo').lrselectGet(); p.MajorNo = $('#MajorNo').lrselectGet(); p.ClassNo = $('#ClassNo').lrselectGet(); p.StuNo = $('#StuNo').lrselectGet(); @@ -69,19 +68,6 @@ var bootstrap = function ($, learun) { }, bindSelect: function () { - $('#DeptNo').lrDataSourceSelect({ - placeholder: "请选择系", code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ placeholder: "请选择专业", code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (val) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndex.js index a3874407a..61122b8a2 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndex.js @@ -47,19 +47,6 @@ var bootstrap = function ($, learun) { }); } }, - { - label: "系所", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndexInTeacher.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndexInTeacher.js index d84b493c0..fa0a93ebf 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndexInTeacher.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndexInTeacher.js @@ -47,19 +47,6 @@ var bootstrap = function ($, learun) { }); } }, - { - label: "系所", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPassTwo/InputScoreIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPassTwo/InputScoreIndex.js index e3726b5b8..60c265fa0 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPassTwo/InputScoreIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPassTwo/InputScoreIndex.js @@ -47,19 +47,6 @@ var bootstrap = function ($, learun) { }); } }, - { - label: "系所", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPassTwo/InputScoreIndexInTeacher.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPassTwo/InputScoreIndexInTeacher.js index e3726b5b8..60c265fa0 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPassTwo/InputScoreIndexInTeacher.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPassTwo/InputScoreIndexInTeacher.js @@ -47,19 +47,6 @@ var bootstrap = function ($, learun) { }); } }, - { - label: "系所", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/Index.cshtml index dc59f28c1..50eb46e94 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/Index.cshtml @@ -13,10 +13,6 @@
-
-
系部
-
-
专业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/Index.js index de04cb568..74a7194b0 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/Index.js @@ -46,19 +46,6 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 300, 400); - $('#DeptNo').lrDataSourceSelect({ - code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (val) { @@ -161,19 +148,6 @@ var bootstrap = function ($, learun) { $('#gridtable').lrAuthorizeJfGrid({ url: top.$.rootUrl + '/EducationalAdministration/Thermography/GetPageList', headData: [ - { - label: "系", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/IndexResult.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/IndexResult.cshtml index 7085627a6..2431f71c7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/IndexResult.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/IndexResult.cshtml @@ -13,10 +13,6 @@
-
-
系部
-
-
专业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/IndexResult.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/IndexResult.js index 88893e075..0c5a3411a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/IndexResult.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/IndexResult.js @@ -46,19 +46,6 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 300, 400); - $('#DeptNo').lrDataSourceSelect({ - code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { - var deptno = ""; - if (val) { - deptno = val.deptno; - } - $('#MajorNo').lrselectRefresh({ - url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno, - text: "MajorName", - value: "MajorNo" - }) - } - }); $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (val) { @@ -100,19 +87,6 @@ var bootstrap = function ($, learun) { $('#gridtable').lrAuthorizeJfGrid({ url: top.$.rootUrl + '/EducationalAdministration/Thermography/GetPageList', headData: [ - { - label: "系", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/StatisticIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/StatisticIndex.cshtml index 45aaa12aa..97a46376c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/StatisticIndex.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/StatisticIndex.cshtml @@ -14,8 +14,8 @@
-
系部
-
+
专业
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/StatisticIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/StatisticIndex.js index 6cdc17cb3..41dc9ca6d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/StatisticIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/StatisticIndex.js @@ -46,7 +46,7 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 200, 400); - $('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' }); + $('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname' }); // 刷新 $('#lr_refresh').on('click', function () { location.reload(); @@ -58,14 +58,14 @@ var bootstrap = function ($, learun) { url: top.$.rootUrl + '/EducationalAdministration/Thermography/GetListOfStatistic', headData: [ { - label: "系", name: "DeptNo", width: 100, align: "left", + label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', + url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo', key: value, - keyId: 'deptno', + keyId: 'majorno', callback: function (_data) { - callback(_data['deptname']); + callback(_data['majorname']); } }); } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/SubmitIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/SubmitIndex.js index 4cabe281f..fa436db46 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/SubmitIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Thermography/SubmitIndex.js @@ -88,19 +88,6 @@ var bootstrap = function ($, learun) { $('#gridtable').lrAuthorizeJfGrid({ url: top.$.rootUrl + '/EducationalAdministration/Thermography/GetPageListOfStudent', headData: [ - { - label: "系", name: "DeptNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', - key: value, - keyId: 'deptno', - callback: function (_data) { - callback(_data['deptname']); - } - }); - } - }, { label: "专业", name: "MajorNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Controllers/EpidemicSituationCopyController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Controllers/EpidemicSituationCopyController.cs index 4aff3901c..44bcbc16a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Controllers/EpidemicSituationCopyController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Controllers/EpidemicSituationCopyController.cs @@ -20,7 +20,6 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers { private EpidemicSituationIBLL epidemicSituationIBLL = new EpidemicSituationBLL(); private DataItemIBLL dataItemIbll = new DataItemBLL(); - private CdDeptIBLL cdDeptIbll = new CdDeptBLL(); private CdMajorIBLL cdMajorIbll = new CdMajorBLL(); private ClassInfoIBLL classInfoIbll = new ClassInfoBLL(); private StuInfoBasicIBLL stuInfoBasicIbll = new StuInfoBasicBLL(); @@ -107,10 +106,9 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers var stuEntity = stuInfoBasicIbll.GetStuInfoBasicEntityByStuNo(studentId); if (stuEntity != null) { - var detptName = cdDeptIbll.GetCdDeptEntityByNo(stuEntity.DeptNo)?.DeptName; var majorName = cdMajorIbll.GetCdMajorEntityByMajorNo(stuEntity.MajorNo)?.MajorName; var className = classInfoIbll.GetClassInfoEntityByClassNo(stuEntity.ClassNo)?.ClassName; - res = $"{detptName} {majorName} {className}"; + res = $"{majorName} {className}"; } return Success(new { res, Address = stuEntity?.MailAddress }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EpidemicSituationCopy/IndexReport.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EpidemicSituationCopy/IndexReport.cshtml index 19d677a58..6b956136a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EpidemicSituationCopy/IndexReport.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EpidemicSituationCopy/IndexReport.cshtml @@ -19,7 +19,7 @@
-
系|专业|班级
+
专业|班级
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EpidemicSituationCopy/IndexReport.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EpidemicSituationCopy/IndexReport.js index a40972104..d389d8325 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EpidemicSituationCopy/IndexReport.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/EpidemicSituationCopy/IndexReport.js @@ -74,7 +74,6 @@ var bootstrap = function ($, learun) { { label: "所在部门", name: "Department", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { - console.log(row); if (row.StudentSource) { callback(row.StudentSource); } else { diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlan/OpenLessonPlanEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlan/OpenLessonPlanEntity.cs index 2f3a5cfc6..fe712e5e3 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlan/OpenLessonPlanEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlan/OpenLessonPlanEntity.cs @@ -36,11 +36,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [Column("SEMESTER")] public string Semester { get; set; } /// - /// 系所码 - /// - [Column("DEPTNO")] - public string DeptNo { get; set; } - /// /// 专业码 /// [Column("MAJORNO")] @@ -161,11 +156,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [Column("BRIEFINTRO")] public string BriefIntro { get; set; } /// - /// 负责开课院系代码 - /// - [Column("TEACHDEPTNO")] - public string TeachDeptNo { get; set; } - /// /// 修读对象 /// [Column("WHOSTUDY")] diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlan/OpenLessonPlanService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlan/OpenLessonPlanService.cs index c91399324..b79ac0d1a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlan/OpenLessonPlanService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/OpenLessonPlan/OpenLessonPlanService.cs @@ -32,9 +32,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var basedbname = BaseRepository().getDbConnection().Database; var strSql = new StringBuilder(); - strSql.Append("select t.*,c.F_FullName as F_School,d.DeptName,m.MajorName from OpenLessonPlan t "); + strSql.Append("select t.*,c.F_FullName as F_School,m.MajorName from OpenLessonPlan t "); strSql.Append(" left join " + basedbname + ".dbo.LR_Base_Company c on t.F_SchoolId=c.f_CompanyId "); - strSql.Append(" left join CdDept d on t.DeptNo=d.DeptNo "); strSql.Append(" left join CdMajor m on t.MajorNo=m.MajorNo "); strSql.Append(" WHERE 1=1 "); var queryParam = queryJson.ToJObject(); @@ -65,16 +64,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration dp.Add("Grade", queryParam["Grade"].ToString(), DbType.String); strSql.Append(" AND t.Grade = @Grade "); } - if (!queryParam["DeptNo"].IsEmpty()) - { - dp.Add("DeptNo", queryParam["DeptNo"].ToString(), DbType.String); - strSql.Append(" AND t.DeptNo = @DeptNo "); - } - if (!queryParam["DeptName"].IsEmpty()) - { - dp.Add("DeptName", "%" + queryParam["DeptName"].ToString() + "%", DbType.String); - strSql.Append(" AND d.DeptName Like @DeptName "); - } if (!queryParam["MajorNo"].IsEmpty()) { dp.Add("MajorNo", queryParam["MajorNo"].ToString(), DbType.String); @@ -195,10 +184,10 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration db.Update(model); //修改StuSelectLessonList中的比例 - db.ExecuteBySql("update StuSelectLessonList set OrdinaryScoreScale=" + entity.OrdinaryScoreScale + ",TermInScoreScale=" + entity.TermInScoreScale + ",TermEndScoreScale=" + entity.TermEndScoreScale + ",OtherScoreScale=" + entity.OtherScoreScale + " where AcademicYearNo='" + model.AcademicYearNo + "' and Semester='" + model.Semester + "' and OpenLessonDeptNo='" + model.DeptNo + "' and OpenLessonMajorNo='" + model.MajorNo + "' and LessonNo='" + model.LessonNo + "' and LessonSortNo='" + model.LessonSortNo + "' and Grade='" + model.Grade + "' "); + db.ExecuteBySql("update StuSelectLessonList set OrdinaryScoreScale=" + entity.OrdinaryScoreScale + ",TermInScoreScale=" + entity.TermInScoreScale + ",TermEndScoreScale=" + entity.TermEndScoreScale + ",OtherScoreScale=" + entity.OtherScoreScale + " where AcademicYearNo='" + model.AcademicYearNo + "' and Semester='" + model.Semester + "' and OpenLessonMajorNo='" + model.MajorNo + "' and LessonNo='" + model.LessonNo + "' and LessonSortNo='" + model.LessonSortNo + "' and Grade='" + model.Grade + "' "); //修改StuScore中的成绩 - var beforeList = db.FindList(x => x.AcademicYearNo == model.AcademicYearNo && x.Semester == model.Semester && x.OpenLessonDeptNo == model.DeptNo && x.OpenLessonMajorNo == model.MajorNo && x.LessonNo == model.LessonNo && x.LessonSortNo == model.LessonSortNo && x.Grade == model.Grade); + var beforeList = db.FindList(x => x.AcademicYearNo == model.AcademicYearNo && x.Semester == model.Semester && x.OpenLessonMajorNo == model.MajorNo && x.LessonNo == model.LessonNo && x.LessonSortNo == model.LessonSortNo && x.Grade == model.Grade); if (beforeList.Any()) { foreach (var stuScoreItem in beforeList) @@ -262,7 +251,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration return new OpenLessonPlanEntity(); } - return this.BaseRepository("CollegeMIS").FindEntity(x => x.F_SchoolId == F_SchoolId && x.Grade == classInfoEntity.Grade && x.AcademicYearNo == AcademicYearNo && x.Semester == Semester && x.DeptNo == classInfoEntity.DeptNo && x.MajorNo == classInfoEntity.MajorNo && x.LessonNo == LessonNo && x.LessonSortNo == "1"); + return this.BaseRepository("CollegeMIS").FindEntity(x => x.F_SchoolId == F_SchoolId && x.Grade == classInfoEntity.Grade && x.AcademicYearNo == AcademicYearNo && x.Semester == Semester && x.MajorNo == classInfoEntity.MajorNo && x.LessonNo == LessonNo && x.LessonSortNo == "1"); } catch (Exception ex) { @@ -299,7 +288,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration return new StuSelectLessonListEntity(); } - return this.BaseRepository("CollegeMIS").FindEntity(x => x.F_SchoolId == F_SchoolId && x.AcademicYearNo == AcademicYearNo && x.Semester == Semester && x.OpenLessonDeptNo == classInfoEntity.DeptNo && x.OpenLessonMajorNo == classInfoEntity.MajorNo && x.LessonNo == LessonNo && x.LessonSortNo == "1" && x.ClassNo == ClassNo); + return this.BaseRepository("CollegeMIS").FindEntity(x => x.F_SchoolId == F_SchoolId && x.AcademicYearNo == AcademicYearNo && x.Semester == Semester && x.OpenLessonMajorNo == classInfoEntity.MajorNo && x.LessonNo == LessonNo && x.LessonSortNo == "1" && x.ClassNo == ClassNo); } catch (Exception ex) { @@ -334,10 +323,10 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var classInfoEntity = db.FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - db.ExecuteBySql("update StuSelectLessonList set OrdinaryScoreScale=" + entity.OrdinaryScoreScale + ",TermInScoreScale=" + entity.TermInScoreScale + ",TermEndScoreScale=" + entity.TermEndScoreScale + ",OtherScoreScale=" + entity.OtherScoreScale + " where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonDeptNo='" + classInfoEntity.DeptNo + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); + db.ExecuteBySql("update StuSelectLessonList set OrdinaryScoreScale=" + entity.OrdinaryScoreScale + ",TermInScoreScale=" + entity.TermInScoreScale + ",TermEndScoreScale=" + entity.TermEndScoreScale + ",OtherScoreScale=" + entity.OtherScoreScale + " where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); //修改StuScore中的成绩 - var beforeList = db.FindList(x => x.F_SchoolId == F_SchoolId && x.AcademicYearNo == AcademicYearNo && x.Semester == Semester && x.OpenLessonDeptNo == classInfoEntity.DeptNo && x.OpenLessonMajorNo == classInfoEntity.MajorNo && x.LessonNo == LessonNo && x.LessonSortNo == "1" && x.ClassNo == ClassNo); + var beforeList = db.FindList(x => x.F_SchoolId == F_SchoolId && x.AcademicYearNo == AcademicYearNo && x.Semester == Semester && x.OpenLessonMajorNo == classInfoEntity.MajorNo && x.LessonNo == LessonNo && x.LessonSortNo == "1" && x.ClassNo == ClassNo); if (beforeList.Any()) { foreach (var stuScoreItem in beforeList) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/R_EnterBuilding/R_EnterBuildingService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/R_EnterBuilding/R_EnterBuildingService.cs index 70a0097e3..7efd6817c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/R_EnterBuilding/R_EnterBuildingService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/R_EnterBuilding/R_EnterBuildingService.cs @@ -50,13 +50,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration string sId = queryParam["SId"].ToString(); expression = expression.And(a => a.SId == sId); } - if (!queryParam["DeptNo"].IsEmpty()) - { - string deptNo = queryParam["DeptNo"].ToString(); - var stuList = this.BaseRepository("CollegeMIS") - .FindList(a => a.DeptNo == deptNo).Select(a => a.StuNo).ToList(); - expression = expression.And(a => stuList.Contains(a.SId)); - } if (!queryParam["MajorNo"].IsEmpty()) { string majorNo = queryParam["MajorNo"].ToString(); @@ -68,13 +61,13 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration { string classNo = queryParam["ClassNo"].ToString(); var stuList = this.BaseRepository("CollegeMIS") - .FindList(a => a.DeptNo == classNo).Select(a => a.StuNo).ToList(); + .FindList(a => a.ClassNo == classNo).Select(a => a.StuNo).ToList(); expression = expression.And(a => stuList.Contains(a.SId)); } var stuInfo = this.BaseRepository("CollegeMIS").FindList(); - var data=this.BaseRepository("CollegeMIS").FindList(expression, pagination).Join(stuInfo,a=>a.SId,b=>b.StuNo,(a,b)=>new {a,b}).Select(a=>new{a.a.BId,a.a.SId,a.a.EnterTime,a.b.DeptNo,a.b.MajorNo,a.b.ClassNo}).ToList().ConvertAll(a=>(object)a); + var data=this.BaseRepository("CollegeMIS").FindList(expression, pagination).Join(stuInfo,a=>a.SId,b=>b.StuNo,(a,b)=>new {a,b}).Select(a=>new{a.a.BId,a.a.SId,a.a.EnterTime,a.b.MajorNo,a.b.ClassNo}).ToList().ConvertAll(a=>(object)a); return data; } @@ -229,11 +222,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var stuexpression = LinqExtensions.True(); var queryParam = queryJson.ToJObject(); List list = new List(); - if (!queryParam["DeptNo"].IsEmpty()) - { - var deptNo = queryParam["DeptNo"].ToString(); - stuexpression = stuexpression.And(a => a.DeptNo == deptNo); - } if (!queryParam["MajorNo"].IsEmpty()) { var majorNo = queryParam["MajorNo"].ToString(); @@ -254,7 +242,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var majorGroup = stuData.Where(a => a.MajorNo != "" && a.MajorNo != null).GroupBy(a => a.MajorNo).Select(a => a.Key).ToList(); foreach (var majorNo in majorGroup) { - var deptNo = stuData.FirstOrDefault(a => a.MajorNo == majorNo).DeptNo; var stuNoList = stuData.Where(a => a.MajorNo == majorNo).Select(a => a.StuNo).ToList(); var stuEnterSchoolList = this.BaseRepository("CollegeMIS") @@ -264,7 +251,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration .Count(a => a.HealthStatus != "1" && a.HealthStatus != "2"); var abnormalNum = stuData.Where(a => stuEnterSchoolList.Contains(a.StuNo)) .Count(a => a.HealthStatus == "1" || a.HealthStatus == "2"); - list.Add(new { DeptNo = deptNo, MajorNo = majorNo, StuNum = stuNum, Normal = normalNum, Abnormal = abnormalNum }); + list.Add(new { MajorNo = majorNo, StuNum = stuNum, Normal = normalNum, Abnormal = abnormalNum }); } @@ -290,11 +277,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var stuexpression = LinqExtensions.True(); var queryParam = queryJson.ToJObject(); List list = new List(); - if (!queryParam["DeptNo"].IsEmpty()) - { - var deptNo = queryParam["DeptNo"].ToString(); - stuexpression = stuexpression.And(a => a.DeptNo == deptNo); - } if (!queryParam["MajorNo"].IsEmpty()) { var majorNo = queryParam["MajorNo"].ToString(); @@ -320,7 +302,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var classGroup = stuData.Where(a => a.ClassNo != "" && a.ClassNo != null).GroupBy(a => a.ClassNo).Select(a => a.Key).ToList(); foreach (var classNo in classGroup) { - var deptNo = stuData.FirstOrDefault(a => a.ClassNo == classNo).DeptNo; var majorNo = stuData.FirstOrDefault(a => a.ClassNo == classNo).MajorNo; var stuNoList = stuData.Where(a => a.ClassNo == classNo).Select(a => a.StuNo).ToList(); @@ -331,7 +312,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration .Count(a => a.HealthStatus != "1" && a.HealthStatus != "2"); var abnormalNum = stuData.Where(a => stuEnterSchoolList.Contains(a.StuNo)) .Count(a => a.HealthStatus == "1" || a.HealthStatus == "2"); - list.Add(new { DeptNo = deptNo, MajorNo = majorNo, ClassNo = classNo, StuNum = stuNum, Normal = normalNum, Abnormal = abnormalNum }); + list.Add(new { MajorNo = majorNo, ClassNo = classNo, StuNum = stuNum, Normal = normalNum, Abnormal = abnormalNum }); } return list; diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/R_EnterSchool/R_EnterSchoolService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/R_EnterSchool/R_EnterSchoolService.cs index efeee0dac..1d279d287 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/R_EnterSchool/R_EnterSchoolService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/R_EnterSchool/R_EnterSchoolService.cs @@ -50,13 +50,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration string sId = queryParam["SId"].ToString(); expression = expression.And(a => a.SId == sId); } - if (!queryParam["DeptNo"].IsEmpty()) - { - string deptNo = queryParam["DeptNo"].ToString(); - var stuList = this.BaseRepository("CollegeMIS") - .FindList(a => a.DeptNo == deptNo).Select(a => a.StuNo).ToList(); - expression = expression.And(a => stuList.Contains(a.SId)); - } if (!queryParam["MajorNo"].IsEmpty()) { string majorNo = queryParam["MajorNo"].ToString(); @@ -68,12 +61,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration { string classNo = queryParam["ClassNo"].ToString(); var stuList = this.BaseRepository("CollegeMIS") - .FindList(a => a.DeptNo == classNo).Select(a => a.StuNo).ToList(); + .FindList(a => a.ClassNo == classNo).Select(a => a.StuNo).ToList(); expression = expression.And(a => stuList.Contains(a.SId)); } var stuInfo = this.BaseRepository("CollegeMIS").FindList(); - var data=this.BaseRepository("CollegeMIS").FindList(expression, pagination).Join(stuInfo,a=>a.SId,b=>b.StuNo,(a,b)=>new {a,b}).Select(a=>new{a.a.UId,a.a.SId,a.a.EnterTime,a.b.DeptNo,a.b.MajorNo,a.b.ClassNo}).ToList().ConvertAll(a=>(object)a); + var data=this.BaseRepository("CollegeMIS").FindList(expression, pagination).Join(stuInfo,a=>a.SId,b=>b.StuNo,(a,b)=>new {a,b}).Select(a=>new{a.a.UId,a.a.SId,a.a.EnterTime,a.b.MajorNo,a.b.ClassNo}).ToList().ConvertAll(a=>(object)a); return data; } @@ -224,11 +217,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var stuexpression = LinqExtensions.True(); var queryParam = queryJson.ToJObject(); List list = new List(); - if (!queryParam["DeptNo"].IsEmpty()) - { - var deptNo = queryParam["DeptNo"].ToString(); - stuexpression = stuexpression.And(a => a.DeptNo == deptNo); - } if (!queryParam["MajorNo"].IsEmpty()) { var majorNo = queryParam["MajorNo"].ToString(); @@ -247,7 +235,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var majorGroup = stuData.Where(a => a.MajorNo != "" && a.MajorNo != null).GroupBy(a => a.MajorNo).Select(a => a.Key).ToList(); foreach (var majorNo in majorGroup) { - var deptNo = stuData.FirstOrDefault(a => a.MajorNo == majorNo).DeptNo; var stuNoList = stuData.Where(a => a.MajorNo == majorNo).Select(a => a.StuNo).ToList(); var stuEnterSchoolList = this.BaseRepository("CollegeMIS") @@ -257,7 +244,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration .Count(a => a.HealthStatus != "1" && a.HealthStatus != "2"); var abnormalNum = stuData.Where(a => stuEnterSchoolList.Contains(a.StuNo)) .Count(a => a.HealthStatus == "1" || a.HealthStatus == "2"); - list.Add(new { DeptNo = deptNo, MajorNo = majorNo, StuNum = stuNum, Normal = normalNum, Abnormal = abnormalNum }); + list.Add(new { MajorNo = majorNo, StuNum = stuNum, Normal = normalNum, Abnormal = abnormalNum }); } @@ -283,11 +270,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var stuexpression = LinqExtensions.True(); var queryParam = queryJson.ToJObject(); List list = new List(); - if (!queryParam["DeptNo"].IsEmpty()) - { - var deptNo = queryParam["DeptNo"].ToString(); - stuexpression = stuexpression.And(a => a.DeptNo == deptNo); - } if (!queryParam["MajorNo"].IsEmpty()) { var majorNo = queryParam["MajorNo"].ToString(); @@ -313,7 +295,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var classGroup = stuData.Where(a => a.ClassNo != "" && a.ClassNo != null).GroupBy(a => a.ClassNo).Select(a => a.Key).ToList(); foreach (var classNo in classGroup) { - var deptNo = stuData.FirstOrDefault(a => a.ClassNo == classNo).DeptNo; var majorNo = stuData.FirstOrDefault(a => a.ClassNo == classNo).MajorNo; var stuNoList = stuData.Where(a => a.ClassNo == classNo).Select(a => a.StuNo).ToList(); @@ -324,7 +305,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration .Count(a => a.HealthStatus != "1" && a.HealthStatus != "2"); var abnormalNum = stuData.Where(a => stuEnterSchoolList.Contains(a.StuNo)) .Count(a => a.HealthStatus == "1" || a.HealthStatus == "2"); - list.Add(new { DeptNo = deptNo, MajorNo = majorNo, ClassNo = classNo, StuNum = stuNum, Normal = normalNum, Abnormal = abnormalNum }); + list.Add(new { MajorNo = majorNo, ClassNo = classNo, StuNum = stuNum, Normal = normalNum, Abnormal = abnormalNum }); } return list; diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoGraduate/StuInfoGraduateEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoGraduate/StuInfoGraduateEntity.cs index a2c02cada..cf47dcf7d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoGraduate/StuInfoGraduateEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoGraduate/StuInfoGraduateEntity.cs @@ -51,12 +51,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [Column("KSH")] public string ksh { get; set; } /// - /// 系所 - /// - /// - [Column("DEPTNO")] - public string DeptNo { get; set; } - /// /// 专业 /// /// diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoGraduate/StuInfoGraduateService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoGraduate/StuInfoGraduateService.cs index 4fdf27840..a4f455565 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoGraduate/StuInfoGraduateService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoGraduate/StuInfoGraduateService.cs @@ -29,7 +29,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration t.NoticeNo, t.GraduateYear, t.ksh, - t.DeptNo, t.MajorNo, t.Grade, t.ClassNo, diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreEntity.cs index 5b3681e63..4591b1298 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreEntity.cs @@ -34,12 +34,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [Column("STUNO")] public string StuNo { get; set; } /// - /// 学生所在系部 - /// - /// - [Column("DEPTNO")] - public string DeptNo { get; set; } - /// /// 学生所在专业号 /// /// @@ -76,12 +70,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [Column("SEMESTER")] public string Semester { get; set; } /// - /// 开课系部码 - /// - /// - [Column("OPENLESSONDEPTNO")] - public string OpenLessonDeptNo { get; set; } - /// /// 开课专业码 /// /// diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreService.cs index ca55f8fe3..d1a5b58de 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreService.cs @@ -30,14 +30,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration t.ScoreId, t.NoticeBookNo, t.StuNo, - t.DeptNo, t.MajorNo, t.ClassNo, t.StuName, t.GenderNo, t.AcademicYearNo, t.Semester, - t.OpenLessonDeptNo, t.OpenLessonMajorNo, t.LessonNo, t.LessonName, @@ -901,14 +899,12 @@ where AcademicYearNo='" + strAcademicYear + "' and Semester='" + strSemester + " var insertDatastuselect = new StuSelectLessonListEntity(); insertDatastuselect.NoticeBookNo = stu.NoticeNo; insertDatastuselect.StuNo = stu.StuNo; - insertDatastuselect.DeptNo = stu.DeptNo; insertDatastuselect.ClassNo = stu.ClassNo; insertDatastuselect.MajorNo = stu.MajorNo; insertDatastuselect.StuName = stu.StuName; insertDatastuselect.GenderNo = stu.GenderNo != null && stu.GenderNo.Value ? "1" : "0"; insertDatastuselect.AcademicYearNo = itemteachclass.AcademicYearNo; insertDatastuselect.Semester = itemteachclass.Semester; - insertDatastuselect.OpenLessonDeptNo = itemteachclass.DeptNo; insertDatastuselect.OpenLessonMajorNo = itemteachclass.MajorNo; insertDatastuselect.LessonNo = itemteachclass.LessonNo; insertDatastuselect.LessonName = lessonData.FirstOrDefault(m => m.LessonNo == itemteachclass.LessonNo)?.LessonName; @@ -931,19 +927,15 @@ where AcademicYearNo='" + strAcademicYear + "' and Semester='" + strSemester + " if (stuSelectLessonListEntityData.Count(m => m.StuNo == insertDatastuselect.StuNo && m.AcademicYearNo == insertDatastuselect.AcademicYearNo && m.Semester == insertDatastuselect.Semester && - m.DeptNo == insertDatastuselect.DeptNo && m.MajorNo == insertDatastuselect.MajorNo && m.LessonNo == insertDatastuselect.LessonNo && m.Grade == insertDatastuselect.Grade && - m.OpenLessonDeptNo == insertDatastuselect.OpenLessonDeptNo && m.OpenLessonMajorNo == insertDatastuselect.OpenLessonMajorNo) == 0 && insertStuSelectLessonListDataList.Count(m => m.StuNo == insertDatastuselect.StuNo && m.AcademicYearNo == insertDatastuselect.AcademicYearNo && m.Semester == insertDatastuselect.Semester && - m.DeptNo == insertDatastuselect.DeptNo && m.MajorNo == insertDatastuselect.MajorNo && m.LessonNo == insertDatastuselect.LessonNo && m.Grade == insertDatastuselect.Grade && - m.OpenLessonDeptNo == insertDatastuselect.OpenLessonDeptNo && m.OpenLessonMajorNo == insertDatastuselect.OpenLessonMajorNo) == 0) { insertStuSelectLessonListDataList.Add(insertDatastuselect); @@ -954,10 +946,10 @@ where AcademicYearNo='" + strAcademicYear + "' and Semester='" + strSemester + " } //重置StuScore var strSql = new StringBuilder(); - strSql.Append(@"insert into stuscore(NoticeBookNo,StuNo,DeptNo,MajorNo,ClassNo,StuName,GenderNo,AcademicYearNo,Semester,OpenLessonDeptNo,OpenLessonMajorNo,LessonNo,LessonName,LessonNameEn,TeachClassNo,LessonSortNo,StuSortNo,Grade,StudyScore,TotalStudyHour,OrdinaryScore,TermInScore,TermEndScore,OtherScore,IsInEffect,Remark,ConflictLessonNo,IsPitchOn,CheckMark,TechPlanNo,EmpNo,PartCode,ScoreRecordStyleNo,TestModeNo,zysx,TestKindNo,IsEditable) -select NoticeBookNo,StuNo,DeptNo,MajorNo,ClassNo,StuName,GenderNo,AcademicYearNo,Semester,OpenLessonDeptNo,OpenLessonMajorNo,LessonNo,LessonName,LessonNameEng as LessionNameEn,TeachClassNo,LessonSortNo,StuSortNo,Grade,StudyScore,TotalStudyHour,'0','0','0','0',IsInEffect,Remark,ConflictLessonNo,IsPitchOn,CheckMark,TeachPlanNo as TechPlanNo,EmpNo,PartCode,ScoreRecordStyleNo,TestModeNo,zysx=1,TestKindNo=1,IsEditable=1 from + strSql.Append(@"insert into stuscore(NoticeBookNo,StuNo,MajorNo,ClassNo,StuName,GenderNo,AcademicYearNo,Semester,OpenLessonMajorNo,LessonNo,LessonName,LessonNameEn,TeachClassNo,LessonSortNo,StuSortNo,Grade,StudyScore,TotalStudyHour,OrdinaryScore,TermInScore,TermEndScore,OtherScore,IsInEffect,Remark,ConflictLessonNo,IsPitchOn,CheckMark,TechPlanNo,EmpNo,PartCode,ScoreRecordStyleNo,TestModeNo,zysx,TestKindNo,IsEditable) +select NoticeBookNo,StuNo,MajorNo,ClassNo,StuName,GenderNo,AcademicYearNo,Semester,OpenLessonMajorNo,LessonNo,LessonName,LessonNameEng as LessionNameEn,TeachClassNo,LessonSortNo,StuSortNo,Grade,StudyScore,TotalStudyHour,'0','0','0','0',IsInEffect,Remark,ConflictLessonNo,IsPitchOn,CheckMark,TeachPlanNo as TechPlanNo,EmpNo,PartCode,ScoreRecordStyleNo,TestModeNo,zysx=1,TestKindNo=1,IsEditable=1 from ( -select s.NoticeBookNo,s.StuNo,s.DeptNo,s.MajorNo,s.ClassNo,s.StuName,s.GenderNo,s.AcademicYearNo,s.Semester,s.OpenLessonDeptNo,s.OpenLessonMajorNo,s.LessonNo,s.LessonName,s.LessonNameEng,s.TeachClassNo,s.LessonSortNo,s.StuSortNo,s.Grade,s.StudyScore,s.TotalStudyHour,s.IsInEffect,s.Remark,s.ConflictLessonNo,s.IsPitchOn,s.CheckMark,s.TeachPlanNo,s.EmpNo,s.PartCode,o.ScoreRecordStyleNo,cs.ScoreRecordName,bc.TestModeNo,bc.TestMode +select s.NoticeBookNo,s.StuNo,s.MajorNo,s.ClassNo,s.StuName,s.GenderNo,s.AcademicYearNo,s.Semester,s.OpenLessonMajorNo,s.LessonNo,s.LessonName,s.LessonNameEng,s.TeachClassNo,s.LessonSortNo,s.StuSortNo,s.Grade,s.StudyScore,s.TotalStudyHour,s.IsInEffect,s.Remark,s.ConflictLessonNo,s.IsPitchOn,s.CheckMark,s.TeachPlanNo,s.EmpNo,s.PartCode,o.ScoreRecordStyleNo,cs.ScoreRecordName,bc.TestModeNo,bc.TestMode from StuSelectLessonList s left join OpenLessonPlan o on s.AcademicYearNo=o.AcademicYearNo and s.Semester=o.Semester and s.LessonNo=o.LessonNo and s.PartCode=o.PartCode and s.OpenLessonMajorNo=o.MajorNo @@ -1606,7 +1598,7 @@ where StuNo not in(Select StuNo from stuscore s where s.Academicyearno = sl.Acad var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - this.BaseRepository("CollegeMIS").ExecuteBySql("update StuScore set IsEditable='0',EditUserId='" + loginUserInfo.account + "',BeginModifyDate='" + now + "' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonDeptNo='" + classInfoEntity.DeptNo + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); + this.BaseRepository("CollegeMIS").ExecuteBySql("update StuScore set IsEditable='0',EditUserId='" + loginUserInfo.account + "',BeginModifyDate='" + now + "' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); } } catch (Exception ex) @@ -1686,7 +1678,7 @@ where StuNo not in(Select StuNo from stuscore s where s.Academicyearno = sl.Acad var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScore set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonDeptNo='{classInfoEntity.DeptNo}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); + this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScore set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); } } catch (Exception ex) @@ -1727,7 +1719,7 @@ where StuNo not in(Select StuNo from stuscore s where s.Academicyearno = sl.Acad var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScore set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonDeptNo='{classInfoEntity.DeptNo}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); + this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScore set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); } } catch (Exception ex) @@ -1763,7 +1755,7 @@ where StuNo not in(Select StuNo from stuscore s where s.Academicyearno = sl.Acad var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - db.ExecuteBySql($"update StuScore set CheckMark='{checkMark}' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonDeptNo='" + classInfoEntity.DeptNo + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); + db.ExecuteBySql($"update StuScore set CheckMark='{checkMark}' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); //教师电子成绩单 if (checkMark == 0)//撤销 { diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassEntity.cs index c937dc615..3fef20497 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassEntity.cs @@ -33,12 +33,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [Column("STUNO")] public string StuNo { get; set; } /// - /// DeptNo - /// - /// - [Column("DEPTNO")] - public string DeptNo { get; set; } - /// /// MajorNo /// /// @@ -75,12 +69,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [Column("SEMESTER")] public string Semester { get; set; } /// - /// OpenLessonDeptNo - /// - /// - [Column("OPENLESSONDEPTNO")] - public string OpenLessonDeptNo { get; set; } - /// /// OpenLessonMajorNo /// /// diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs index 464fdc255..972ab0507 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs @@ -27,14 +27,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration t.ScoreId, t.NoticeBookNo, t.StuNo, - t.DeptNo, t.MajorNo, t.ClassNo, t.StuName, t.GenderNo, t.AcademicYearNo, t.Semester, - t.OpenLessonDeptNo, t.OpenLessonMajorNo, t.LessonNo, t.LessonName, @@ -460,7 +458,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - this.BaseRepository("CollegeMIS").ExecuteBySql("update StuScoreNotPass set IsEditable='0',EditUserId='" + loginUserInfo.account + "',BeginModifyDate='" + now + "' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonDeptNo='" + classInfoEntity.DeptNo + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); + this.BaseRepository("CollegeMIS").ExecuteBySql("update StuScoreNotPass set IsEditable='0',EditUserId='" + loginUserInfo.account + "',BeginModifyDate='" + now + "' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); } } catch (Exception ex) @@ -535,7 +533,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPass set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonDeptNo='{classInfoEntity.DeptNo}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); + this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPass set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); } } catch (Exception ex) @@ -576,7 +574,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPass set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonDeptNo='{classInfoEntity.DeptNo}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); + this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPass set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); } } catch (Exception ex) @@ -611,7 +609,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPass set CheckMark='{checkMark}' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonDeptNo='" + classInfoEntity.DeptNo + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); + this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPass set CheckMark='{checkMark}' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); } } catch (Exception ex) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoEntity.cs index ef0315b5c..9b3e70d83 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoEntity.cs @@ -30,11 +30,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [Column("STUNO")] public string StuNo { get; set; } /// - /// DeptNo - /// - [Column("DEPTNO")] - public string DeptNo { get; set; } - /// /// MajorNo /// [Column("MAJORNO")] @@ -65,11 +60,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [Column("SEMESTER")] public string Semester { get; set; } /// - /// OpenLessonDeptNo - /// - [Column("OPENLESSONDEPTNO")] - public string OpenLessonDeptNo { get; set; } - /// /// OpenLessonMajorNo /// [Column("OPENLESSONMAJORNO")] diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs index e13506595..0fe967593 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs @@ -428,7 +428,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - this.BaseRepository("CollegeMIS").ExecuteBySql("update StuScoreNotPassTwo set IsEditable='0',EditUserId='" + loginUserInfo.account + "',BeginModifyDate='" + now + "' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonDeptNo='" + classInfoEntity.DeptNo + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); + this.BaseRepository("CollegeMIS").ExecuteBySql("update StuScoreNotPassTwo set IsEditable='0',EditUserId='" + loginUserInfo.account + "',BeginModifyDate='" + now + "' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); } } catch (Exception ex) @@ -503,7 +503,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPassTwo set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonDeptNo='{classInfoEntity.DeptNo}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); + this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPassTwo set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); } } catch (Exception ex) @@ -544,7 +544,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPassTwo set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonDeptNo='{classInfoEntity.DeptNo}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); + this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPassTwo set IsEditable='1',EditUserId=null,BeginModifyDate=null,ModifyDate='{now}',ModifyUserId='{loginUserInfo.account}',ModifyUserName='{loginUserInfo.realName}' where F_SchoolId='{F_SchoolId}' and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and OpenLessonMajorNo='{classInfoEntity.MajorNo}' and LessonNo='{LessonNo}' and LessonSortNo='1' and ClassNo='{ClassNo}' "); } } catch (Exception ex) @@ -579,7 +579,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var classInfoEntity = this.BaseRepository("CollegeMIS").FindEntity(x => x.ClassNo == ClassNo); if (classInfoEntity != null) { - this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPassTwo set CheckMark='{checkMark}' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonDeptNo='" + classInfoEntity.DeptNo + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); + this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuScoreNotPassTwo set CheckMark='{checkMark}' where F_SchoolId='" + F_SchoolId + "' and AcademicYearNo='" + AcademicYearNo + "' and Semester='" + Semester + "' and OpenLessonMajorNo='" + classInfoEntity.MajorNo + "' and LessonNo='" + LessonNo + "' and LessonSortNo='1' and ClassNo='" + ClassNo + "' "); } } catch (Exception ex) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Thermography/ThermographyEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Thermography/ThermographyEntity.cs index cb9f17ec7..179f9019a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Thermography/ThermographyEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Thermography/ThermographyEntity.cs @@ -70,11 +70,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [Column("CREATETIME")] public DateTime? CreateTime { get; set; } /// - /// 系 - /// - [Column("DEPTNO")] - public string DeptNo { get; set; } - /// /// 专业 /// [Column("MAJORNO")] diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Thermography/ThermographyService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Thermography/ThermographyService.cs index 8c5dc14de..ef5e2a75e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Thermography/ThermographyService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Thermography/ThermographyService.cs @@ -48,11 +48,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration dp.Add("endTime", queryParam["EndTime"].ToDate(), DbType.DateTime); strSql.Append(" AND ( t.MeasureDate >= @startTime AND t.MeasureDate <= @endTime ) "); } - if (!queryParam["DeptNo"].IsEmpty()) - { - dp.Add("DeptNo", queryParam["DeptNo"].ToString(), DbType.String); - strSql.Append(" AND t.DeptNo = @DeptNo "); - } if (!queryParam["MajorNo"].IsEmpty()) { dp.Add("MajorNo", queryParam["MajorNo"].ToString(), DbType.String); @@ -119,7 +114,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration t.ProcessingResult, t.Remark, t.MeasureTime, - t.DeptNo, t.MajorNo, t.MeasureDate "); @@ -225,7 +219,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration { var userInfo = LoginUserInfo.Get(); var strSql = new StringBuilder(); - strSql.Append("SELECT t.ClassNo,t.DeptNo,t.MajorNo,t.StuNo as PersonBeingMeasured,t.StuName as PersonBeingMeasuredName,'" + userInfo.account + "' as MeasurerID,'1' as Status,c.ClassName "); + strSql.Append("SELECT t.ClassNo,t.MajorNo,t.StuNo as PersonBeingMeasured,t.StuName as PersonBeingMeasuredName,'" + userInfo.account + "' as MeasurerID,'1' as Status,c.ClassName "); strSql.Append(" FROM StuInfoBasic t left join StuInfoBasic tt on t.ClassNo=tt.ClassNo left join ClassInfo c on t.ClassNo=c.ClassNo "); strSql.Append(" WHERE 1=1 "); var queryParam = queryJson.ToJObject(); @@ -269,7 +263,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var dp = new DynamicParameters(new { }); var nowDate = DateTime.Now.Date; var nextDate = DateTime.Now.AddDays(1).Date; - strSql.Append("SELECT t.ClassNo,t.DeptNo,t.MajorNo,t.StuNo as PersonBeingMeasured,t.StuName as PersonBeingMeasuredName,'" + userInfo.account + "' as MeasurerID,'1' as Status,c.ClassName "); + strSql.Append("SELECT t.ClassNo,t.MajorNo,t.StuNo as PersonBeingMeasured,t.StuName as PersonBeingMeasuredName,'" + userInfo.account + "' as MeasurerID,'1' as Status,c.ClassName "); if (!queryParam["MeasureTime"].IsEmpty() && queryParam["MeasureTime"].ToString() != "-1") { strSql.Append(" ,g.ID,case when g.Status is null then '1' else g.Status end as Status,g.Temperature,g.ProcessingResult,g.Remark,g.MeasureTime "); @@ -277,7 +271,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration strSql.Append(" FROM StuInfoBasic t left join StuInfoBasic tt on t.ClassNo=tt.ClassNo left join ClassInfo c on t.ClassNo=c.ClassNo "); if (!queryParam["MeasureTime"].IsEmpty() && queryParam["MeasureTime"].ToString() != "-1") { - strSql.Append(" left join Thermography g on t.StuNo=g.PersonBeingMeasured and t.ClassNo=g.ClassNo and t.DeptNo=g.DeptNo and t.MajorNo=g.DeptNo "); + strSql.Append(" left join Thermography g on t.StuNo=g.PersonBeingMeasured and t.ClassNo=g.ClassNo and t.MajorNo=g.MajorNo "); strSql.Append(" and g.MeasureDate >='" + nowDate + "' and g.MeasureDate<'" + nextDate + "' "); dp.Add("MeasureTime", queryParam["MeasureTime"].ToString(), DbType.String); @@ -318,7 +312,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration // 虚拟参数 var dp = new DynamicParameters(new { }); var strSql = new StringBuilder(); - strSql.Append("select t.DeptNo,CONVERT(varchar(100), t.MeasureDate, 23) as MeasureDate,t.MeasureTime,sum(case when t.Status='0' then 1 else 0 end) as statusNum0,sum(case when t.Status='1' then 1 else 0 end) as statusNum1,sum(case when t.Status='2' then 1 else 0 end) as statusNum2,sum(case when t.Status!='0' then 1 else 0 end) as statusNum12,(select count(s.StuId) from StuInfoBasic s where s.DeptNo=t.DeptNo and s.CheckMark='1') as totalNum "); + strSql.Append("select t.MajorNo,CONVERT(varchar(100), t.MeasureDate, 23) as MeasureDate,t.MeasureTime,sum(case when t.Status='0' then 1 else 0 end) as statusNum0,sum(case when t.Status='1' then 1 else 0 end) as statusNum1,sum(case when t.Status='2' then 1 else 0 end) as statusNum2,sum(case when t.Status!='0' then 1 else 0 end) as statusNum12,(select count(s.StuId) from StuInfoBasic s where s.MajorNo=t.MajorNo and s.CheckMark='1') as totalNum "); strSql.Append(" FROM Thermography t "); strSql.Append(" WHERE 1=1 "); if (!queryParam["StartTime"].IsEmpty() && !queryParam["EndTime"].IsEmpty()) @@ -327,11 +321,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration dp.Add("endTime", queryParam["EndTime"].ToDate(), DbType.DateTime); strSql.Append(" AND ( t.MeasureDate >= @startTime AND t.MeasureDate <= @endTime ) "); } - if (!queryParam["DeptNo"].IsEmpty()) - { - dp.Add("DeptNo", queryParam["DeptNo"].ToString(), DbType.String); - strSql.Append(" AND t.DeptNo = @DeptNo "); - } if (!queryParam["MajorNo"].IsEmpty()) { dp.Add("MajorNo", queryParam["MajorNo"].ToString(), DbType.String); @@ -342,7 +331,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration dp.Add("ClassNo", queryParam["ClassNo"].ToString(), DbType.String); strSql.Append(" AND t.ClassNo = @ClassNo "); } - strSql.Append(" group by t.DeptNo,CONVERT(varchar(100), t.MeasureDate, 23),t.MeasureTime "); + strSql.Append(" group by t.MajorNo,CONVERT(varchar(100), t.MeasureDate, 23),t.MeasureTime "); return this.BaseRepository("CollegeMIS").FindList(strSql.ToString(), dp); } catch (Exception ex) @@ -496,7 +485,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration CreateTime = DateTime.Now, MeasurerID = loginUser.account, MeasureDate = DateTime.Now, - DeptNo = student.DeptNo, MajorNo = student.MajorNo, Status = "0" }; @@ -587,7 +575,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration } } } - + } catch (Exception ex) {