From efd23c08455818a523172cbb8986c2f49a4bc963 Mon Sep 17 00:00:00 2001 From: kdh0120 Date: Wed, 31 Mar 2021 02:23:40 +0000 Subject: [PATCH] =?UTF-8?q?<=ED=94=84=EB=A1=9C=EA=B7=B8=EB=9E=A8=EC=88=98?= =?UTF-8?q?=EC=A0=95>=201.PMSNO=20:=20NULL=202.=EC=B2=98=EB=A6=AC=EB=82=B4?= =?UTF-8?q?=EC=97=AD=20:=20=EC=95=8C=EB=A6=BC=ED=86=A1=20=EC=88=98?= =?UTF-8?q?=EC=A0=95,=20DB=EB=88=84=EB=9D=BD=EA=B1=B4=20=EC=B6=A9=EC=A0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Base/Controller/FOCommon.cs | 2 +- Dao/DB/DB1.Scheme.txt | 4 ++++ Dao/MyBatis/Maps/Lect.xml | 4 ++-- .../Debug/Dao.csprojAssemblyReference.cache | Bin 4091 -> 4091 bytes 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Base/Controller/FOCommon.cs b/Base/Controller/FOCommon.cs index d05ad2d..01e238f 100644 --- a/Base/Controller/FOCommon.cs +++ b/Base/Controller/FOCommon.cs @@ -533,7 +533,7 @@ namespace NP.Base.Controllers isok = 1 }); SaveTalk(us, "alarm"); - //Dao.Insert("common.atalk.send", new Hashtable() { { "senderkey", GetConfig("mastersms").Split(';')[0] },{"method","alarm" }, { "DEST_PHONE", mobile.Replace(" ", "").Replace("-", "") }, { "SEND_PHONE", GetConfig("mastersms").Split(';')[1] },{"title","인증번호" }, { "MSG_BODY", msg },{"replace_type","S" } }); + //Dao.Insert("common.atalk.send", new Hashtable() { { "senderkey", GetConfig("mastersms").Split(';')[0] }, { "method", "alarm" }, { "DEST_PHONE", mobile.Replace(" ", "").Replace("-", "") }, { "SEND_PHONE", GetConfig("mtssendnum").Split(';')[0] }, { "title", "인증번호" }, { "MSG_BODY", msg }, { "replace_type", "S" } }); return JsonOK(sa.authno); } [HttpPost] diff --git a/Dao/DB/DB1.Scheme.txt b/Dao/DB/DB1.Scheme.txt index d344cf1..2ec0968 100644 --- a/Dao/DB/DB1.Scheme.txt +++ b/Dao/DB/DB1.Scheme.txt @@ -1030,6 +1030,9 @@ create table lect ( ,cmisno bigint null ,completetime datetime ,completeno varchar(50) + ,isattcheck tinyint(4) + ,lakey varchar(6) + ,lakey varchar(6) ,sdate datetime ,edate datetime ,cdt datetime not null,cno bigint not NULL,udt datetime not null,uno bigint not NULL,uip varchar(50) not NULL @@ -1472,6 +1475,7 @@ create table kcblog ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; create table smsauth ( + authno bigint(20) auto_increment NOT NULL lectno bigint(20) NOT NULL, latime datetime NOT NULL DEFAULT current_timestamp(), lakey varchar(6) NOT NULL diff --git a/Dao/MyBatis/Maps/Lect.xml b/Dao/MyBatis/Maps/Lect.xml index d680693..1e828da 100644 --- a/Dao/MyBatis/Maps/Lect.xml +++ b/Dao/MyBatis/Maps/Lect.xml @@ -1305,7 +1305,7 @@ ,cc.ccode studyplace ,cc.cname studyplacename from lect a - inner join cm b on b.cmno=a.cmno and b.sstime < + inner join cm b on b.cmno=a.cmno inner join term c on c.tmno=b.tmno inner join cg d on d.cgno=b.cgno and d.cgcode=#cgcode# @@ -1314,7 +1314,7 @@ left outer join assign ua on ua.asno=u.asno left outer join cminningscd scd on scd.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 + where a.userno=#userno# and a.status=1 and a.ischanged=0 and a.sdate < and b.cshape=#cshape# union all select a.lectno,a.cmno,a.userno,a.isrebate,a.iscomplete diff --git a/Dao/obj/Debug/Dao.csprojAssemblyReference.cache b/Dao/obj/Debug/Dao.csprojAssemblyReference.cache index 2cbd845c5b5ccd2cb42e5529198edb20278c73a9..ac7f71b136ad58c5e8505e445296e10b78306a9d 100644 GIT binary patch delta 19 bcmew@|66{;2`07^b_=|of8KnKNtYJ@V>$^u delta 19 bcmew@|66{;2`08+*HEk18#kY0(&YsJS>^~e