<기능개선>

1. PMS NO : 4541
2. (주요)작업내용 
(1) 회원상태 (9로 변경) 된건으로 인한 수료확인 오류 수정
This commit is contained in:
jity7777 2024-03-28 23:58:00 +00:00
parent d35738fd9e
commit b8d1758fc5
4 changed files with 31 additions and 24 deletions

View File

@ -119,6 +119,6 @@
focus("mobile_lakey"); focus("mobile_lakey");
return; return;
} }
capp("/aocommon/chklakey", { lakey: $("#mobile_lakey").val(), authno: authno }, "@( )"); capp("/aocommon/chklakey", { lakey: $("#mobile_lakey").val(), authno: authno }, "@(_method)");
} }
</script> </script>

View File

@ -56,9 +56,9 @@
<add key="talk" value="https://dev-alimtalk-api.bizmsg.kr:1443/v2/sender/send,?,?,?,?,?,023103312" /> <add key="talk" value="https://dev-alimtalk-api.bizmsg.kr:1443/v2/sender/send,?,?,?,?,?,023103312" />
<!--<add key="talk" value="https://alimtalk-api.bizmsg.kr/v2/sender/send,?,?,?,?,?,023103312" />--> <!--<add key="talk" value="https://alimtalk-api.bizmsg.kr/v2/sender/send,?,?,?,?,?,023103312" />-->
<!--<add key="configpath" value="Product" />--> <add key="configpath" value="Product" />
<!--<add key="configpath" value="ProductDev" />--> <!--<add key="configpath" value="ProductDev" />-->
<add key="configpath" value="staging" /> <!--<add key="configpath" value="staging" />-->
<add key="lgdacomConfigPath" value="D:\3rdparti\lgdacomyicte" /> <add key="lgdacomConfigPath" value="D:\3rdparti\lgdacomyicte" />

View File

@ -513,20 +513,27 @@ namespace NP.Base.Controllers
var cancelcount = 0; var cancelcount = 0;
foreach (var lect in lects) foreach (var lect in lects)
{ {
var ispass = Dao.Get<Lect>("grade.ispass", new Hashtable() { { "lectno", lect.lectno } }).FirstOrDefault().ispass; try
if (ispass == 1)
{ {
if (lect.iscomplete == 0) var ispass = Dao.Get<Lect>("grade.ispass", new Hashtable() { { "lectno", lect.lectno } }).FirstOrDefault().ispass;
if (ispass == 1)
{ {
completecount += Dao.Save("grade.lectcomplete2", new Hashtable() { { "lectno", lect.lectno }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }); if (lect.iscomplete == 0)
{
completecount += Dao.Save("grade.lectcomplete2", new Hashtable() { { "lectno", lect.lectno }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } });
}
}
else
{
if (lect.iscomplete == 1)
{
cancelcount += Dao.Save("grade.lectcomplete.cancel", new Hashtable() { { "lectno", lect.lectno }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } });
}
} }
} }
else catch
{ {
if (lect.iscomplete == 1)
{
cancelcount += Dao.Save("grade.lectcomplete.cancel", new Hashtable() { { "lectno", lect.lectno }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } });
}
} }
} }
return JsonBack(new JsonRtn() { code = 1000, msg = "OK", obj = new { completecount , cancelcount } }); return JsonBack(new JsonRtn() { code = 1000, msg = "OK", obj = new { completecount , cancelcount } });

View File

