parent
80caa003d5
commit
efd23c0845
|
|
@ -533,7 +533,7 @@ namespace NP.Base.Controllers
|
||||||
isok = 1
|
isok = 1
|
||||||
});
|
});
|
||||||
SaveTalk(us, "alarm");
|
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);
|
return JsonOK(sa.authno);
|
||||||
}
|
}
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
|
|
|
||||||
|
|
@ -1030,6 +1030,9 @@ create table lect (
|
||||||
,cmisno bigint null
|
,cmisno bigint null
|
||||||
,completetime datetime
|
,completetime datetime
|
||||||
,completeno varchar(50)
|
,completeno varchar(50)
|
||||||
|
,isattcheck tinyint(4)
|
||||||
|
,lakey varchar(6)
|
||||||
|
,lakey varchar(6)
|
||||||
,sdate datetime
|
,sdate datetime
|
||||||
,edate datetime
|
,edate datetime
|
||||||
,cdt datetime not null,cno bigint not NULL,udt datetime not null,uno bigint not NULL,uip varchar(50) not NULL
|
,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;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
create table smsauth (
|
create table smsauth (
|
||||||
|
authno bigint(20) auto_increment NOT NULL
|
||||||
lectno bigint(20) NOT NULL,
|
lectno bigint(20) NOT NULL,
|
||||||
latime datetime NOT NULL DEFAULT current_timestamp(),
|
latime datetime NOT NULL DEFAULT current_timestamp(),
|
||||||
lakey varchar(6) NOT NULL
|
lakey varchar(6) NOT NULL
|
||||||
|
|
|
||||||
|
|
@ -1305,7 +1305,7 @@
|
||||||
,cc.ccode studyplace
|
,cc.ccode studyplace
|
||||||
,cc.cname studyplacename
|
,cc.cname studyplacename
|
||||||
from lect a
|
from lect a
|
||||||
inner join cm b on b.cmno=a.cmno and b.sstime < <include refid="sql.now"></include>
|
inner join cm b on b.cmno=a.cmno <!--and b.sstime < <include refid="sql.now"></include>-->
|
||||||
<!--inner join cm pc on pc.cmno=case when a.ispc=1 then a.pcno else a.cmno end and pc.sstime < <include refid="sql.now"></include>-->
|
<!--inner join cm pc on pc.cmno=case when a.ispc=1 then a.pcno else a.cmno end and pc.sstime < <include refid="sql.now"></include>-->
|
||||||
inner join term c on c.tmno=b.tmno
|
inner join term c on c.tmno=b.tmno
|
||||||
inner join cg d on d.cgno=b.cgno <isNotNull property="cgcode">and d.cgcode=#cgcode#</isNotNull>
|
inner join cg d on d.cgno=b.cgno <isNotNull property="cgcode">and d.cgcode=#cgcode#</isNotNull>
|
||||||
|
|
@ -1314,7 +1314,7 @@
|
||||||
left outer join assign ua on ua.asno=u.asno
|
left outer join assign ua on ua.asno=u.asno
|
||||||
left outer join cminningscd scd on scd.cmisno = a.cmisno
|
left outer join cminningscd scd on scd.cmisno = a.cmisno
|
||||||
left outer join comcode cc on cc.ccode = b.studyplace
|
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 < <include refid="sql.now"></include>
|
||||||
<isNotNull property="cshape">and b.cshape=#cshape#</isNotNull>
|
<isNotNull property="cshape">and b.cshape=#cshape#</isNotNull>
|
||||||
union all
|
union all
|
||||||
select a.lectno,a.cmno,a.userno,a.isrebate,a.iscomplete
|
select a.lectno,a.cmno,a.userno,a.isrebate,a.iscomplete
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue