This commit is contained in:
hyunho 2020-12-23 06:07:24 +00:00
parent 6363778876
commit e819bead91
2 changed files with 5 additions and 2 deletions

View File

@ -275,6 +275,7 @@
} else {
$("#pcap").text("회차수정");
capp("/acommon/cminningget", { cmino: no }, "cbcminningget", null, null, null, true);
bglayer(); $("#thisbox").slideDown("fast", function () { $("#thisbox").scrollTop(0); });
}
}
function regscd(no,sno) {
@ -390,6 +391,7 @@
gotab(2, 500);
} else {
msg("교육일정 정보가 있습니다. 삭제할 수 없습니다.");
$("#thisbox").slideUp("fast", function () { $("#thisbox").scrollTop(0); });
}
}
function cbscddel() {
@ -398,6 +400,7 @@
gotab(2, 500);
} else {
msg("등록인원이 있습니다. 삭제할 수 없습니다.");
$("#thisbox").slideUp("fast", function () { $("#thisbox").scrollTop(0); });
}
}

View File

@ -357,7 +357,7 @@
<update id="cm.cminning.del3" parameterClass="long">
delete from cminning where cmino = (
select a.cmino from (
select case when count(b.cmisno) &lt; 1 then #cmino# else 0 end cmisno
select case when count(b.cmino) &lt; 1 then #cmino# else 0 end cmino
from (select 1 col1) a
left outer join cminningscd b on b.cmino=#cmino#) a
)
@ -1903,7 +1903,7 @@
from users a
left outer join lect b on a.userno = b.userno
where a.userno = #userno#
and b.cmno = #cmno# and (b.iscomplete = 1 or b.iscomplete is null)
and b.cmno = #cmno# and b.iscomplete = 1
</select>
<select id="cm.cminningscdcheck" parameterClass="hashtable" resultClass="int">
select