<프로그램수정>

1.PMSNO : NULL
2.처리내역 : 알림톡 수정, DB누락건 충전
This commit is contained in:
kdh0120 2021-03-31 02:23:40 +00:00
parent 80caa003d5
commit efd23c0845
4 changed files with 7 additions and 3 deletions

View File

@ -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]

View File

@ -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

View File

@ -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 &lt; <include refid="sql.now"></include>
inner join cm b on b.cmno=a.cmno <!--and b.sstime &lt; <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 &lt; <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 &lt; <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