6411. 쿼리배포 누락
This commit is contained in:
parent
b6dec7024a
commit
ce96f333bc
|
|
@ -1823,25 +1823,75 @@
|
||||||
where a.logno=#logno#;
|
where a.logno=#logno#;
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
<!-- 최종평가 응시 조건 -->
|
||||||
|
<!-- 주석친 조건은 2025년 3월 이후에 다시 사용될 예정 -->
|
||||||
<select id="cr.myExCheck" parameterClass="hashtable" resultClass="data">
|
<select id="cr.myExCheck" parameterClass="hashtable" resultClass="data">
|
||||||
|
<![CDATA[
|
||||||
|
select l.lectno longval
|
||||||
|
from lect l
|
||||||
|
inner join cm c
|
||||||
|
on l.cmno= c.cmno
|
||||||
|
inner join pay p
|
||||||
|
on l.payno = p.payno
|
||||||
|
inner join users u
|
||||||
|
on l.userno= u.userno
|
||||||
|
left outer join (select c.cmno
|
||||||
|
, c.cshape
|
||||||
|
, c.cname
|
||||||
|
, ci.cmino
|
||||||
|
,d.cmisno
|
||||||
|
,d.sseq
|
||||||
|
,d.estart
|
||||||
|
,d.eend
|
||||||
|
,d.studyplace
|
||||||
|
,ci.isscd
|
||||||
|
from cm c
|
||||||
|
inner join cminning ci on c.cmno = ci.cmno
|
||||||
|
inner join cminningscd d on d.cmino = ci.cmino
|
||||||
|
where c.cshape=2
|
||||||
|
and ci.isscd=1
|
||||||
|
and ci.scdtype=0
|
||||||
|
) cmi
|
||||||
|
on cmi.cmno = l.cmno and cmi.cmisno = l.cmisno
|
||||||
|
left outer join lectinning li
|
||||||
|
on li.cmino = cmi.cmino and li.lectno = l.lectno
|
||||||
|
left outer join pplog pl
|
||||||
|
on p.pplno= pl.pplno
|
||||||
|
where l.lectno=#lectno#
|
||||||
|
and l.userno = #userno#
|
||||||
|
and cmi.isscd = 1
|
||||||
|
and li.istatus = 2
|
||||||
|
]]>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<!-- 주석친 조건은 2025년 3월 이후에 다시 사용될 예정 -->
|
||||||
|
<!--<select id="cr.myExCheck" parameterClass="hashtable" resultClass="data">
|
||||||
|
<![CDATA[
|
||||||
select l.lectno longval
|
select l.lectno longval
|
||||||
from lect l
|
from lect l
|
||||||
inner join cm c on l.cmno= c.cmno
|
inner join cm c on l.cmno= c.cmno
|
||||||
inner join pay p on l.payno = p.payno
|
inner join pay p on l.payno = p.payno
|
||||||
inner join users u on l.userno= u.userno
|
inner join users u on l.userno= u.userno
|
||||||
left outer join (
|
left outer join (select c.cmno, c.cshape, c.cname, ci.cmino,d.cmisno,d.sseq,d.estart,d.eend,d.studyplace
|
||||||
select c.cmno, c.cshape, c.cname, ci.cmino,d.cmisno,d.sseq,d.estart,d.eend,d.studyplace
|
|
||||||
from cm c
|
from cm c
|
||||||
inner join cminning ci on c.cmno = ci.cmno
|
inner join cminning ci on c.cmno = ci.cmno
|
||||||
inner join cminningscd d on d.cmino = ci.cmino
|
inner join cminningscd d on d.cmino = ci.cmino
|
||||||
where c.cshape=2 and ci.isscd=1 and ci.scdtype=0
|
where c.cshape=2
|
||||||
|
and ci.isscd=1
|
||||||
|
and ci.scdtype=0
|
||||||
) cmi on cmi.cmno = l.cmno and cmi.cmisno = l.cmisno
|
) cmi on cmi.cmno = l.cmno and cmi.cmisno = l.cmisno
|
||||||
left outer join lectinning li on li.cmino = cmi.cmino and li.lectno = l.lectno
|
left outer join lectinning li on li.cmino = cmi.cmino and li.lectno = l.lectno
|
||||||
left outer join pplog pl on p.pplno= pl.pplno
|
left outer join pplog pl on p.pplno= pl.pplno
|
||||||
where l.lectno=#lectno# and l.userno = #userno# and (pl.typeedu = 32 or
|
where l.lectno=#lectno#
|
||||||
( l.completetime is null and li.stime is not null
|
and l.userno = #userno#
|
||||||
and l.sdate < '2024-08-19 00:00:00' and li.stime is not null and li.stime < '2024-08-22 00:00:00'))
|
and (pl.typeedu = 32 or ( l.completetime is null
|
||||||
</select>
|
and li.stime is not null
|
||||||
|
and l.sdate < '2024-08-19 00:00:00'
|
||||||
|
and li.stime is not null
|
||||||
|
and li.stime < '2024-08-22 00:00:00')
|
||||||
|
)
|
||||||
|
]]>
|
||||||
|
</select>-->
|
||||||
|
|
||||||
</statements>
|
</statements>
|
||||||
</sqlMap>
|
</sqlMap>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue