|
@@ -100,7 +100,27 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
{ |
|
|
{ |
|
|
Pagination paginationobj = new Pagination() { rows = 100000, page = 1, sidx = "empno ", sord = "asc" }; |
|
|
Pagination paginationobj = new Pagination() { rows = 100000, page = 1, sidx = "empno ", sord = "asc" }; |
|
|
var queryJson = "{\"weeks\":\"" + weeks + "\",\"status\":\"" + status + "\",\"deptNo\":\"" + deptNo + "\",\"StartTime\":\"" + StartTime + "\",\"EndTime\":\"" + EndTime + "\"}"; |
|
|
var queryJson = "{\"weeks\":\"" + weeks + "\",\"status\":\"" + status + "\",\"deptNo\":\"" + deptNo + "\",\"StartTime\":\"" + StartTime + "\",\"EndTime\":\"" + EndTime + "\"}"; |
|
|
var data = arrangeLessonTermIBLL.GetcoursestatictisList(paginationobj, queryJson); |
|
|
|
|
|
|
|
|
var data = arrangeLessonTermIBLL.GetcoursestatictisList(paginationobj, queryJson).ToList(); |
|
|
|
|
|
|
|
|
|
|
|
if(data.Any()) |
|
|
|
|
|
{ |
|
|
|
|
|
decimal hj = 0; |
|
|
|
|
|
foreach (var item in data) |
|
|
|
|
|
{ |
|
|
|
|
|
if(!item.actfeestandard.IsEmpty() && Convert.ToDecimal(item.actfeestandard)>0) |
|
|
|
|
|
{ |
|
|
|
|
|
hj += Convert.ToDecimal(item.actfeestandard); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
var tj = new LessonStatictisEntity |
|
|
|
|
|
{ |
|
|
|
|
|
empname = "合计", |
|
|
|
|
|
actfeestandard = hj.ToString() |
|
|
|
|
|
}; |
|
|
|
|
|
data.Add(tj); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ViewBag.data = data; |
|
|
ViewBag.data = data; |
|
|
ViewBag.startTime = StartTime; |
|
|
ViewBag.startTime = StartTime; |
|
|
ViewBag.endTime = EndTime; |
|
|
ViewBag.endTime = EndTime; |
|
|