소스 검색

全院学生成绩查看排序修改,课时费统计BUG

黑龙江艺术高中职
dao 4 달 전
부모
커밋
da9b95e7a8
9개의 변경된 파일24개의 추가작업 그리고 15개의 파일을 삭제
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/AllStuScoreQueryIndex.cshtml
  2. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/AllStuScoreQueryIndex.js
  3. +1
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/js/DragSSO/main.js
  4. +10
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs
  5. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragNoLogin.cshtml
  6. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuScoreApi.cs
  7. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTerm/ArrangeLessonTermService.cs
  8. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreService.cs
  9. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/manifest.json

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/AllStuScoreQueryIndex.cshtml 파일 보기

@@ -22,7 +22,7 @@
<div id="Grade" type="lrselect" class="lr-select"></div>
</div>
<div class="lr-layout-tool-item">
<input id="StuNo" type="text" class="form-control" placeholder="请输入学号" />
<input id="StuNo" type="text" class="form-control" placeholder="请输入学号或姓名" />
</div>
<div class="lr-layout-tool-item">
<a id="btn_Search" class="btn btn-primary btn-sm"><i class="fa fa-search"></i>&nbsp;查询</a>


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/AllStuScoreQueryIndex.js 파일 보기

@@ -39,10 +39,10 @@ var bootstrap = function ($, learun) {
var AcademicYearNo = $('#AcademicYearNo').lrselectGet();
var Semester = $('#Semester').lrselectGet();
var StuNo = $.trim($('#StuNo').val());
if (StuNo == null || StuNo == "") {
learun.alert.warning("请输入学号!");
return;
}
//if (StuNo == null || StuNo == "") {
// learun.alert.warning("请输入学号!");
// return;
//}
var LessonNo = $('#LessonNo').lrselectGet();
var Grade = $('#Grade').lrselectGet();
learun.layerForm({


+ 1
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/js/DragSSO/main.js 파일 보기

@@ -9,11 +9,7 @@ $(document).ready(function () {
}
var qrCodeBox = $('.qrCodeBox');
var loginForm = $('#loginForm');
//var qrcode = new QRCode(document.getElementById("qrCode"), {
// width: 200,
// height: 200
//});
//makeCode('http://192.168.1.126:8081/Login/Index');
// header search
$(document).on('click', function () {
$('.skinBox').removeClass('active');


+ 10
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs 파일 보기

@@ -896,6 +896,12 @@ namespace Learun.Application.Web.Controllers
/// <returns></returns>
public ActionResult NoLogin()
{
var refe = Request.UrlReferrer.ToString();

var host = Request.Url.Host;

if (!refe.Contains(host)) return Content("请正确访问系统");

//获取错误次数
ViewBag.errornum = OperatorHelper.Instance.GetCurrentErrorNum();
//获取高职版跳转地址
@@ -914,6 +920,10 @@ namespace Learun.Application.Web.Controllers
var result4 = teachSwitchIBLL.FindFirst("wxloginforpc");
ViewBag.WeixinLoginSwitch = result4;

HttpContext.Response.Headers.Add("Cache-Control", "no-cache");
HttpContext.Response.Headers.Add("pragma", "no-cache");
HttpContext.Response.Headers.Add("expires", "0");


return View("DragNoLogin");
}


+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragNoLogin.cshtml 파일 보기

@@ -5,6 +5,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="Cache-Control" content="no-cache,no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta name="renderer" content="webkit" />
<meta name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuScoreApi.cs 파일 보기

@@ -70,7 +70,7 @@ namespace Learun.Application.WebApi.Modules
ScoreOfNotPass = y.ScoreOfNotPass,
ScoreOfNotPassTwo = y.ScoreOfNotPassTwo
}).OrderBy(a => a.LessonSortNo).ThenBy(a => a.LessonNo).ToList()
}).ToList().OrderByDescending(x => x.AcademicYearNo).ThenByDescending(x => x.Semester);
}).ToList().OrderByDescending(x => x.AcademicYearNo).ThenBy(x => x.Semester);
result.ScoreList = dataTemp.ToList();

return Success(result);


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTerm/ArrangeLessonTermService.cs 파일 보기

@@ -2346,7 +2346,7 @@ group by AcademicYearNo,Semester,DeptNo,MajorNo,LessonNo,TeachClassNo,EmpNo,Les
strSql.Append(" when b.jobrank in(1,2,3,4) then (case when ta.actcourses<=(" + weeks + "*b.weekcourses)/2 then ta.actcourses*b.feestandard else " + weeks + "*b.weekcourses*b.feestandard/2 end) ");
strSql.Append(" else 0 end as actfeestandard ");
strSql.Append("from ");
strSql.Append("(select count(*) as courses,a.empno,a.empname from ArrangeLessonTerm a where lessondate between '" + starttime + "' and '" + endtime + "' " + notimeSql + " group by a.empno,a.empname ) a ");
strSql.Append("(select count(*) as courses,a.empno,a.empname from ArrangeLessonTerm a where CheckMark=1 and lessondate between '" + starttime + "' and '" + endtime + "' " + notimeSql + " group by a.empno,a.empname ) a ");
strSql.Append("left join (select count(*) as actcourses,EmpNo from (select ff.EmpNo,ff.LessonDate,ff.LessonTime from (select aall.* from (select EmpNo,ALTId from Teach_attendance where LessonSortNo='1' and clocktime between '" + starttime + "' and '" + endtime + "' " + notimeSql2 + " group by EmpNo,ALTId) ee left join ArrangeLessonTerm aall on aall.ALTId=ee.ALTId) ff group by ff.EmpNo,ff.LessonDate,ff.LessonTime) gg group by gg.EmpNo ) ta on ta.empno=a.empno ");
strSql.Append("left join empinfo b on a.empno=b.empno ");
strSql.Append("where a.empno is not null and (b.IsInActiveStatus=" + status + " or (0=" + status + " and b.IsInActiveStatus!=2)) ");


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreService.cs 파일 보기

@@ -2262,7 +2262,7 @@ where StuNo not in(Select StuNo from stuscore s where s.Academicyearno = sl.Acad
if (!queryParam["StuNo"].IsEmpty())
{
dp.Add("StuNo", queryParam["StuNo"].ToString(), DbType.String);
strSql.Append(" and s.StuNo=@StuNo ");
strSql.Append(" and (s.StuNo=@StuNo or s.StuName=@StuNo) ");
}
if (!queryParam["StuName"].IsEmpty())
{
@@ -2402,7 +2402,7 @@ group by c.StuNo) cc where cc.StuNo = bb.StuNo) as RankIndept ");
if (!queryParam["StuNo"].IsEmpty())
{
dp.Add("StuNo", queryParam["StuNo"].ToString(), DbType.String);
strSql.Append(" and s.StuNo=@StuNo ");
strSql.Append(" and (s.StuNo=@StuNo OR s.StuName=@StuNo) ");
}
if (!queryParam["StuName"].IsEmpty())
{


+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/manifest.json 파일 보기

@@ -2,7 +2,7 @@
"name" : "智慧校园",
"appid" : "__UNI__7C24C09",
"description" : "智慧校园移动端",
"versionName" : "2.2.0.240607",
"versionName" : "2.2.0.240705",
"versionCode" : 20202,
"transformPx" : false,
/* 5+App特有相关 */


불러오는 중...
취소
저장