From 0f744f9ad7ce3452c0dc69f0d321a2da8ce9a1b8 Mon Sep 17 00:00:00 2001 From: zhangli <1109134334@qq.com> Date: Fri, 14 Jan 2022 15:49:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=BB=84=E9=95=BF=E8=AF=84=E5=88=86?= =?UTF-8?q?=E3=80=81=E5=8E=BB=E5=AE=A1=E6=A0=B8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PartyevaluateTopicXZ.js | 4 +- .../DT_EvaluationDataController.cs | 26 ++++- .../Views/DT_EvaluationData/Index.cshtml | 5 +- .../Views/DT_EvaluationData/IndexXZ.cshtml | 5 +- .../Views/DT_EvaluationData/IndexXZ.js | 54 +++++++---- .../DT_EvaluationData/IndexXZDetail.cshtml | 27 ++++++ .../Views/DT_EvaluationData/IndexXZDetail.js | 95 +++++++++++++++++++ .../Views/DT_EvaluationDataMain/Index.cshtml | 14 +-- .../Views/DT_EvaluationDataMain/Index.js | 12 ++- .../Learun.Application.Web.csproj | 2 + .../DT_EvaluationData/DT_EvaluationDataBLL.cs | 19 ++++ .../DT_EvaluationDataIBLL.cs | 1 + .../DT_EvaluationDataService.cs | 61 ++++++++---- .../DT_EvaluationDataMainService.cs | 10 ++ 14 files changed, 286 insertions(+), 49 deletions(-) create mode 100644 Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZDetail.cshtml create mode 100644 Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZDetail.js diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PartyevaluateTopicXZ/PartyevaluateTopicXZ.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PartyevaluateTopicXZ/PartyevaluateTopicXZ.js index b58a5529f..1bb285f4a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PartyevaluateTopicXZ/PartyevaluateTopicXZ.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PartyevaluateTopicXZ/PartyevaluateTopicXZ.js @@ -59,7 +59,7 @@ valList.push(item.Score) }) - console.log(res); + //console.log(res); data=res; loadData(data[0],1); // $page.find('.lr-badge').text(data.records); @@ -225,7 +225,7 @@ }; function loadData(data,num){ - console.log("数据",data) + //console.log("数据",data) // valList var titleCon = '' titleCon+='

'+''+num+''+'

