누락본 커밋
This commit is contained in:
parent
23f66216ab
commit
61c6104ae2
|
|
@ -1822,5 +1822,25 @@
|
|||
set a.etime=now(),a.eip=#uip#,a.udt=now(),a.uno=#uno#,a.uip=#uip#
|
||||
where a.logno=#logno#;
|
||||
</update>
|
||||
|
||||
<select id="cr.myExCheck" parameterClass="hashtable" resultClass="data">
|
||||
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
|
||||
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 (pl.typeedu = 32 or
|
||||
( l.completetime is null and li.stime is not null
|
||||
and l.sdate < '2024-08-01 00:00:00' and l.edate > '2025-08-03 00:00:00'))
|
||||
</select>
|
||||
</statements>
|
||||
</sqlMap>
|
||||
|
|
@ -184,6 +184,23 @@ namespace NP.FO.Controllers
|
|||
{"subject"+(vm.tabidx == 0 || vm.tabidx == 2?"":"x"),1 },
|
||||
{"discuss"+(vm.tabidx == 0 || vm.tabidx == 3?"":"x"),1 }
|
||||
});
|
||||
|
||||
ViewBag.exCheck = true; // true일때 lms에서 시험내용으로 진입 가능
|
||||
|
||||
if(DateTime.Now > DateTime.Parse(GetConfig("2024ExDate")))
|
||||
{
|
||||
var lectCheck = Dao.Get<Data>("cr.myExCheck", new System.Collections.Hashtable() { { "lectno", vm.croomlectno }, { "userno", SUserInfo.UserNo } });
|
||||
|
||||
if (lectCheck.Count > 0)
|
||||
{
|
||||
ViewBag.exCheck = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
ViewBag.exCheck = false;
|
||||
}
|
||||
}
|
||||
|
||||
return CView(vm);
|
||||
}
|
||||
public ActionResult EstimationExam(VMCRoom vm)
|
||||
|
|
|
|||
|
|
@ -22,8 +22,21 @@
|
|||
<h5><b>@(d.dtype == 0 ? "진행평가":d.dtype==1?"최종평가":d.dtype == 2?"과제":d.dtype==3?"토론":"")</b><span> @d.strval</span></h5>
|
||||
<p>참여조건 : 진도율 @(d.intval2)% 이상 / 수강 종료일 (@d.time.ToShortDateString()) 이내</p>
|
||||
</th>
|
||||
<td><a href="#" onclick="eva(@d.dtype, @d.intval10, @(d.intval4==1?4:d.intval3==1?3:d.intval3==0 && d.intval >=d.intval2?2:1))"
|
||||
class="evaType@(d.intval4==1?"04":d.intval3==1?"03":d.intval3==0 && d.intval >=d.intval2?"02":"01")">@(d.intval4 == 1 ? "[평가완료]" : d.intval3 == 1 ? "[참여완료]" : d.intval3 == 0 && d.intval >=d.intval2 ? "[참여가능]" : "[참여불가]")</a></td>
|
||||
@if (d.dtype == 1 && ViewBag.exCheck == false)
|
||||
{
|
||||
<td>
|
||||
<a href="#" onclick="msg('24년 8월 1일 부터 건설기술진흥법 변경으로 <br>집체교육 당일 교육장에서 시험평가가 진행됩니다.')"
|
||||
class="evaType@(d.intval4==1?"04":d.intval3==1?"03":d.intval3==0 && d.intval >=d.intval2?"02":"01")">@(d.intval4 == 1 ? "[평가완료]" : d.intval3 == 1 ? "[참여완료]" : d.intval3 == 0 && d.intval >=d.intval2 ? "[참여가능]" : "[참여불가]")</a>
|
||||
</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td>
|
||||
<a href="#" onclick="eva(@d.dtype, @d.intval10, @(d.intval4==1?4:d.intval3==1?3:d.intval3==0 && d.intval >=d.intval2?2:1))"
|
||||
class="evaType@(d.intval4==1?"04":d.intval3==1?"03":d.intval3==0 && d.intval >=d.intval2?"02":"01")">@(d.intval4 == 1 ? "[평가완료]" : d.intval3 == 1 ? "[참여완료]" : d.intval3 == 0 && d.intval >=d.intval2 ? "[참여가능]" : "[참여불가]")</a>
|
||||
</td>
|
||||
}
|
||||
|
||||
</tr>
|
||||
}
|
||||
@if (Model.Datas.Where(w => w.dtype > -1).Count() < 1)
|
||||
|
|
|
|||
|
|
@ -414,11 +414,29 @@
|
|||
}
|
||||
else if (cshape == 2) //온라인
|
||||
{
|
||||
strTmp = "<div style='margin-bottom: 30px;font-weight: bold; font-size: 14pt;border:solid 1px red;width:780px;padding:10px 10px;line-height:27px;'><span style='color:red'>※ 수료조건을 모두 만족하신 후 " +
|
||||
"교육종료일(집체교육 참석일)에 집체교육 7시간을 참석 하시면 됩니다.</span > <br>" +
|
||||
"※ <span style=' font-size: 12pt;'>수료조건 : 동영상강의 진도율 90% 이상 / 시험평가 60점 이상 / 과제 제출</span><br>" +
|
||||
"※ <span style=' font-size: 12pt;'>교육비 입금과 동시에 동영상강의 시청이 가능합니다.</span>" +
|
||||
"</div><br><span class='clsTitle'>교육종료일(집체교육 참석일)을 선택하여 주세요.</span>";
|
||||
var today = new Date();
|
||||
var year = today.getFullYear();
|
||||
var month = ('0' + (today.getMonth() + 1)).slice(-2);
|
||||
var day = ('0' + today.getDate()).slice(-2);
|
||||
var dateNumber = parseFloat(year + month + day);
|
||||
|
||||
if (dateNumber > @(System.Web.Configuration.WebConfigurationManager.AppSettings["2024ExDate2"])) {
|
||||
strTmp = "<div style='margin-bottom: 30px;font-weight: bold; font-size: 14pt;border:solid 1px red;width:810px;padding:10px 10px;line-height:27px;'><span style='color:red'>※ 집체교육 참석조건을 만족하신 후 교육종료일(집체교육 참석일)" +
|
||||
"에 집체교육 7시간을 참석하시면 됩니다.</span > <br>" +
|
||||
"<span style=' font-size: 12pt;margin-left:10px;'>- 집체교육 참석 조건 : 동영상강의 진도율 90%이상 / 과제제출<span><br>" +
|
||||
"<span style=' font-size: 12pt;margin-left:10px;'>- 시험평가는 집체교육 당일 교육장에서 진행됩니다.<span><br>" +
|
||||
"<span style=' font-size: 12pt;margin-left:10px;'>- 관련 규정 변경으로 집체교육 참석 조건이 되지 않은 경우 </span>" +
|
||||
"<span style=' font-size: 12pt;color:red'>집체교육 참석이 불가합니다.<span><br>" +
|
||||
"<span style=' font-size: 12pt;color:blue'>※ 관련 규정에 의해 하루 최대 학습가능 시간은 10시간(10차시)이므로 집체일정 선택 시 참고하시기 바랍니다.</span>" +
|
||||
"</div><br><span class='clsTitle'>교육종료일(집체교육 참석일)을 선택하여 주세요.</span>";
|
||||
}
|
||||
else {
|
||||
strTmp = "<div style='margin-bottom: 30px;font-weight: bold; font-size: 14pt;border:solid 1px red;width:780px;padding:10px 10px;line-height:27px;'><span style='color:red'>※ 수료조건을 모두 만족하신 후 " +
|
||||
"교육종료일(집체교육 참석일)에 집체교육 7시간을 참석 하시면 됩니다.</span > <br>" +
|
||||
"※ <span style=' font-size: 12pt;'>수료조건 : 동영상강의 진도율 90% 이상 / 시험평가 60점 이상 / 과제 제출</span><br>" +
|
||||
"※ <span style=' font-size: 12pt;'>교육비 입금과 동시에 동영상강의 시청이 가능합니다.</span>" +
|
||||
"</div><br><span class='clsTitle'>교육종료일(집체교육 참석일)을 선택하여 주세요.</span>";
|
||||
}
|
||||
}
|
||||
divInfo.append(strTmp);
|
||||
|
||||
|
|
|
|||
|
|
@ -104,6 +104,10 @@
|
|||
<add key="Popbill.TaxinvoiceService.UseStaticIP" value="false" />
|
||||
<!--로컬서버 시간 사용 여부 true-사용, false-미사용, 기본값(false)-->
|
||||
<add key="Popbill.TaxinvoiceService.UseLocalTimeYN" value="false" />
|
||||
<!--<add key="2024ExDate" value="2024-08-03 00:00:00"/>-->
|
||||
<add key="2024ExDate" value="2024-07-30 00:00:00"/>
|
||||
<!--<add key="2024ExDate2" value="20240802"/>-->
|
||||
<add key="2024ExDate2" value="20240729"/>
|
||||
</appSettings>
|
||||
<!-- to see logging output in the attached debugger -->
|
||||
<common>
|
||||
|
|
|
|||
Loading…
Reference in New Issue