parent
80caa003d5
commit
efd23c0845
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 < <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 term c on c.tmno=b.tmno
|
||||
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 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 < <include refid="sql.now"></include>
|
||||
<isNotNull property="cshape">and b.cshape=#cshape#</isNotNull>
|
||||
union all
|
||||
select a.lectno,a.cmno,a.userno,a.isrebate,a.iscomplete
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue