@@ -55,7 +78,7 @@
@d.rnorvt |
@d.asname |
@(d.cnoname)(@d.cnoid) |
-
@d.username@Html.Raw(string.IsNullOrEmpty(d.fileurl)?"": (" ")) |
+
@d.username@Html.Raw(string.IsNullOrEmpty(d.fileurl)?"": (" ")) |
@d.cdtymd |
@d.statusname |
@d.pstatusname |
@@ -76,17 +99,17 @@
| 고객사 | |
- | 사업장과의관계 | |
+ @*| 사업장과의관계 | |
*@
| 이름(ID) | |
- | 직위/부서 | |
- @if(Model.CM.cgno != 10)
+ | 직위 | |
+ @*@if(Model.CM.cgno != 10)
{
| 공정거래업무경력 | |
- }
+ }*@
| 이메일 | |
- | 회사전화번호 | |
+ @*| 회사전화번호 | |
*@
| 휴대전화번호 | |
- | 연합회 교육이력 | |
+ @*| 연합회 교육이력 | |
*@
| 경력증명서 | |
| 심사여부 | @Html.Partial("./Partial/Radio", null, new ViewDataDictionary() { { "valuetext", "3:신청중;4:승인;5:미승인" }, { "checked", 3 }, { "name", "status" } }) |
@@ -149,7 +172,7 @@
$("#asname").text(ds[0]);
$("#assignuser").text(ds[8]);
$("#usernameid").text(ds[1] + "(" + ds[2] + ")");
- $("#positiondepart").text(ds[3] + " / " + ds[4]);
+ $("#positiondepart").text(ds[3]);
$("#ckfcfyear").text(ds[9]);
$("#email").text(ds[5]);
$("#telno").text(ds[6]);
diff --git a/BO/Views/croom/lectcms.cshtml b/BO/Views/croom/lectcms.cshtml
index bb07793..9248639 100644
--- a/BO/Views/croom/lectcms.cshtml
+++ b/BO/Views/croom/lectcms.cshtml
@@ -41,7 +41,9 @@
유형 |
강좌명 |
신청기간 |
-
(전체신청인원/완료/입금대기/결제대기) |
+
제한인원 |
+
수강인원 |
+ @*
(전체신청인원/완료/입금대기/결제대기) | *@
@@ -55,7 +57,9 @@
@d.cshapename |
@d.cnameclassno |
@d.rsrename |
- @string.Format("( {0} / {1} / {2} / {3} )", d.countlect.ToString("#,0"),d.countsuccess.ToString("#,0"),d.countstanbydraw.ToString("#,0"),d.countstanbypay.ToString("#,0")) |
+ @d.quotastr |
+ @d.countsuccess |
+ @*@string.Format("( {0} / {1} / {2} / {3} )", d.countlect.ToString("#,0"),d.countsuccess.ToString("#,0"),d.countstanbydraw.ToString("#,0"),d.countstanbypay.ToString("#,0")) | *@
}
diff --git a/Base/Controller/ACommonCRoom.cs b/Base/Controller/ACommonCRoom.cs
index 6a1397f..8f643f9 100644
--- a/Base/Controller/ACommonCRoom.cs
+++ b/Base/Controller/ACommonCRoom.cs
@@ -31,6 +31,37 @@ namespace NP.Base.Controllers
return JsonOK(Dao.Save("lect.status", new Hashtable() { { "lectno", lectno }, { "status", status }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }));
}
[HttpPost]
+ public JsonResult LectStatus3(Int64 lectno, int status, int pstatus)
+ {
+ if (pstatus == 1)
+ {
+ return JsonBack(new JsonRtn() { code = -1 });
+ }
+ return JsonOK(Dao.Save("lect.status3", new Hashtable() { { "lectno", lectno }, { "status", status }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }));
+ }
+ [HttpPost]
+ public JsonResult LectStatus2(string lectnos, int status, string cname, string emailinfos)
+ {
+ int rtn = Dao.Save("lect.status2", new Hashtable() { { "lectnos", lectnos }, { "status", status }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } });
+
+ if (rtn > 0 && status == 4 && !string.IsNullOrEmpty(emailinfos))
+ {
+ string[] mails = emailinfos.Split(',');
+ foreach (var item in mails)
+ {
+ var masteremail = GetConfig("masteremail");
+ var senderemail = masteremail.Split(';')[0];
+ if (!string.IsNullOrEmpty(item.Split(':')[1]))
+ {
+ string[] mailContents = { item.Split(':')[0], cname, DateTime.Now.ToString("yyyy-MM-dd hh:mm") };
+ SendMailTemplate("2", senderemail, "영남건설기술교육원", item.Split(':')[1], "[영남건설기술교육원]대기중인 강좌의 수강승인 처리안내", mailContents, null, null);
+ }
+ }
+ }
+
+ return JsonOK(rtn);
+ }
+ [HttpPost]
public JsonResult CMForChange(int cmno)
{
return JsonBack(Dao.Get
("lect.cmforchange", cmno));
@@ -927,5 +958,6 @@ namespace NP.Base.Controllers
{
return JsonOK(Dao.Save("lect.completetime.change", new Hashtable() { { "lectno", lectno }, { "completetime", completetime }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }));
}
+
}
}
\ No newline at end of file
diff --git a/Dao/MyBatis/Maps/CM.xml b/Dao/MyBatis/Maps/CM.xml
index 1b209c5..6e4e4c1 100644
--- a/Dao/MyBatis/Maps/CM.xml
+++ b/Dao/MyBatis/Maps/CM.xml
@@ -171,15 +171,25 @@
order by a.rno
diff --git a/Dao/MyBatis/Maps/Lect.xml b/Dao/MyBatis/Maps/Lect.xml
index a0a02eb..d9d541f 100644
--- a/Dao/MyBatis/Maps/Lect.xml
+++ b/Dao/MyBatis/Maps/Lect.xml
@@ -89,16 +89,16 @@
order by b.username