@ -66,8 +66,8 @@
<isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull> <isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull>
<isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull> <isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull>
<isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull> <isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull>
inner join users c on c.userno=b.userno and c.status=1 inner join users c on c.userno=b.userno and c.status &lt; 99
<isNotNull property="userid">and c.userid=#userid#</isNotNull> <isNotNull property="userid">and c.userid=#userid#</isNotNull>
<isNotNull property="username">and c.username=#username#</isNotNull> <isNotNull property="username">and c.username=#username#</isNotNull>
where a.ismaster=0 where a.ismaster=0
<isNotNull property="cgno">and a.cgno=#cgno#</isNotNull> <isNotNull property="cgno">and a.cgno=#cgno#</isNotNull>
@ -97,8 +97,8 @@
<isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull> <isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull>
<isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull> <isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull>
<isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull> <isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull>
inner join users c on c.userno=b.userno and c.status=1 inner join users c on c.userno=b.userno and c.status &lt; 99
<isNotNull property="userid">and c.userid=#userid#</isNotNull> <isNotNull property="userid">and c.userid=#userid#</isNotNull>
<isNotNull property="username">and c.username=#username#</isNotNull> <isNotNull property="username">and c.username=#username#</isNotNull>
where a.ismaster=0 where a.ismaster=0
<isNotNull property="cgno">and a.cgno=#cgno#</isNotNull> <isNotNull property="cgno">and a.cgno=#cgno#</isNotNull>
@ -128,8 +128,8 @@
<isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull> <isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull>
<isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull> <isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull>
<isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull> <isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull>
inner join users c on c.userno=b.userno and c.status=1 inner join users c on c.userno=b.userno and c.status &lt; 99
<isNotNull property="userid">and c.userid=#userid#</isNotNull> <isNotNull property="userid">and c.userid=#userid#</isNotNull>
<isNotNull property="username">and c.username=#username#</isNotNull> <isNotNull property="username">and c.username=#username#</isNotNull>
where a.ismaster=0 where a.ismaster=0
<isNotNull property="cgno">and a.cgno=#cgno#</isNotNull> <isNotNull property="cgno">and a.cgno=#cgno#</isNotNull>
@ -159,8 +159,8 @@
<isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull> <isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull>
<isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull> <isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull>
<isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull> <isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull>
inner join users c on c.userno=b.userno and c.status=1 inner join users c on c.userno=b.userno and c.status &lt; 99
<isNotNull property="userid">and c.userid=#userid#</isNotNull> <isNotNull property="userid">and c.userid=#userid#</isNotNull>
<isNotNull property="username">and c.username=#username#</isNotNull> <isNotNull property="username">and c.username=#username#</isNotNull>
where a.ismaster=0 where a.ismaster=0
<isNotNull property="cgno">and a.cgno=#cgno#</isNotNull> <isNotNull property="cgno">and a.cgno=#cgno#</isNotNull>
@ -190,8 +190,8 @@
<isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull> <isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull>
<isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull> <isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull>
<isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull> <isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull>
inner join users c on c.userno=b.userno and c.status=1 inner join users c on c.userno=b.userno and c.status &lt; 99
<isNotNull property="userid">and c.userid=#userid#</isNotNull> <isNotNull property="userid">and c.userid=#userid#</isNotNull>
<isNotNull property="username">and c.username=#username#</isNotNull> <isNotNull property="username">and c.username=#username#</isNotNull>
where a.ismaster=0 where a.ismaster=0
<isNotNull property="cgno">and a.cgno=#cgno#</isNotNull> <isNotNull property="cgno">and a.cgno=#cgno#</isNotNull>
@ -221,8 +221,8 @@
<isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull> <isNotNull property="attrateunder">and b.attrate &lt;= #attrateunder#</isNotNull>
<isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull> <isNotNull property="isrebate">and b.isrebate=#isrebate#</isNotNull>
<isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull> <isNotNull property="lectnos">and b.lectno in ($lectnos$)</isNotNull>
inner join users c on c.userno=b.userno and c.status=1 inner join users c on c.userno=b.userno and c.status &lt; 99
<isNotNull property="userid">and c.userid=#userid#</isNotNull> <isNotNull property="userid">and c.userid=#userid#</isNotNull>
<isNotNull property="username">and c.username=#username#</isNotNull> <isNotNull property="username">and c.username=#username#</isNotNull>
where a.ismaster=0 where a.ismaster=0
<isNotNull property="cgno">and a.cgno=#cgno#</isNotNull> <isNotNull property="cgno">and a.cgno=#cgno#</isNotNull>