'+'
'+data.Assessment+''+'('+data.scorePre+'分)'+''+'
' diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Controllers/DT_EvaluationDataController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Controllers/DT_EvaluationDataController.cs index 019612604..cd2665ae2 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Controllers/DT_EvaluationDataController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Controllers/DT_EvaluationDataController.cs @@ -46,6 +46,18 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers { return View(); } + /// + /// + /// + /// + [HttpGet] + public ActionResult IndexXZDetail() + { + return View(); + } + + + #endregion #region 获取数据 @@ -147,7 +159,19 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers dT_EvaluationDataIBLL.UpdateStatusForZPByMId(MainId, Status); return Success("操作成功!"); } - + + /// + /// 党小组评分 提交/去审核 + /// + /// + /// + [HttpPost] + [AjaxOnly] + public ActionResult UpdateStatusForXZ(string keyValue, string Status) + { + dT_EvaluationDataIBLL.UpdateStatusForXZById(keyValue, Status); + return Success("操作成功!"); + } #endregion } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/Index.cshtml index 189e4c2e4..7169340bf 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/Index.cshtml @@ -40,10 +40,7 @@ diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.cshtml index 55d844d80..237ff86dc 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.cshtml @@ -40,9 +40,8 @@ diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.js index 30c48d789..10563da3e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.js @@ -22,6 +22,36 @@ var bootstrap = function ($, learun) { $('#BeAssessed').lrDataSourceSelect({ code: 'PartyMember', value: 'id', text: 'name' }); //$('#ScoreType').lrDataItemSelect({ code: 'ScoringPersonnel' }); + //去审 + $('#lr_nocheck').on('click', function () { + var keyValue = $('#gridtable').jfGridValue('Id'); + learun.layerConfirm('是否确认去审!', function (res) { + if (res) { + learun.postForm(top.$.rootUrl + '/PersonnelManagement/DT_EvaluationData/UpdateStatusForXZ', { keyValue: keyValue, Status: '0' }, function () { + refreshGirdData(); + }); + } + }); + + }); + //查看详情 + $('#lr_lookDetail').on('click', function () { + var MainId = $('#gridtable').jfGridValue('MainId'); + var Assessed = $('#gridtable').jfGridValue('Assessed'); + if (learun.checkrow(Assessed)) { + learun.layerForm({ + id: 'indexdetail', + title: '评分详情', + url: top.$.rootUrl + '/PersonnelManagement/DT_EvaluationData/IndexXZDetail?MainId=' + MainId + '&Assessed=' + Assessed, + width: 650, + height: 450, + callBack: function (id) { + //return top[id].acceptClick(refreshGirdData); + } + }); + } + }); + // 刷新 $('#lr_refresh').on('click', function () { location.reload(); @@ -52,23 +82,15 @@ var bootstrap = function ($, learun) { { label: "分值", name: "Score", width: 100, align: "left" }, { label: "状态", name: "Status", width: 100, align: "left", - formatter: function (value, row) { - //case t.Status when -1 then '未打分' when 0 then '草稿' when 1 then '待审核' when 2 then '审核通过' when 3 then '未通过' end - if (value == '-1') { - return '未打分'; - } - else if (value == '0') { - return '草稿'; + formatter: function (cellvalue, row) { + if (cellvalue == '-1') { + return "未打分"; + } else if (cellvalue == '0') { + return "草稿"; + } else if (cellvalue == '1') { + return "已提交"; } - else if (value == '1') { - return '已提交'; - } - //else if (value == '2') { - // return '审核通过'; - //} - //else if (value == '3') { - // return '审核未通过'; - //} + } }, ], diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZDetail.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZDetail.cshtml new file mode 100644 index 000000000..1731cac25 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZDetail.cshtml @@ -0,0 +1,27 @@ +@{ + ViewBag.Title = "评价考核表"; + Layout = "~/Views/Shared/_Index.cshtml"; +} +
+
+
+
+
+
+
+
+
+
+ +
+
+ @* 去审 +  打印*@ +
+
+
+
+
+
+
+@Html.AppendJsFile("/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZDetail.js") diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZDetail.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZDetail.js new file mode 100644 index 000000000..f9e347b62 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZDetail.js @@ -0,0 +1,95 @@ +/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) + * Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 + * 创建人:超级管理员 + * 日 期:2021-12-08 12:07 + * 描 述:评价考核表 + */ +var refreshGirdData; +var MainId = request('MainId'); +var Assessed = request('Assessed'); +var bootstrap = function ($, learun) { + "use strict"; + var page = { + init: function () { + page.initGird(); + page.bind(); + }, + bind: function () { + $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { + page.search(queryJson); + }, 220, 400); + + // 刷新 + $('#lr_refresh').on('click', function () { + location.reload(); + }); + // 打印 + $('#lr_print').on('click', function () { + $('#gridtable').jqprintTable(); + }); + }, + // 初始化列表 + initGird: function () { + $('#gridtable').jfGrid({ + url: top.$.rootUrl + '/PersonnelManagement/DT_EvaluationData/GetList', + headData: [ + { + label: "考核内容", name: "Assessment", width: 150, align: "left", + formatterAsync: function (callback, value, row, op, $cell) { + learun.clientdata.getAsync('dataItem', { + key: value, + code: 'EvaluationAssessment', + callback: function (_data) { + callback(_data.text); + } + }); + } + + }, + { label: "行为规范要求", name: "ConductRequirements", width: 200, align: "left" }, + //{ label: "被考核党员", name: "BeAssessed", width: 100, align: "left", + // formatterAsync: function (callback, value, row, op,$cell) { + // learun.clientdata.getAsync('custmerData', { + // url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'PartyMember', + // key: value, + // keyId: 'id', + // callback: function (_data) { + // callback(_data['name']); + // } + // }); + // }}, + //{ + // label: "打分人", name: "Assessed", width: 100, align: "left", + // formatterAsync: function (callback, value, row, op, $cell) { + // learun.clientdata.getAsync('custmerData', { + // url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'PartyMember', + // key: value, + // keyId: 'id', + // callback: function (_data) { + // callback(_data['name']); + // } + // }); + // } + //}, + { label: "满分", name: "MaxScore", width: 100, align: "left" }, + { label: "得分", name: "Score", width: 100, align: "left" }, + + ], + mainId: 'Id', + isPage: false, + sidx: 'EOrder Asc', + + }); + page.search(); + }, + search: function (param) { + param = param || {}; + param.SqlParameter = " and ScoreType=2 and MainId='" + MainId + "' and Assessed='" + Assessed + "'"; + $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); + } + }; + refreshGirdData = function () { + $('#gridtable').jfGridSet('reload'); + }; + page.init(); +} diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationDataMain/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationDataMain/Index.cshtml index c50da5f87..214f0e1f3 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationDataMain/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationDataMain/Index.cshtml @@ -11,8 +11,13 @@
-
被考核党员
-
+
年度
+
+
+
+
季度
+
+
@@ -23,12 +28,9 @@ diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationDataMain/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationDataMain/Index.js index 44580f1cb..41d3fa0d4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationDataMain/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationDataMain/Index.js @@ -16,7 +16,17 @@ var bootstrap = function ($, learun) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); }, 220, 400); - $('#BeAssessed').lrDataSourceSelect({ code: 'PartyMember', value: 'id', text: 'name' }); + + //年度 + $('#ScoreYear').lrselect({ + placeholder: "请选择年度", + allowSearch: true, + url: top.$.rootUrl + '/PersonnelManagement/DT_EvaluationDataMain/GetScoreYear', + value: 'value', + text: 'text' + }); + $('#ScoreQuarter').lrselect({ data: [{ id: '1', text: '一' }, { id: '2', text: '二' }, { id: '3', text: '三' }, { id: '4', text: '四' }] }); + // $('#BeAssessed').lrDataSourceSelect({ code: 'PartyMember', value: 'id', text: 'name' }); // 刷新 $('#lr_refresh').on('click', function () { location.reload(); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj index 3710e0317..ae7ef622b 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj @@ -1525,6 +1525,7 @@ + @@ -7664,6 +7665,7 @@ + diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataBLL.cs index 1095816e6..fbcc2360c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataBLL.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataBLL.cs @@ -265,6 +265,25 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement } } + public void UpdateStatusForXZById(string keyValue, string Status) + { + try + { + dT_EvaluationDataService.UpdateStatusForXZById(keyValue, Status); + } + catch (Exception ex) + { + if (ex is ExceptionEx) + { + throw; + } + else + { + throw ExceptionEx.ThrowBusinessException(ex); + } + } + } + /// /// 下发评价 /// diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataIBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataIBLL.cs index 1a4f6e461..9261161ad 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataIBLL.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataIBLL.cs @@ -49,6 +49,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement void SaveEntity(string keyValue, DT_EvaluationDataEntity entity); string SaveList(List list); void UpdateStatusForZPByMId(string MainId, string Status); + void UpdateStatusForXZById(string keyValue, string Status); /// /// 下发评价 /// diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataService.cs index 8f2391551..84921c9be 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataService.cs @@ -320,25 +320,25 @@ on k.Assessment=e.Assessment try { db.BeginTrans(); - var entity = db.FindEntity(Id); + //var entity = db.FindEntity(Id); string sql = $"update DT_EvaluationData set Status='{Status}' where ScoreType=3 and Id='{Id}'"; db.ExecuteBySql(sql); - if (Status == 1) - { - //审核通过,修改主表分数 - if (db.FindList(x => - x.MainId == entity.MainId && x.ScoreType == 3 && x.Id != Id && x.Status == -1).Count() == - 0) - { - sql = - $@" update DT_EvaluationDataMain t set t.ScoreXZ=(select Sum(Score) from DT_EvaluationData where ScoreType=3 and MainId='{entity.MainId}')/(select count(1) from DT_EvaluationData where ScoreType=3 and MainId='{entity.MainId}') - where t.Id='{entity.MainId}'"; - db.ExecuteBySql(sql); - } - } + // if (Status == 1) + // { + // //审核通过,修改主表分数 + // if (db.FindList(x => + // x.MainId == entity.MainId && x.ScoreType == 3 && x.Id != Id && x.Status == -1).Count() == + // 0) + // { + // sql = + // $@" update DT_EvaluationDataMain t set t.ScoreXZ=(select Sum(Score) from DT_EvaluationData where ScoreType=3 and MainId='{entity.MainId}')/(select count(1) from DT_EvaluationData where ScoreType=3 and MainId='{entity.MainId}') + //where t.Id='{entity.MainId}'"; + // db.ExecuteBySql(sql); + // } + // } db.Commit(); } @@ -458,13 +458,13 @@ join DT_EvaluationDataMain m on t.MainId=m.Id //修改主表小组评分 var mainList = db.FindList(x => x.ScoreType == 3 && x.MainId == entity.MainId); - if (mainList.Where(x => x.Status == -1 && x.Assessed == entity.Assessed).Count() == 0) + if (mainList.Where(x => x.Status == -1 && x.Assessed != entity.Assessed).Count() == 0) { var sumScore = mainList.Where(x => x.Assessed != entity.Assessed).Sum(x => x.Score) + list.Sum(x => x.Score); db.ExecuteBySql($@" update DT_EvaluationDataMain set ScoreXZ={sumScore / mainList.Count()} where Id='{entity.MainId}'"); } - + } } @@ -506,6 +506,35 @@ join DT_EvaluationDataMain m on t.MainId=m.Id } } + /// + /// 党小组 去审核 + /// + /// + /// + public void UpdateStatusForXZById(string keyValue, string Status) + { + try + { + var entity = this.BaseRepository("CollegeMIS").FindEntity(keyValue); + + string sql = $@"update DT_EvaluationData set Status='{Status}' where MainId='{entity.MainId}' + and PartyMemberGroupId = '{entity.PartyMemberGroupId}' + and Assessed = '{entity.Assessed}' and(ScoreType = 2 or ScoreType = 3)"; + this.BaseRepository("CollegeMIS").ExecuteBySql(sql); + } + catch (Exception ex) + { + if (ex is ExceptionEx) + { + throw; + } + else + { + throw ExceptionEx.ThrowServiceException(ex); + } + } + } + /// /// 下发评价 /// diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationDataMain/DT_EvaluationDataMainService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationDataMain/DT_EvaluationDataMainService.cs index 70237491f..faf313241 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationDataMain/DT_EvaluationDataMainService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationDataMain/DT_EvaluationDataMainService.cs @@ -44,6 +44,16 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement dp.Add("BeAssessed", queryParam["BeAssessed"].ToString(), DbType.String); strSql.Append(" AND t.BeAssessed = @BeAssessed "); } + if (!queryParam["ScoreYear"].IsEmpty()) + { + dp.Add("ScoreYear", queryParam["ScoreYear"].ToString(), DbType.String); + strSql.Append(" AND t.ScoreYear = @ScoreYear "); + } + if (!queryParam["ScoreQuarter"].IsEmpty()) + { + dp.Add("ScoreQuarter", queryParam["ScoreQuarter"].ToString(), DbType.String); + strSql.Append(" AND t.ScoreQuarter = @ScoreQuarter "); + } return this.BaseRepository("CollegeMIS").FindList(strSql.ToString(), dp, pagination); } catch (Exception ex)