<프로그램수정>

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

View File

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

View File

@ -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 &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 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 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 &lt; <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