This commit is contained in:
parent
598ab25fa0
commit
6207b06b72
|
|
@ -1302,6 +1302,29 @@
|
||||||
,completetime=#completetime#
|
,completetime=#completetime#
|
||||||
where lectno=#lectno# and iscomplete=1;
|
where lectno=#lectno# and iscomplete=1;
|
||||||
</update>
|
</update>
|
||||||
|
<select id="lect.lecture.document" parameterClass="hashtable" resultClass="lect">
|
||||||
|
select a.*
|
||||||
|
from (
|
||||||
|
select a.lectno,a.userno,a.isrebate,a.iscomplete
|
||||||
|
,b.cmno,b.cname,b.cshape
|
||||||
|
,b.rstime,b.retime
|
||||||
|
,b.sstime,b.setime
|
||||||
|
,c.tyear,c.tseq
|
||||||
|
,e.pstatus,e.payamt
|
||||||
|
,f.estart,f.eend
|
||||||
|
,cc.cname studyplacename
|
||||||
|
,row_number() over(order by a.cdt desc) rno
|
||||||
|
,count(a.lectno) over() pagetotalcount
|
||||||
|
from lect a
|
||||||
|
inner join cm b on b.cmno = a.cmno
|
||||||
|
inner join term c on c.tmno = b.tmno
|
||||||
|
inner join pay e on e.payno = a.payno
|
||||||
|
left outer join cminningscd f on f.cmisno = a.cmisno
|
||||||
|
left outer join comcode cc on cc.ccode = b.studyplace
|
||||||
|
where a.userno = #userno# and a.status=1 and a.ischanged=0
|
||||||
|
) a
|
||||||
|
<include refid="sql.pagedynamic"></include>
|
||||||
|
</select>
|
||||||
</statements>
|
</statements>
|
||||||
</sqlMap>
|
</sqlMap>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -411,5 +411,23 @@ namespace NP.FO.Controllers
|
||||||
}
|
}
|
||||||
return View(vm);
|
return View(vm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ActionResult Document(VMMy vm)
|
||||||
|
{
|
||||||
|
ViewBag.reporturl = GetConfig("reporturl");
|
||||||
|
if (vm.tabidx == 0)
|
||||||
|
{
|
||||||
|
vm.pagerowcount = vm.pagerowcount < 1 ? 10 : vm.pagerowcount;
|
||||||
|
var ht = SetHash(vm);
|
||||||
|
ht.Add("userno", SUserInfo.UserNo);
|
||||||
|
vm.Lects = Dao.Get<Lect>("lect.lecture.document", ht);
|
||||||
|
vm.pagetotalcount = GetCount(vm.Lects.FirstOrDefault());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//여기는 2021년 이전과정 근데 아직 뭔가 안나옴..
|
||||||
|
}
|
||||||
|
return View(vm);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -665,6 +665,7 @@
|
||||||
<Content Include="Views\Course\ApplyPay.cshtml" />
|
<Content Include="Views\Course\ApplyPay.cshtml" />
|
||||||
<Content Include="Views\Course\XpayREQ.cshtml" />
|
<Content Include="Views\Course\XpayREQ.cshtml" />
|
||||||
<Content Include="Views\Course\XpayReturnURL.cshtml" />
|
<Content Include="Views\Course\XpayReturnURL.cshtml" />
|
||||||
|
<Content Include="Views\My\Document.cshtml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="App_Data\" />
|
<Folder Include="App_Data\" />
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@
|
||||||
<!--<add key="SIP" value="192.168.0.58" />-->
|
<!--<add key="SIP" value="192.168.0.58" />-->
|
||||||
<add key="fronturl" value="https://www.ynicte.com" />
|
<add key="fronturl" value="https://www.ynicte.com" />
|
||||||
<add key="adminurl" value="http://admin.ynicte.com" />
|
<add key="adminurl" value="http://admin.ynicte.com" />
|
||||||
|
<add key="reporturl" value="http://ynicter.nptc.kr" />
|
||||||
<!--<add key="masteremail" value="edu@ynicte.or.kr;mail.ynicte.or.kr;25;ynicte@ynicte.or.kr;k7758870!%" />-->
|
<!--<add key="masteremail" value="edu@ynicte.or.kr;mail.ynicte.or.kr;25;ynicte@ynicte.or.kr;k7758870!%" />-->
|
||||||
<add key="masteremail" value="yicte@cte.or.kr;smtp.daum.net;465;yicte2020;yicte04003" />
|
<add key="masteremail" value="yicte@cte.or.kr;smtp.daum.net;465;yicte2020;yicte04003" />
|
||||||
<add key="usessl" value="N" />
|
<add key="usessl" value="N" />
|
||||||
|
|
|
||||||
|
|
@ -1053,6 +1053,7 @@ namespace NP.Model
|
||||||
public String cmnos { get; set; }
|
public String cmnos { get; set; }
|
||||||
public int ispassat { get; set; }
|
public int ispassat { get; set; }
|
||||||
public DateTime? completetime { get; set; }
|
public DateTime? completetime { get; set; }
|
||||||
|
public String studyplacename { get; set; }
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 자격검정시험
|
/// 자격검정시험
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue