<기능개선>

1. PMS NO : 8004
2. (주요)작업내용 
(1)BO/Controllers/croomController.cs
 - 채점완료 항목 파라메터 추가
(2) BO/Views/croom/gradeall4.cshtml
 - 채점완료 항목 생성
(3) Dao/MyBatis/Maps/Lect.xml
 - 채점 완료 관련 항목에 따른 쿼리 구문 추가
This commit is contained in:
jity7777 2023-06-12 06:09:20 +00:00
parent a6569f6120
commit 244a110a02
3 changed files with 11 additions and 2 deletions

View File

@ -876,6 +876,7 @@ namespace NP.BO.Controllers
ht.Add("sdtype", 0);
vm.LectSDs = new List<LectSD>() { };
ht.Add("sdstate", vm.addstringval2);
ht.Add("cpointchk", vm.addstringval3);
ht.Add("isproduct" + (GetConfig("isstaging") == "1" ? "x" : ""), 1);
vm.LectSDs = Dao.Get<LectSD>("lect.lectsds.all", ht);
/*to-do*/

View File

@ -5,7 +5,8 @@
<form id="mform" method="post">
<section class="panel panel-default">
<div style="padding: 10px 10px">
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-응시상태;1:제출;0:미제출" }, { "name", "addstringval2" }, { "selected", Model.addstringval2 }, { "onchange", "findme()" } })
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-응시상태;1:제출;0:미제출" }, { "name", "addstringval2" }, { "selected", Model.addstringval2 }, { "onchange", "findme()" }, { "style", "vertical-align: middle;" } })
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-채점상태;1:채점완료;0:미채점" }, { "name", "addstringval3" }, { "selected", Model.addstringval3 }, { "onchange", "findme()" }, { "style", "vertical-align: middle;" } })
@Html.Partial("./Partial/pagerow", new ViewDataDictionary { { "tbodyid", "tbody1" }, { "searchmethod", "submit()" }, { "pagesize", Model.pagerowcount } })
@*<a href="#" onclick="javascript:exceldown('mform', '/croom/gradeall', 'tbody1', '성적처리과제');" class="btn btn-s-xs btn-success" style="margin-left: 5px; float:right;">엑셀다운로드</a>*@
<a href="#" onclick="javascript:callComment('mform', '/croom/gradeall', 'tbody1', '성적처리과제');" class="btn btn-s-xs btn-success" style="margin-left: 5px; float:right;">엑셀다운로드</a>
@ -209,6 +210,7 @@
<script>
var ischange = false;
$(document).ready(function () {
/* $("[name='pagerowcount']").css("vertical-align", "");*/
$("body").on("click", "td.qi div.imgbox", function () {
$(this).toggleClass("active");
});
@ -218,7 +220,8 @@
});
function findme() {
bglayer(); submit();
bglayer();
submit();
}
var _isprenext = false;
function getsds(isprenext) {

View File

@ -1503,6 +1503,11 @@
<isNotNull property="ustatus">
<isNotEmpty property="ustatus">and d.status = #ustatus#</isNotEmpty>
</isNotNull>
<isNotNull property="cpointchk">
<isEqual property="cpointchk" compareValue="0">and ifnull(c.cpoint,0) = 0</isEqual>
<isEqual property="cpointchk" compareValue="1">and ifnull(c.cpoint,0) > 0</isEqual>
<isNotEmpty property="ustatus">and d.status = #ustatus#</isNotEmpty>
</isNotNull>
<isNotNull property="attendance" >
<!--해당없음-->