<기능개선>

통합테스트목록 - {503}
FO/Views/CRoom/EstimationExam.cshtml
Dao/MyBatis/Maps/CRoom.xml - "cr.lectex"
This commit is contained in:
kdh0120 2021-11-09 23:53:57 +00:00
parent ed8de3ed36
commit bd794db687
2 changed files with 54 additions and 59 deletions

View File

@ -242,8 +242,6 @@
inner join cmev d on d.cmno=b.cmno inner join cmev d on d.cmno=b.cmno
</sql> </sql>
<select id="grade.lectgrades" parameterClass="hashtable" resultClass="lect"> <select id="grade.lectgrades" parameterClass="hashtable" resultClass="lect">
select a.*
from (
select a.* select a.*
from ( from (
select a.lectno,b.userno select a.lectno,b.userno
@ -300,10 +298,7 @@
<isNotEmpty property="sdateall" prepend="and">(case when c.cshape = 0 and b.isrebate = 0 then p.payoktime else b.sdate end) &gt;= date_format(#sdateall#,'%Y-%m-%d 00:00:00')</isNotEmpty> <isNotEmpty property="sdateall" prepend="and">(case when c.cshape = 0 and b.isrebate = 0 then p.payoktime else b.sdate end) &gt;= date_format(#sdateall#,'%Y-%m-%d 00:00:00')</isNotEmpty>
<isNotEmpty property="edateall" prepend="and">(case when c.cshape = 2 then e.eend else b.edate end) &lt;= date_format(#edateall#,'%Y-%m-%d 23:59:59')</isNotEmpty> <isNotEmpty property="edateall" prepend="and">(case when c.cshape = 2 then e.eend else b.edate end) &lt;= date_format(#edateall#,'%Y-%m-%d 23:59:59')</isNotEmpty>
<isNotNull property="asname" prepend="and">ua.asname like concat('%',#asname#,'%')</isNotNull> <isNotNull property="asname" prepend="and">ua.asname like concat('%',#asname#,'%')</isNotNull>
</dynamic> <isNotNull property="edate" prepend="and">date_format((case when c.cshape = 2 and e.eend is not null then e.eend else b.edate end),'%Y-%m-%d') = #edate#</isNotNull>
) a
<dynamic prepend="where">
<isNotNull property="edate" prepend="and">a.edatestring = #edate#</isNotNull>
</dynamic> </dynamic>
) a ) a
<include refid="sql.pagedynamic"></include> <include refid="sql.pagedynamic"></include>

View File

@ -70,7 +70,7 @@
} }
} }
function showexam() { function showexam() {
if (@Model.LectEX.ispass == 1) { if (@Model.LectEX.ispass == 0) {
msg("수료기준을 통과하지 못하여 비공개처리되었습니다."); msg("수료기준을 통과하지 못하여 비공개처리되었습니다.");
} else { } else {
//응시결과창 //응시결과창