From 4a1c5c0d6485543ab9bdbc5951d49e76efcb6f76 Mon Sep 17 00:00:00 2001 From: kdh0120 Date: Mon, 17 May 2021 01:14:33 +0000 Subject: [PATCH] =?UTF-8?q?<=EC=8B=A0=EA=B7=9C=EA=B0=9C=EB=B0=9C>=201.=20P?= =?UTF-8?q?MS=20NO=20:=20NULL=202.=20(=EC=A3=BC=EC=9A=94)=EC=9E=91?= =?UTF-8?q?=EC=97=85=EB=82=B4=EC=9A=A9=20(1)=20Base/Controller/FCommonCRoo?= =?UTF-8?q?m.cs=20=20=20=20=20BO/Views/cm/cmregex.cshtml=20=20=20=20=20Dao?= =?UTF-8?q?/DB/DB1.Scheme.txt=20=20=20=20=20Dao/MyBatis/Maps/CM.xml=20=20?= =?UTF-8?q?=20=20=20Dao/MyBatis/Maps/CRoom.xml=20=20=20=20=20FO/Views/CRoo?= =?UTF-8?q?m/EstimationExam.cshtml=20=20=20=20=20Model/CM.cs=20=20-=20=20?= =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=20=EC=9E=AC=EC=9D=91=EC=8B=9C?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit <기능개선> 1. PMS NO : NULL 2. (주요)작업내용 (1) FO/Controllers/AccountController.cs - 가상계좌 입금 로그 정리(테스트용으로 쓴부분) --- BO/Views/cm/cmregex.cshtml | 4 ++++ Base/Controller/FCommonCRoom.cs | 5 +++++ Dao/DB/DB1.Scheme.txt | 1 + Dao/MyBatis/Maps/CM.xml | 9 +++++---- Dao/MyBatis/Maps/CRoom.xml | 4 ++-- FO/Controllers/AccountController.cs | 5 ----- FO/Views/CRoom/EstimationExam.cshtml | 19 +++++++++++++++++++ Model/CM.cs | 2 ++ 8 files changed, 38 insertions(+), 11 deletions(-) diff --git a/BO/Views/cm/cmregex.cshtml b/BO/Views/cm/cmregex.cshtml index e56ff80..3be7c1d 100644 --- a/BO/Views/cm/cmregex.cshtml +++ b/BO/Views/cm/cmregex.cshtml @@ -143,6 +143,10 @@
+
+ +
+
diff --git a/Base/Controller/FCommonCRoom.cs b/Base/Controller/FCommonCRoom.cs index 6ec05de..a7d3a79 100644 --- a/Base/Controller/FCommonCRoom.cs +++ b/Base/Controller/FCommonCRoom.cs @@ -196,6 +196,11 @@ namespace NP.Base.Controllers } } + [HttpPost] + public JsonResult ReExamForUser(int exno, Int64 lectno) + { + return JsonOK(Dao.Save("lect.reexam", new System.Collections.Hashtable() { { "exno", exno }, { "lectno", lectno }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }) > 1 ? 1 : 0); + } } diff --git a/Dao/DB/DB1.Scheme.txt b/Dao/DB/DB1.Scheme.txt index 0189947..f3d5908 100644 --- a/Dao/DB/DB1.Scheme.txt +++ b/Dao/DB/DB1.Scheme.txt @@ -532,6 +532,7 @@ create table cmex ( ,isusebackup tinyint not null ,isseq tinyint not null ,isresultopen tinyint not null default 0 + ,isreexamable tinyint not null default 0 ,isdel tinyint not null ,cdt datetime not null,cno bigint not NULL,udt datetime not null,uno bigint not NULL,uip varchar(50) not NULL ,primary key(exno)); diff --git a/Dao/MyBatis/Maps/CM.xml b/Dao/MyBatis/Maps/CM.xml index 6304693..c19642b 100644 --- a/Dao/MyBatis/Maps/CM.xml +++ b/Dao/MyBatis/Maps/CM.xml @@ -704,7 +704,7 @@ UPDATE cmex SET ,exname=#exname#,edesc=#edesc#,econdition=#econdition#,isblur=#isblur#,isusebackup=#isusebackup# - ,isseq=#isseq#,isresultopen=#isresultopen#,etime=#etime# + ,isseq=#isseq#,isreexamable=#isreexamable#,isresultopen=#isresultopen#,etime=#etime# where exno=#exno# INSERT INTO cmex - (cmno,extype,exname,edesc,etime,econdition,evtype,eqtype,israndq,israndqi,qcount,isblur,tpoint,relaylimit,isusebackup,isseq,isresultopen,isdel,) - values (#cmno#,#extype#,#exname#,#edesc#,#etime#,#econdition#,#evtype#,#eqtype#,#israndq#,#israndqi#,#qcount#,#isblur#,#tpoint#,#relaylimit#,#isusebackup#,#isseq#,#isresultopen#,0,) + (cmno,extype,exname,edesc,etime,econdition,evtype,eqtype,israndq,israndqi,qcount,isblur,tpoint,relaylimit,isusebackup,isseq,isreexamable,isresultopen,isdel,) + values (#cmno#,#extype#,#exname#,#edesc#,#etime#,#econdition#,#evtype#,#eqtype#,#israndq#,#israndqi#,#qcount#,#isblur#,#tpoint#,#relaylimit#,#isusebackup#,#isseq#,#isreexamable#,#isresultopen#,0,) SELECT LAST_INSERT_ID() @@ -811,6 +811,7 @@ ,relaylimit =#relaylimit# ,isusebackup =#isusebackup# ,isseq =#isseq# + ,isreexamable =#isreexamable# ,isresultopen=#isresultopen# where exno=#exno# diff --git a/Dao/MyBatis/Maps/CRoom.xml b/Dao/MyBatis/Maps/CRoom.xml index 86f5b7e..d6dfabc 100644 --- a/Dao/MyBatis/Maps/CRoom.xml +++ b/Dao/MyBatis/Maps/CRoom.xml @@ -486,9 +486,9 @@ order by a.dtype,a.rno