diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7054a6b --- /dev/null +++ b/.gitignore @@ -0,0 +1,112 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio cache +.vs/ +.vscode/ + +# MSTest test results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# BenchmarkDotNet artifacts +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*_i.obj +*_generated.* +*.g.* +*.cachefile + +# Others +*.dbmdl +*.bak +*.backup +*.log +*.ldf +*.mdf +*.svclog +*.scc + +# NuGet +*.nupkg +*.snupkg +packages/ +*.nuget.props +*.nuget.targets + +# Azure +*.azurePubxml +*.pubxml +*.publishproj +PublishProfiles/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt + +# Others +*.swp +*.swo \ No newline at end of file diff --git a/.vs/LMS_YNICTE/v16/.suo b/.vs/LMS_YNICTE/v16/.suo index fcb1768..45bedf0 100644 Binary files a/.vs/LMS_YNICTE/v16/.suo and b/.vs/LMS_YNICTE/v16/.suo differ diff --git a/BO/Content/homeDepth2.htm b/BO/Content/homeDepth2.htm index 8c9a941..cfd916a 100644 --- a/BO/Content/homeDepth2.htm +++ b/BO/Content/homeDepth2.htm @@ -1,136 +1,136 @@ 
  • JOB -
    - 기술인분류 +
  • + +
  • OBJECT -
    - 교육목적 +
  • + +
  • GRADE -
    - 현재등급 +
    + 현재등급 +
    -
    - -
    +
    -
  • + +
  • TYPE -
    - 직무분야 +
  • + +
  • TYPE2 -
    - 전문분야 +
    + 전문분야 +
    - +
    -
  • -
  • 일정확인교육신청
  • + + +
  • 일정확인교육신청
  • diff --git a/BO/Logs/log.txt b/BO/Logs/log.txt index 9625a71..1bdabe4 100644 --- a/BO/Logs/log.txt +++ b/BO/Logs/log.txt @@ -434,3 +434,422 @@ 2025-12-11 13:51:59,337 - Open Connection "14265357" to "MySQL, MySQL provider 6.10.5.0". 2025-12-11 13:51:59,352 - The column [isalldays] could not be auto mapped to a property on [NP.Model.CM] 2025-12-11 13:51:59,360 - Close Connection "14265357" to "MySQL, MySQL provider 6.10.5.0". +2025-12-11 13:57:02,357 - Statement Id: [users.adminlogin] Prepared SQL: [select userno,a.username,a.status,a.userpass, usertype,a.asno , CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!') AS char) mobile , a.logintime from users a left outer join assign b on b.asno=a.asno where a.userid= ?param0 and a.usertype > 10 and (a.usertype <> 81 or (a.usertype = 81 and b.status=1))] +2025-12-11 13:57:02,390 - Statement Id: [users.pass.check] Prepared SQL: [select count(userno) from userpasslog where userno = ?param0 and userpass = ?param1] +2025-12-11 13:57:02,391 - Statement Id: [users.ee] Prepared SQL: [update users set eastereggkey=FLOOR(10000000 + (RAND() * 99999999)),eetime=now() where userno= ?param0 ; select a.userno,a.eastereggkey,a.usertype,a.username ,b.subdomain from users a left outer join assign b on b.asno=a.asno and b.issite=1 and b.isdel=0 where a.userno= ?param0 ;] +2025-12-11 13:57:02,391 - Statement Id: [users.usersall] Prepared SQL: [select userno,usertype,jointype,snsid,userkind,userid,userpass,username,usernameeng,gender,birthday,email,isacceptemail,mobile,isacceptmobile,telno,asno,pasname,depart,ccposition,ccpositionetc,fgnoprofile ,ccjobs,userpno,bankname,bankno,post,address1,address2,introhtml,status,exitreason,logintime,loginkey,send335time,pwcalltime,pwcallno,eastereggkey,eetime,kfcfyear,isassignuser,uduty,slevel,edus,remotekey from users] +2025-12-11 13:57:02,391 - Statement Id: [users.eecall] Prepared SQL: [select userno,usertype,username from users where userno= ?param0 and eastereggkey= ?param1 and date_add(eetime, interval 10 second) > now(); update users set eastereggkey=null,eetime=null,loginkey= ?param2 where userno= ?param0] +2025-12-11 13:57:02,391 - Statement Id: [users.eecall2] Prepared SQL: [select userno,usertype,username,userid from users where userno= ?param0 and eastereggkey= ?param1 and date_add(eetime, interval 15 second) > now(); update users set eastereggkey=null,eetime=null,loginkey=null where userno= ?param0] +2025-12-11 13:57:02,391 - Statement Id: [users.assign.newascode] Prepared SQL: [select ifnull(max(b.ascode),0) + 1 from (select 1 col1) a left outer join assign b on b.asno is not null] +2025-12-11 13:57:02,392 - Statement Id: [users.me] Prepared SQL: [select userno,username ,CAST(AES_DECRYPT(UNHEX(email), 'np123@!') AS char) email from users where userno= ?param0] +2025-12-11 13:57:02,392 - Statement Id: [users.usercheckconfirm] Prepared SQL: [select ifnull(b.userno,0) from (select 1 col1) a left outer join usercheck b on b.userno= ?param0 and b.checkkey= ?param1 ; update usercheck set checkkey=0 where userno= ?param0] +2025-12-11 13:57:02,392 - Statement Id: [users.remotelogin] Prepared SQL: [select a.userno from users a where a.userid= ?param0 and a.status=1 and a.remotekey= ?param1 ; update users set remotekey=null where userid= ?param0] +2025-12-11 13:57:02,392 - Statement Id: [users.remoteloginnoauth] Prepared SQL: [select a.userno,b.subdomain from users a left outer join assign b on b.asno=a.asno where a.userid= ?param0 and a.status=1] +2025-12-11 13:57:02,393 - Statement Id: [users.users.assign] Prepared SQL: [select b.asno,b.asname,b.brno ,b.ceoname,b.post,b.address1,b.address2 ,b.btype,b.bkind,b.eino,b.mname ,CAST(AES_DECRYPT(UNHEX(b.mphone), 'np123@!') AS char) mphone ,CAST(AES_DECRYPT(UNHEX(b.taxemail), 'np123@!') AS char) taxemail ,b.fgnobno ,b.isjoin,b.ascode,b.astype,b.asctg,b.joindate,b.status ,c1.cname astypename,c2.cname asctgname from users a inner join assign b on b.asno = a.asno left outer join comcode c1 on c1.ccode=b.astype left outer join comcode c2 on c2.ccode=b.asctg where a.status=1 and a.userno = ?param0] +2025-12-11 13:57:02,393 - Statement Id: [users.check.snsid] Prepared SQL: [select a.userno,a.usertype,a.jointype,a.snsid,a.userkind,a.userid,a.userpass,a.username,a.usernameeng,a.gender,a.birthday,a.email,a.isacceptemail,a.mobile,a.isacceptmobile ,a.telno,a.asno,a.pasname,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs,a.userpno,a.bankname,a.bankno,a.post,a.address1,a.address2,a.introhtml,a.status,a.exitreason ,a.logintime,a.loginkey,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime,a.kfcfyear,a.isassignuser,a.uduty,a.slevel,a.edus,a.remotekey,a.vssn,a.di,a.ci from users a where a.snsid= ?param0 and a.jointype= ?param1] +2025-12-11 13:57:02,393 - Statement Id: [users.councels] Prepared SQL: [select a.bno,a.qtext,a.atext ,a.bldgcat ,b.cname bldgcatname ,a.cdt,c.username coname,c.userid coid ,row_number() over(order by a.cdt desc) rno ,count(a.cno) over() pagetotalcount from councel a inner join users c on c.userno = a.cno left outer join comcode b on b.ccode = a.bldgcat where a.userno = ?param0 and a.isdel = 0 order by a.cdt desc] +2025-12-11 13:57:02,393 - Statement Id: [users.dormants] Prepared SQL: [select a.userno,username,usernameeng,a.email,a.isacceptemail ,a.mobile,a.telno,a.userpno,a.bankno,a.post,a.address1,a.address2 ,a.birthday from userdormant a where a.userno = ?param0] +2025-12-11 13:57:02,393 - Statement Id: [users.dormants.del] Prepared SQL: [select a.userno longval, regexp_replace(b.userid , '(?<=.{3}).','*') strval ,CAST(AES_DECRYPT(UNHEX(a.mobile),'np123@!') AS char) strval2 ,date_add(a.cdt, interval 335 day) time ,b.isacceptmobile intval from userdormant a inner join users b on b.userno = a.userno where date_format(date_add(a.cdt, interval 335 day),'%Y-%m-%d') = date_format(now(),'%Y-%m-%d')] +2025-12-11 13:57:02,393 - Statement Id: [users.dormants.save] Prepared SQL: [select a.userno longval, regexp_replace(a.userid , '(?<=.{3}).' , '*') strval ,CAST(AES_DECRYPT(UNHEX(a.mobile),'np123@!') AS char) strval2 ,date_add(a.logintime, interval 335 day) time ,a.isacceptmobile intval from users a where a.usertype =1 and a.status=1 and date_format(date_add(a.logintime, interval 366 day),'%Y-%m-%d') = date_format(now(),'%Y-%m-%d')] +2025-12-11 13:57:02,397 - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (logsite,userno, loginstatus, logindata, cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , now(), ?param4 ,now(), ?param4 , ?param5 )] +2025-12-11 13:57:02,399 - Statement Id: [users.in] Prepared SQL: [insert into users(usertype,userkind,userid,userpass,username,usernameeng ,gender,email,isacceptemail,mobile,telno ,asno,pasname,depart,ccposition,ccpositionetc,fgnoprofile,ccjobs ,userpno,bankname,bankno ,post,address1,address2,introhtml,status,logintime,send335time,pwcalltime,pwcallno,eastereggkey,eetime,kfcfyear,isassignuser,edus ,isacceptmobile,uduty,slevel,jointype,birthday,snsid,di,ci,vssn,ischkatt,authplatform,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,gender,HEX(AES_ENCRYPT( ?param6 , 'np123@!')), ?param7 ,HEX(AES_ENCRYPT( ?param8 , 'np123@!')),HEX(AES_ENCRYPT( ?param9 , 'np123@!')) , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 ,HEX(AES_ENCRYPT( ?param17 , 'np123@!')), ?param18 ,HEX(AES_ENCRYPT( ?param19 , 'np123@!')) , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 ,now(),null,null,null,null,null, ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 ,HEX(AES_ENCRYPT( ?param32 , 'np123@!')), ?param33 , ?param34 , ?param35 , ?param36 , ?param37 , ?param38 ,now(), ?param39 ,now(), ?param39 , ?param40 );] +2025-12-11 13:57:02,401 - Statement Id: [users.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,401 - Statement Id: [users.assign.in] Prepared SQL: [insert into assign (ascode,isjoin,joinyear,joinprice,asname,ceoname,brno,grno,btype,bkind,salesamount,homeurl,mcount,aday,astype,asctg,askey,post,address1,address2,fgnobno,fgnobank,joindate,exitdate,status,issite,subdomain,sitename,sitelogo,sitefooter,ismain,isdel, eino,mname,mphone,taxemail,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 ,0,null,null,null,null,0,0, ?param25 , ?param26 ,HEX(AES_ENCRYPT( ?param27 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param28 , 'np123@!')) ,now(), ?param29 ,now(), ?param29 , ?param30 );] +2025-12-11 13:57:02,401 - Statement Id: [users.assign.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,401 - Statement Id: [councel.in] Prepared SQL: [insert into councel(userno,bldgcat,qtext,atext,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 );] +2025-12-11 13:57:02,401 - Statement Id: [councel.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,402 - Statement Id: [users.change.password] Prepared SQL: [UPDATE users SET userpass = ?param0 , udt = now() , status = (CASE WHEN status = 9 THEN 1 ELSE status END) , pwcalltime = null , pwcallno = null , uip = ?param1 , uno = ?param2 WHERE userid = ?param3 ; INSERT INTO userpasslog (userno, userpass, cdt, uip) SELECT ?param2 , ?param0 , NOW(), ?param1 FROM (SELECT 1) a LEFT OUTER JOIN userpasslog b ON b.userno = ?param2 WHERE b.userno IS NULL; UPDATE userpasslog SET userpass = ?param0 WHERE userno = ?param2 ;] +2025-12-11 13:57:02,403 - Statement Id: [users.dormant.insert] Prepared SQL: [insert into userdormant(userno,username,usernameeng,email,isacceptemail,mobile ,telno,userpno,bankno,post,address1,address2,birthday,cdt) select a.userno,a.username,a.usernameeng,a.email,a.isacceptemail,a.mobile ,a.telno,a.userpno,a.bankno,a.post,a.address1,a.address2, a.birthday,now() cdt from users a left outer join userdormant b on b.userno = a.userno where date_add(a.logintime,interval 1 year) < now(); and a.status != 99 update users set udt=now(),uno= ?param0 ,uip= ?param1 ,username='',usernameeng=null,email=null,mobile=null,telno=null,userpno=null,bankno=null,post=null,address1=null,address2=null,birthday=null,status=8 where date_add(a.logintime,interval 1 year) < now(); and a.status != 99] +2025-12-11 13:57:02,404 - Statement Id: [users.loginkey] Prepared SQL: [update users set loginkey= ?param0 ,logintime =now(),send335time = null where userno= ?param1] +2025-12-11 13:57:02,405 - Statement Id: [users.loginkey2] Prepared SQL: [update users set loginkey= ?param0 ,logintime =now(),send335time = null where userno= ?param1 ; insert into loginlog (logsite,userno, loginstatus, logindata, cdt,cno,udt,uno,uip) values ( ?param2 , ?param1 , ?param3 , ?param4 , now(), ?param5 ,now(), ?param5 , ?param6 )] +2025-12-11 13:57:02,405 - Statement Id: [users.assign.del] Prepared SQL: [update assign set udt=now(),uno= ?param0 ,uip= ?param1 ,isdel=1,brno=null where asno= ?param2] +2025-12-11 13:57:02,405 - Statement Id: [users.assignman.in] Prepared SQL: [insert into assignman (asno,mtype,jtype,depart,mname,position,telno,mobile,fax,email,post,address1,address2,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param8 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param9 , 'np123@!')) , ?param10 , ?param11 , ?param12 ,0,now(), ?param13 ,now(), ?param13 , ?param14 )] +2025-12-11 13:57:02,406 - Statement Id: [users.assignman.up] Prepared SQL: [update assignman set udt=now(),uno= ?param0 ,uip= ?param1 ,mtype = ?param2 ,jtype = ?param3 ,depart = ?param4 ,mname = ?param5 ,position= ?param6 ,telno =HEX(AES_ENCRYPT( ?param7 , 'np123@!')) ,mobile =HEX(AES_ENCRYPT( ?param8 , 'np123@!')) ,fax =HEX(AES_ENCRYPT( ?param9 , 'np123@!')) ,email =HEX(AES_ENCRYPT( ?param10 , 'np123@!')) ,post = ?param11 ,address1= ?param12 ,address2= ?param13 where asmno= ?param14] +2025-12-11 13:57:02,406 - Statement Id: [users.assignman.del] Prepared SQL: [update assignman set udt=now(),uno= ?param0 ,uip= ?param1 ,isdel = 1 where asmno= ?param2] +2025-12-11 13:57:02,406 - Statement Id: [users.assignfee.in] Prepared SQL: [insert into assignfee (asno,fyear,fprice,fdate,fmemo,status,cdt,cno,udt,uno,uip) select ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,now(), ?param6 ,now(), ?param6 , ?param7 from (select 1 col1) a left outer join assignfee b on b.asno= ?param0 and b.fyear= ?param1 where b.asno is null] +2025-12-11 13:57:02,406 - Statement Id: [users.assignfee.up] Prepared SQL: [update assignfee set udt=now(),uno= ?param0 ,uip= ?param1 ,fprice= ?param2 ,fdate = ?param3 ,fmemo = ?param4 ,status= ?param5 where asno= ?param6 and fyear= ?param7] +2025-12-11 13:57:02,406 - Statement Id: [users.assignfee.del] Prepared SQL: [delete from assignfee where asno= ?param0 and fyear= ?param1] +2025-12-11 13:57:02,406 - Statement Id: [users.assignsite.save] Prepared SQL: [update assign set udt=now(),uno= ?param0 ,uip= ?param1 ,issite= ?param2 ,subdomain= ?param3 ,sitename= ?param4 ,siteip= ?param5 ,sitelogo= ?param6 ,sitefooter= ?param7 where asno= ?param8] +2025-12-11 13:57:02,407 - Statement Id: [users.asno.save] Prepared SQL: [update users set asno= ?param0 where userno= ?param1] +2025-12-11 13:57:02,407 - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1] +2025-12-11 13:57:02,407 - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass = ?param0 , pwcalltime = null , pwcallno = null , status = (CASE WHEN status = 9 THEN 1 ELSE status END) where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()] +2025-12-11 13:57:02,407 - Statement Id: [users.exit] Prepared SQL: [UPDATE users SET udt=now(),uno= ?param0 ,uip= ?param1 , status = ?param2 WHERE userno= ?param3] +2025-12-11 13:57:02,407 - Statement Id: [users.leave.register] Prepared SQL: [INSERT INTO userleave ( userno, userid, status, levdate, uno, uip ) SELECT u.userno, u.userid, 0 AS status, NOW() AS levdate, u.uno, u.uip FROM users u WHERE u.status = ?param0 AND u.userno = ?param1] +2025-12-11 13:57:02,407 - Statement Id: [users.remotelogin.set] Prepared SQL: [update users a inner join assign b on b.asno=a.asno and b.siteip like concat('%', ?param0 ,'%') set a.remotekey= ?param1 where a.userid= ?param2 and a.status=1] +2025-12-11 13:57:02,407 - Statement Id: [users.snslink.up] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,snsid= ?param2 ,jointype= ?param3 where userno= ?param4] +2025-12-11 13:57:02,407 - Statement Id: [councel.up] Prepared SQL: [update councel set udt=now(),uno= ?param0 ,uip= ?param1 ,bldgcat = ?param2 ,qtext = ?param3 ,atext = ?param4 where bno= ?param5] +2025-12-11 13:57:02,408 - Statement Id: [councel.del] Prepared SQL: [update councel set udt=now(),uno= ?param0 ,uip= ?param1 ,isdel = 1 where bno = ?param2] +2025-12-11 13:57:02,408 - Statement Id: [users.up.asno] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,asno = ?param2 where userno= ?param3] +2025-12-11 13:57:02,408 - Statement Id: [users.dormant.del] Prepared SQL: [update users a left outer join userdormant b on b.userno = a.userno set set udt=now(),uno= ?param0 ,uip= ?param1 ,status = 99,username='',usernameeng=null,email=null,mobile=null,telno=null,userpno=null,bankno=null,post=null,address1=null,address2=null,birthday=null,di=null,ci=null,vssn=null,authplatform=0 where date_add(b.cdt,interval 1 year) < now(); delete from userdormant where date_add(cdt,interval 1 year) < now();] +2025-12-11 13:57:02,430 - Statement Id: [common.check.loginkey] Prepared SQL: [select a.userno dtype from users a where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0)] +2025-12-11 13:57:02,430 - Statement Id: [common.check.admin] Prepared SQL: [select a.userno dtype, a.udt time, count(b.mno) intval from users a left outer join memouser b on b.userno=a.userno and b.isread=0 and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0)] +2025-12-11 13:57:02,430 - Statement Id: [common.check.front] Prepared SQL: [select a.dtype,sum(a.intval) intval,sum(a.intval2) intval2 from ( select a.userno dtype,count(b.mno) intval,0 intval2 from users a left outer join memouser b on b.userno=a.userno and b.isread=0 and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) group by a.userno union all select a.userno dtype,0 intval,count(b.userno) intval2 from users a left outer join alarms b on b.userno=a.userno and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) group by a.userno ) a group by a.dtype] +2025-12-11 13:57:02,430 - Statement Id: [common.check.frontcroom] Prepared SQL: [select a.dtype,sum(a.intval) intval,sum(a.intval2) intval2,sum(a.intval3) intval3,sum(a.intval4) intval4,sum(a.intval5) intval5 ,sum(a.intval6) intval6,sum(a.intval7) intval7,sum(a.intval8) intval8,sum(a.intval9) intval9,sum(a.intval10) intval10 ,sum(a.intval11) intval11,sum(a.intval12) intval12 ,max(a.strval) strval,max(a.strval2) strval2,max(a.strval3) strval3 from ( select a.userno dtype,count(b.mno) intval,0 intval2,0 intval3,0 intval4,0 intval5 ,0 intval6,0 intval7,0 intval8,0 intval9,0 intval10 ,0 intval11,0 intval12 ,null strval,null strval2,null strval3 from users a left outer join memouser b on b.userno=a.userno and b.isread=0 and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) group by a.userno union all select a.userno dtype,0 intval,count(b.userno) intval2,0 intval3,0 intval4,0 intval5 ,0 intval6,0 intval7,0 intval8,0 intval9,0 intval10 ,0 intval11,0 intval12 ,null strval,null strval2,null strval3 from users a left outer join alarms b on b.userno=a.userno and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) union all select a.userno dtype,0 intval,0 intval2,c.tyear intval3,c.tseq intval4,b.classno intval5 ,b2.isplan intval6,b2.iscontent intval7,b2.isev intval8,b2.isrs intval9,b2.isgrade intval10 ,b.cmno intval11,b.cshape intval12 ,d.cgname strval,b.cname strval2 ,group_concat(case when f.bmno is null then null else concat(f.bmno,':',f.bmname,':',f.bmtype) end separator ';') strval3 from users a0 inner join lect a on a.lectno= ?param3 and a.userno=a0.userno and a.status=1 and a.ischanged=0 inner join cm b on b.cmno=a.cmno inner join cmmenu b2 on b2.cmno=b.cmno inner join term c on c.tmno=b.tmno inner join cg d on d.cgno=b.cgno left outer join cmmenubm e on e.cmno=b.cmno left outer join boardmaster f on f.bmno=e.bmno where a0.userno= ?param0 and (a0.loginkey= ?param1 or ?param2 =0) group by a.userno,b.cmno,c.tyear,c.tseq,b.classno ,b2.isplan,b2.iscontent,b2.isev,b2.isrs,b2.isgrade ,d.cgname,b.cname ) a group by a.dtype] +2025-12-11 13:57:02,431 - Statement Id: [common.check.frontcroom.subdomain] Prepared SQL: [select a.*,b.asname strval4,c.fileurl from ( select a.dtype,sum(a.intval) intval,sum(a.intval2) intval2,sum(a.intval3) intval3,sum(a.intval4) intval4,sum(a.intval5) intval5 ,sum(a.intval6) intval6,sum(a.intval7) intval7,sum(a.intval8) intval8,sum(a.intval9) intval9,sum(a.intval10) intval10 ,sum(a.intval11) intval11 ,max(a.strval) strval,max(a.strval2) strval2,max(a.strval3) strval3 from ( select a.userno dtype,count(b.mno) intval,0 intval2,0 intval3,0 intval4,0 intval5 ,0 intval6,0 intval7,0 intval8,0 intval9,0 intval10 ,0 intval11 ,null strval,null strval2,null strval3 from users a left outer join memouser b on b.userno=a.userno and b.isread=0 and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) group by a.userno union all select a.userno dtype,0 intval,count(b.userno) intval2,0 intval3,0 intval4,0 intval5 ,0 intval6,0 intval7,0 intval8,0 intval9,0 intval10 ,0 intval11 ,null strval,null strval2,null strval3 from users a left outer join alarms b on b.userno=a.userno and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) union all select a.userno dtype,0 intval,0 intval2,c.tyear intval3,c.tseq intval4,b.classno intval5 ,b2.isplan intval6,b2.iscontent intval7,b2.isev intval8,b2.isrs intval9,b2.isgrade intval10 ,b.cmno intval11 ,d.cgname strval,b.cname strval2 ,group_concat(case when f.bmno is null then null else concat(f.bmno,':',f.bmname,':',f.bmtype) end separator ';') strval3 from users a0 inner join lect a on a.lectno= ?param3 and a.userno=a0.userno and a.status=1 and a.ischanged=0 inner join cm b on b.cmno=a.cmno inner join cmmenu b2 on b2.cmno=b.cmno inner join term c on c.tmno=b.tmno inner join cg d on d.cgno=b.cgno left outer join cmmenubm e on e.cmno=b.cmno left outer join boardmaster f on f.bmno=e.bmno where a0.userno= ?param0 and (a0.loginkey= ?param1 or ?param2 =0) group by a.userno,b.cmno,c.tyear,c.tseq,b.classno ,b2.isplan,b2.iscontent,b2.isev,b2.isrs,b2.isgrade ,d.cgname,b.cname ) a group by a.dtype ) a inner join assign b on b.subdomain= ?param4 left outer join fileinfo c on c.fgno=b.sitelogo] +2025-12-11 13:57:02,431 - Statement Id: [common.basecomments] Prepared SQL: [select a.cmtno,a.pcmtno,a.tcmtno,a.baseno,a.cdepth,a.memo,a.memotype,a.fgno,a.cdt,a.udt, a.isdel,a.cno ,b.orgname, b.fileurl, b.fileno ,c.username from cmt a inner join users c on c.userno=a.cno left outer join fileinfo b on b.fgno=a.fgno and b.isdel=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt desc] +2025-12-11 13:57:02,431 - Statement Id: [common.emailsend.get] Prepared SQL: [select a.sendno,a.ehtml,a.etitle from emailsend a left outer join emailban b on b.sendno=a.sendno where a.sendno= ?param0 and a.isdel=0] +2025-12-11 13:57:02,432 - Statement Id: [common.emailsend.get2] Prepared SQL: [select a.sendno,a.etitle,a.rcvs,ifnull(a.sendeds, ' ') sendeds,ifnull(group_concat(b.email separator ';'), ' ') bans from emailsend a left outer join emailban b on b.sendno=a.sendno where a.sendno= ?param0 and a.isdel=0 group by a.sendno,a.rcvs,a.etitle,a.sendeds] +2025-12-11 13:57:02,432 - Statement Id: [common.list.rcvnot] Prepared SQL: [select count(a.mno) from memouser a where a.userno= ?param0 and and a.isread=0 and a.isdel=0] +2025-12-11 13:57:02,432 - Statement Id: [common.smssend.get] Prepared SQL: [select c.asname,b.usertype,b.username ,CAST(AES_DECRYPT(UNHEX(b.mobile), 'np123@!') AS char) mobile ,a.smstype,a.isok ,row_number() over(order by b.username) rno, count(a.cno) over() pagetotalcount from smsuser a inner join users b on b.userno=a.userno left outer join assign c on c.asno=b.asno where a.mno= ?param0 order by b.username] +2025-12-11 13:57:02,433 - Statement Id: [common.home] Prepared SQL: [select b.cnt intval ,c.cnt0 intval2 ,c.cnt1 intval3 ,d.cnt intval4 ,e.cnt intval5 ,f.cnt intval6 ,(SELECT COUNT(*) FROM userleave WHERE status = 0) intval7 from (select 1 col1) a left outer join (select count(mno) cnt from memouser where userno= ?param0 and isread=0 and isdel=0) b on 1=1 left outer join ( select sum(case when a.bmposition=0 then 1 else 0 end) cnt0,sum(case when a.bmposition=1 and b.cmno is not null then 1 else 0 end) cnt1 from boardmaster a inner join board b on b.bmno=a.bmno and b.pbno is null and b.isdel=0 and b.isopen=1 left outer join board c on c.pbno=b.bno and c.isdel=0 where a.bmtype=2 and a.isopen=1 and c.bno is null and a.disptype=0 ) c on 1=1 left outer join ( select count(a.rfdno) cnt from payrfd a left outer join pay b on b.payno = a.payno where a.rstatus=0 and b.rstatus=0 ) d on 1=1 left outer join ( select count(a.payno) cnt from paydvr a inner join pay b on b.payno=a.payno and b.pstatus=1 and b.rstatus=0 inner join payitem c on c.payno = b.payno inner join book bb on bb.bkno=c.itemno where a.dvrcode is null and a.isdvr=1 ) e on 1=1 left outer join ( select count(a.payno) cnt from paytax a where a.ischeck=0 ) f on 1=1] +2025-12-11 13:57:02,433 - Statement Id: [common.authkey] Prepared SQL: [select jobkey from authkey where authtype= ?param0 and userno= ?param1 and randkey= ?param2 and keytime > now()] +2025-12-11 13:57:02,433 - Statement Id: [common.authkey.check1] Prepared SQL: [select ctno intval,ismenu intval2,ctype intval3,ccode strval from ct where ctno= ?param0 and authkey= ?param1 ; update ct set authkey=null where ctno= ?param0] +2025-12-11 13:57:02,433 - Statement Id: [common.authkey.check2] Prepared SQL: [select qno intval from question where qno= ?param0 and authkey= ?param1 ; update question set authkey=null where qno= ?param0] +2025-12-11 13:57:02,433 - Statement Id: [common.sms.chk] Prepared SQL: [select authno intval,lectno intval2,latime time,lakey strval from smsauth where authno = ?param0] +2025-12-11 13:57:02,433 - Statement Id: [common.emailsend.in] Prepared SQL: [insert into emailsend(etitle,semail,ehtml,fgno,cmno,rcvs,reademails,rcvcount,readcount,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,now(), ?param9 ,now(), ?param9 , ?param10 )] +2025-12-11 13:57:02,433 - Statement Id: [common.emailsend.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,433 - Statement Id: [common.sms.in] Prepared SQL: [insert into sms(cmno,mcontents,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 );] +2025-12-11 13:57:02,433 - Statement Id: [common.sms.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,443 - Statement Id: [common.smsauth] Prepared SQL: [insert into smsauth(latime,lakey,lectno) values(now(), ?param0 , ?param1 );] +2025-12-11 13:57:02,443 - Statement Id: [common.smsauth.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,444 - Statement Id: [common.smsauth2] Prepared SQL: [insert into smsauth(latime,lakey,userno, lectno) values(now(), ?param0 , ?param1 , 0);] +2025-12-11 13:57:02,444 - Statement Id: [common.smsauth2.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,444 - Statement Id: [common.atalk.send] Prepared SQL: [insert into MTS_ATALK_MSG (TRAN_SENDER_KEY,TRAN_TMPL_CD,TRAN_CALLBACK,TRAN_PHONE,TRAN_SUBJECT,TRAN_MSG,TRAN_DATE,TRAN_TYPE,TRAN_STATUS,TRAN_REPLACE_TYPE,TRAN_REPLACE_MSG) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,now(),5,'1', ?param6 , ?param5 );] +2025-12-11 13:57:02,444 - Statement Id: [common.comment.delete] Prepared SQL: [update cmt set isdel=1 where cmtno= ?param0 and ( ?param1 is not null or cno= ?param2 );] +2025-12-11 13:57:02,444 - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdel=0,readcount= ?param0 ,sendeds= ?param1 where sendno= ?param2] +2025-12-11 13:57:02,444 - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdel=1,udt=now(),uno= ?param0 ,uip= ?param1 where userno= ?param0] +2025-12-11 13:57:02,444 - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdel=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0] +2025-12-11 13:57:02,446 - Statement Id: [common.authkey.save] Prepared SQL: [update authkey set jobkey= ?param0 ,randkey= ?param1 ,keytime=date_add(now(), interval 1 minute) where authtype= ?param2 and userno= ?param3 ; insert into authkey (authtype,userno,jobkey,randkey,keytime) select a.authtype,a.userno,a.jobkey,a.randkey,date_add(now(), interval 1 minute) from (select ?param2 authtype, ?param3 userno, ?param0 jobkey, ?param1 randkey) a left outer join authkey b on b.authtype=a.authtype and b.userno=a.userno where b.authtype is null] +2025-12-11 13:57:02,446 - Statement Id: [common.sms.extend] Prepared SQL: [update smsauth set latime = now() where authno = ?param0] +2025-12-11 13:57:02,452 - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg,userno) values( ?param0 , ?param1 )] +2025-12-11 13:57:02,478 - Statement Id: [sys.menu.list] Prepared SQL: [select a.menuno, a.menuname, a.pmenuno, a.menuurl, a.menulevel, a.menuorder, a.ccount, a.isuse, a.ishid ,concat('/',ifnull(b5.menuno, 0), '/', ifnull(b4.menuno, 0), '/', ifnull(b3.menuno, 0), '/', ifnull(b2.menuno, 0), '/', ifnull(b1.menuno, 0), '/', ifnull(a.menuno, 0), '/') menurout ,case a.menulevel when 0 then ' ' when 1 then b1.menuname when 2 then b2.menuname when 3 then b3.menuname when 4 then b4.menuname when 5 then b5.menuname end pmenuname from ( select a.menuno, a.menuname, a.pmenuno, a.menuurl, a.menulevel, a.menuorder, count(d.menuno) ccount, a.isuse, a.ishid from menu a left outer join menu d on d.pmenuno=a.menuno group by a.menuno, a.menuname, a.pmenuno, a.menuurl, a.menulevel, a.menuorder, a.isuse, a.ishid ) a left outer join menu b1 on b1.menuno=a.pmenuno left outer join menu b2 on b2.menuno=b1.pmenuno left outer join menu b3 on b3.menuno=b2.pmenuno left outer join menu b4 on b4.menuno=b3.pmenuno left outer join menu b5 on b5.menuno=b4.pmenuno order by case a.menulevel when 0 then a.menuorder when 1 then b1.menuorder when 2 then b2.menuorder when 3 then b3.menuorder when 4 then b4.menuorder else b5.menuorder end ,case a.menulevel when 0 then a.menuno when 1 then b1.menuno when 2 then b2.menuno when 3 then b3.menuno when 4 then b4.menuno else b5.menuno end ,case a.menulevel when 1 then a.menuorder when 2 then b1.menuorder when 3 then b2.menuorder when 4 then b3.menuorder when 5 then b4.menuorder else 0 end ,case a.menulevel when 1 then a.menuno when 2 then b1.menuno when 3 then b2.menuno when 4 then b3.menuno when 5 then b4.menuno else 0 end ,case a.menulevel when 2 then a.menuorder when 3 then b1.menuorder when 4 then b2.menuorder when 5 then b3.menuorder else 0 end ,case a.menulevel when 2 then a.menuno when 3 then b1.menuno when 4 then b2.menuno when 5 then b3.menuno else 0 end ,case a.menulevel when 3 then a.menuorder when 4 then b1.menuorder when 5 then b2.menuorder else 0 end ,case a.menulevel when 3 then a.menuno when 4 then b1.menuno when 5 then b2.menuno else 0 end ,case a.menulevel when 4 then a.menuorder when 5 then b1.menuorder else 0 end ,case a.menulevel when 4 then a.menuno when 5 then b1.menuno else 0 end ,case a.menulevel when 5 then a.menuorder else 0 end ,case a.menulevel when 5 then a.menuno else 0 end] +2025-12-11 13:57:02,479 - Statement Id: [sys.authmenu] Prepared SQL: [select a.usertype, a.menuno from menuauth a where a.usertype= ?param0] +2025-12-11 13:57:02,480 - Statement Id: [sys.file.get] Prepared SQL: [select a.fileno,a.fgno,a.orgname,a.fileurl,a.filesize,a.extension,a.dcount,a.cno,a.uno ,b.tablename,b.columnname from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdel = 0] +2025-12-11 13:57:02,480 - Statement Id: [sys.file.getall] Prepared SQL: [select a.fileno,a.fgno,a.orgname,a.fileurl,a.filesize,a.extension,a.dcount,a.cno,a.uno ,b.tablename,b.columnname from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0] +2025-12-11 13:57:02,481 - Statement Id: [cm.ncs.parents.u] Prepared SQL: [select 3 ndepth,v.ndno ncsno,v.dname ncsname,v.dcode ncscode,case when v.ndno=u.ndno then 1 else 0 end isact from ncsu u inner join ncsd d on d.ndno=u.ndno inner join ncsd v on v.nbno=d.nbno where u.nuno= ?param0 union all select 2 ndepth,v.nbno ncsno,v.bname ncsname,v.bcode ncscode,case when v.nbno=b.nbno then 1 else 0 end isact from ncsu u inner join ncsd d on d.ndno=u.ndno inner join ncsb b on b.nbno=d.nbno inner join ncsb v on v.nmno=b.nmno where u.nuno= ?param0 union all select 1 ndepth,v.nmno ncsno,v.mname ncsname,v.mcode ncscode,case when v.nmno=m.nmno then 1 else 0 end isact from ncsu u inner join ncsd d on d.ndno=u.ndno inner join ncsb b on b.nbno=d.nbno inner join ncsm m on m.nmno=b.nmno inner join ncsm v on v.ntno=m.ntno where u.nuno= ?param0 union all select 0 ndepth,v.ntno ncsno,v.tname ncsname,v.tcode ncscode,case when v.ntno=t.ntno then 1 else 0 end isact from ncsu u inner join ncsd d on d.ndno=u.ndno inner join ncsb b on b.nbno=d.nbno inner join ncsm m on m.nmno=b.nmno inner join ncst t on t.ntno=m.ntno inner join ncst v on v.ntype=t.ntype where u.nuno= ?param0 order by ndepth,ncscode] +2025-12-11 13:57:02,482 - Statement Id: [cm.ncs.parents.d] Prepared SQL: [select 2 ndepth,v.nbno ncsno,v.bname ncsname,v.bcode ncscode,case when v.nbno=b.nbno then 1 else 0 end isact from ncsd d inner join ncsb b on b.nbno=d.nbno inner join ncsb v on v.nmno=b.nmno where d.ndno= ?param0 union all select 1 ndepth,v.nmno ncsno,v.mname ncsname,v.mcode ncscode,case when v.nmno=m.nmno then 1 else 0 end isact from ncsd d inner join ncsb b on b.nbno=d.nbno inner join ncsm m on m.nmno=b.nmno inner join ncsm v on v.ntno=m.ntno where d.ndno= ?param0 union all select 0 ndepth,v.ntno ncsno,v.tname ncsname,v.tcode ncscode,case when v.ntno=t.ntno then 1 else 0 end isact from ncsd d inner join ncsb b on b.nbno=d.nbno inner join ncsm m on m.nmno=b.nmno inner join ncst t on t.ntno=m.ntno inner join ncst v on v.ntype=t.ntype where d.ndno= ?param0 order by ndepth,ncscode] +2025-12-11 13:57:02,482 - Statement Id: [cm.ncs.parents.b] Prepared SQL: [select 1 ndepth,v.nmno ncsno,v.mname ncsname,v.mcode ncscode,case when v.nmno=m.nmno then 1 else 0 end isact from ncsb b inner join ncsm m on m.nmno=b.nmno inner join ncsm v on v.ntno=m.ntno where b.nbno= ?param0 union all select 0 ndepth,v.ntno ncsno,v.tname ncsname,v.tcode ncscode,case when v.ntno=t.ntno then 1 else 0 end isact from ncsb b inner join ncsm m on m.nmno=b.nmno inner join ncst t on t.ntno=m.ntno inner join ncst v on v.ntype=t.ntype where b.nbno= ?param0 order by ndepth,ncscode] +2025-12-11 13:57:02,482 - Statement Id: [cm.ncs.parents.m] Prepared SQL: [select 0 ndepth,v.ntno ncsno,v.tname ncsname,v.tcode ncscode,case when v.ntno=t.ntno then 1 else 0 end isact from ncsm m inner join ncst t on t.ntno=m.ntno inner join ncst v on v.ntype=t.ntype where m.nmno= ?param0 order by ndepth,ncscode] +2025-12-11 13:57:02,483 - Statement Id: [cm.sales.bycm] Prepared SQL: [select case b.ptype when 2 then 2 when 3 then 1 else 0 end dtype, 0 intval, case b.ptype when 2 then '' when 3 then '' else '' end strval,'' strval2 ,sum(case when month(a.payoktime)=1 then b.payamt else 0 end) longval ,sum(case when month(a.payoktime)=2 then b.payamt else 0 end) longval2 ,sum(case when month(a.payoktime)=3 then b.payamt else 0 end) longval3 ,sum(case when month(a.payoktime)=4 then b.payamt else 0 end) longval4 ,sum(case when month(a.payoktime)=5 then b.payamt else 0 end) longval5 ,sum(case when month(a.payoktime)=6 then b.payamt else 0 end) longval6 ,sum(case when month(a.payoktime)=7 then b.payamt else 0 end) longval7 ,sum(case when month(a.payoktime)=8 then b.payamt else 0 end) longval8 ,sum(case when month(a.payoktime)=9 then b.payamt else 0 end) longval9 ,sum(case when month(a.payoktime)=10 then b.payamt else 0 end) longval10 ,sum(case when month(a.payoktime)=11 then b.payamt else 0 end) longval11 ,sum(case when month(a.payoktime)=12 then b.payamt else 0 end) longval12 from pay a inner join payitem b on b.payno=a.payno and a.pstatus=1 where year(a.payoktime)= ?param0 and a.pstatus=1 group by b.ptype,month(a.payoktime) union all select case b.ptype when 2 then 2 when 3 then 1 else 0 end dtype, 1 intval, '','ȯ' strval ,(case when month(b.refundtime)=1 then b.refundamt else 0 end) * -1 longval ,(case when month(b.refundtime)=2 then b.refundamt else 0 end) * -1 longval2 ,(case when month(b.refundtime)=3 then b.refundamt else 0 end) * -1 longval3 ,(case when month(b.refundtime)=4 then b.refundamt else 0 end) * -1 longval4 ,(case when month(b.refundtime)=5 then b.refundamt else 0 end) * -1 longval5 ,(case when month(b.refundtime)=6 then b.refundamt else 0 end) * -1 longval6 ,(case when month(b.refundtime)=7 then b.refundamt else 0 end) * -1 longval7 ,(case when month(b.refundtime)=8 then b.refundamt else 0 end) * -1 longval8 ,(case when month(b.refundtime)=9 then b.refundamt else 0 end) * -1 longval9 ,(case when month(b.refundtime)=10 then b.refundamt else 0 end) * -1 longval10 ,(case when month(b.refundtime)=11 then b.refundamt else 0 end) * -1 longval11 ,(case when month(b.refundtime)=12 then b.refundamt else 0 end) * -1 longval12 from pay a inner join payitem b on b.payno=a.payno and a.pstatus=1 and b.rstatus > 0 and b.refundtime is not null and year(b.refundtime)= ?param0 where a.pstatus=1 and a.rstatus > 0 group by b.ptype,month(b.refundtime) order by dtype,intval] +2025-12-11 13:57:02,486 - Statement Id: [cm.cmcalc.print] Prepared SQL: [select a.cmno,a.feeloc,a.feebkpr,a.feebrt,a.feemat,a.feefoo,a.feeetc,a.prtcnt ,b.cname,b.classno,b.sstime,b.setime ,c.pfee ,d.username,CAST(AES_DECRYPT(UNHEX(d.userpno), 'np123@!') AS char) userpno,d.bankname,CAST(AES_DECRYPT(UNHEX(d.bankno), 'np123@!') AS char) bankno,d.post,d.address1,d.address2 ,row_number() over(order by d.username) rno from cmcalc a inner join cm b on b.cmno=a.cmno inner join cmprof c on c.cmno=b.cmno inner join users d on d.userno=c.userno where a.cmno= ?param0 order by rno] +2025-12-11 13:57:02,487 - Statement Id: [sys.npsystem] Prepared SQL: [select count(b.daokey) from (select 1 col1) a left outer join npsystem b on b.daokey= ?param0] +2025-12-11 13:57:02,487 - Statement Id: [sys.ncs.check.t] Prepared SQL: [select sum(intval) intval,sum(intval2) intval2 from ( select 0 intval, count(m.nmno) intval2 from ncst t left outer join ncsm m on m.ntno=t.ntno where t.ntno= ?param0 union all select 0 intval,count(b.nbno) intval2 from ncst t left outer join ncsm m on m.ntno=t.ntno left outer join ncsb b on b.nmno=m.nmno where t.ntno= ?param0 union all select count(cmd.cmno) intval,count(distinct d.ndno) intval2 from ncst t left outer join ncsm m on m.ntno=t.ntno left outer join ncsb b on b.nmno=m.nmno left outer join ncsd d on d.nbno=b.nbno left outer join cmncsd cmd on cmd.ndno=d.ndno where t.ntno= ?param0 union all select 0 intval,count(u.nuno) intval2 from ncst t left outer join ncsm m on m.ntno=t.ntno left outer join ncsb b on b.nmno=m.nmno left outer join ncsd d on d.nbno=b.nbno left outer join ncsu u on u.ndno=d.ndno where t.ntno= ?param0 ) a] +2025-12-11 13:57:02,487 - Statement Id: [sys.ncs.check.m] Prepared SQL: [select sum(intval) intval,sum(intval2) intval2 from ( select 0 intval,count(b.nbno) intval2 from ncsm m left outer join ncsb b on b.nmno=m.nmno where m.nmno= ?param0 union all select count(cmd.cmno) intval,count(distinct d.ndno) intval2 from ncsm m left outer join ncsb b on b.nmno=m.nmno left outer join ncsd d on d.nbno=b.nbno left outer join cmncsd cmd on cmd.ndno=d.ndno where m.nmno= ?param0 union all select 0 intval,count(u.nuno) intval2 from ncsm m left outer join ncsb b on b.nmno=m.nmno left outer join ncsd d on d.nbno=b.nbno left outer join ncsu u on u.ndno=d.ndno where m.nmno= ?param0 ) a] +2025-12-11 13:57:02,487 - Statement Id: [sys.ncs.check.b] Prepared SQL: [select sum(intval) intval,sum(intval2) intval2 from ( select count(cmd.cmno) intval,count(distinct d.ndno) intval2 from ncsb b left outer join ncsd d on d.nbno=b.nbno left outer join cmncsd cmd on cmd.ndno=d.ndno where b.nbno= ?param0 union all select 0 intval,count(u.nuno) intval2 from ncsb b left outer join ncsd d on d.nbno=b.nbno left outer join ncsu u on u.ndno=d.ndno where b.nbno= ?param0 ) a] +2025-12-11 13:57:02,487 - Statement Id: [sys.ncs.check.d] Prepared SQL: [select sum(intval) intval,sum(intval2) intval2 from ( select count(cmd.cmno) intval,0 intval2 from ncsd d left outer join cmncsd cmd on cmd.ndno=d.ndno where d.ndno= ?param0 union all select 0 intval,count(u.nuno) intval2 from ncsd d left outer join ncsu u on u.ndno=d.ndno where d.ndno= ?param0 ) a] +2025-12-11 13:57:02,488 - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(menuname,pmenuno,menuurl,menulevel,menuorder,isuse,ishid,cdt,cno,udt,uno,uip) select ?param0 , ?param1 ,ifnull( ?param2 ,''),ifnull(c.menulevel, -1) + 1, ?param3 , ?param4 , ?param5 ,now(), ?param6 ,now(), ?param6 , ?param7 from (select ?param8 menuno) a left outer join menu b on b.menuno=a.menuno left outer join menu c on c.menuno= ?param1 where b.menuno is null] +2025-12-11 13:57:02,488 - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [select last_insert_id()] +2025-12-11 13:57:02,489 - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (tablename,columnname, cdt,cno,udt,uno,uip) VALUES ( ?param0 , ?param1 , cdt,cno,udt,uno,uip)] +2025-12-11 13:57:02,489 - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,489 - Statement Id: [sys.okcert3.in] Prepared SQL: [insert into okcert3log (gubn, ret, reason, sn, rsltcd, rslt, dt) select ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , now()] +2025-12-11 13:57:02,489 - Statement Id: [sys.okcert3.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,490 - Statement Id: [sys.userauth.save] Prepared SQL: [insert into menuauth (usertype,authname,menuno,isdel,cdt,cno,udt,uno,uip) select max(usertype)+1, ?param0 ,1,0,now(), ?param1 ,now(), ?param1 , ?param2 from menuauth] +2025-12-11 13:57:02,490 - Statement Id: [sys.authname.save] Prepared SQL: [update menuauth set authname= ?param0 where usertype= ?param1] +2025-12-11 13:57:02,490 - Statement Id: [sys.userauth.del] Prepared SQL: [delete a from menuauth a left outer join( select count(userno) usercnt,usertype from users where usertype = ?param0 group by usertype )b on b.usertype = a.usertype where a.usertype = ?param0 and (b.usercnt < 1 or b.usercnt is null); insert into menuauth (usertype,authname,menuno,isdel,cdt,cno,udt,uno,uip) select * from ( select ?param0 usertype, ?param1 authname,1 menuno,0 isdel,now() cdt, ?param2 cno,now() udt, ?param2 uno, ?param3 uip ) a where not exists( select usertype,authname,menuno from menuauth where usertype = ?param0 and menuno = 1 ); update menuauth a left outer join ( select count(userno) usercnt,usertype from users where usertype = ?param0 and status=1 group by usertype ) b on b.usertype = a.usertype set isdel=1 where a.usertype= ?param0 and (b.usercnt < 1 or b.usercnt is null);] +2025-12-11 13:57:02,490 - Statement Id: [sys.menu.chageposition] Prepared SQL: [update menu a left outer join menu b on b.menuno= ?param0 left outer join menu c on c.menuno= ?param1 set a.pmenuno= ?param1 , a.menuorder = ifnull(b.menuorder, -1) + 1, a.menulevel=c.menulevel + 1 , a.udt=now(), a.uno= ?param2 , a.uip= ?param3 where a.menuno= ?param4] +2025-12-11 13:57:02,490 - Statement Id: [sys.menu.update] Prepared SQL: [update menu a left outer join (select menulevel from menu where menuno= ?param0 ) b on 1 = 1 set udt=now(), uno= ?param1 , uip= ?param2 ,menuname= ?param3 , pmenuno= ?param0 , menuurl=ifnull( ?param4 , ''),a.menulevel=b.menulevel + 1,menuorder= ?param5 ,isuse= ?param6 ,ishid= ?param7 where a.menuno= ?param8 ;] +2025-12-11 13:57:02,490 - Statement Id: [sys.menu.delete] Prepared SQL: [delete from menuauth where menuno= ?param0 ; delete from menu where menuno= ?param0] +2025-12-11 13:57:02,490 - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0] +2025-12-11 13:57:02,491 - Statement Id: [sys.file.del] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , isdel=1 where fileno= ?param2 and ( ?param3 = 1 or ?param1 = -999 or cno= ?param1 )] +2025-12-11 13:57:02,491 - Statement Id: [sys.file.del2] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , isdel=1 where fgno= ?param2 and ( ?param3 = 1 or ?param1 = -999 or cno= ?param1 )] +2025-12-11 13:57:02,491 - Statement Id: [cm.ncst.in] Prepared SQL: [insert into ncst (ntype,tcode,tname,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )] +2025-12-11 13:57:02,491 - Statement Id: [cm.ncst.up] Prepared SQL: [update ncst set udt=now(),uno= ?param0 ,uip= ?param1 ,tcode= ?param2 ,tname= ?param3 where ntno= ?param4] +2025-12-11 13:57:02,492 - Statement Id: [cm.actlog.set] Prepared SQL: [insert into actlog (logtype,logtarget,userno,logdata,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 )] +2025-12-11 13:57:02,493 - Statement Id: [cm.authlog.set] Prepared SQL: [insert into authlog(logtype,userno,usertypeorg,usertypenew,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 )] +2025-12-11 13:57:02,493 - Statement Id: [cm.authlog.set2] Prepared SQL: [insert into authlog(logtype,userno,usertypeorg,usertypenew,cdt,cno,udt,uno,uip) select ?param0 , ?param1 ,a.usertype, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from users a where a.userno= ?param1 and a.usertype <> ?param2] +2025-12-11 13:57:02,493 - Statement Id: [sys.kcblog.in] Prepared SQL: [insert into kcblog (cdt,cp_cd,mobile,vssn,logmsg) values(now(), ?param0 ,case when ?param1 is not null then HEX(AES_ENCRYPT( ?param1 , 'np123@!')) else null end , ?param2 , ?param3 );] +2025-12-11 13:57:02,494 - Statement Id: [excellog.in] Prepared SQL: [INSERT INTO exceldownlog (userno, userid, username, actiontime, position, comment, userip) SELECT userno, userid, username, sysdate(), ?param0 , ?param1 , ?param2 FROM users where userno = ?param3] +2025-12-11 13:57:02,516 - Statement Id: [cm.myterm] Prepared SQL: [select distinct c.tmno,c.tyear,c.tseq from cmprof a inner join cm b on b.cmno=a.cmno and b.ismaster=0 and b.isdel=0 inner join term c on c.tmno=b.tmno where a.userno= ?param0 order by c.tyear desc,c.tseq] +2025-12-11 13:57:02,517 - Statement Id: [cm.term.ys] Prepared SQL: [select distinct tmno,tyear,tseq from term order by tyear desc,tseq] +2025-12-11 13:57:02,518 - Statement Id: [cm.cmdatas] Prepared SQL: [select a.dtype,a.intval,a.intval2,a.intval3 ,a.strval,a.strval2 from( select 1 dtype ,a.userno intval,b.usertype intval2 ,row_number() over (order by b.username desc) intval3 ,b.username strval,null strval2 from cmprof a inner join users b on b.userno=a.userno where a.cmno= ?param0 order by b.username desc ) a union all select 2 ,b.bkno,0 ,row_number() over (order by b.bkno) intval3 ,b.bkname,null from cmbook a inner join book b on b.bkno=a.bkno where a.cmno= ?param0 union all select 3 dtype ,b.cmno,a.ispre ,row_number() over (order by b.cmno) intval3 ,b.cname,null from cmrelay a inner join cm b on b.cmno=a.rcmno where a.cmno= ?param0 union all select 4 ,b.ndno,0 ,row_number() over (order by b.ndno) intval3 ,b.dname,b.acode from cmncsd a inner join ncsd b on b.ndno=a.ndno where a.cmno= ?param0 order by dtype,intval3] +2025-12-11 13:57:02,518 - Statement Id: [cm.datacreatecmbycmmaster] Prepared SQL: [select a.cmno,a.cname,row_number() over(order by a.udt desc) rno from cm a where a.ismaster=1 and a.isdel=0 and a.cgno= ?param0 order by rno] +2025-12-11 13:57:02,520 - Statement Id: [cm.cminnigscd.exists] Prepared SQL: [select count(*) from cminning a inner join cminningscd b on a.cmino = b.cmino where cmno = ?param0] +2025-12-11 13:57:02,520 - Statement Id: [cm.cmev] Prepared SQL: [select a.cmno,a.attend,a.attendcut,a.attendrfd,a.attendcutrfd,a.mid,a.midcut,a.midrfd,a.midcutrfd,a.final,a.finalcut,a.finalrfd,a.finalcutrfd,a.subject,a.subjectcut,a.subjectrfd ,a.subjectcutrfd,a.discuss,a.discusscut,a.discussrfd,a.discusscutrfd,a.etc,a.etccut,a.etcrfd,a.etccutrfd,a.cut,a.cutrfd,a.isoffabs ,b.scdtype ,c.cshape from cmev a inner join cm c on c.cmno = a.cmno left outer join cminning b on b.cmno = a.cmno and b.isscd = 1 where a.cmno= ?param0] +2025-12-11 13:57:02,521 - Statement Id: [cm.est] Prepared SQL: [select 0 gubun,case when a.extype = 0 then 1 else 2 end estkind ,a.exno,a.cmno,a.extype,a.exname,a.edesc,a.etime,a.econdition,a.evtype,a.eqtype,a.israndq,a.israndqi,a.qcount,a.isblur,a.tpoint,a.relaylimit,a.isusebackup,a.isseq ,null sdno,null sdtype,null sdname,null sddesc,null sdcondition ,null rsno,null rscno,null rstype,null rsname,null rscondition , row_number() over(partition by a.extype order by a.cdt) rno ,null as iseq,null as teachername from cmex a where a.cmno= ?param0 and a.isdel=0 union all select 1 gubun,case when a.sdtype = 0 then 11 else 21 end estkind ,a.sdno exno,a.cmno,a.sdtype extype,a.sdname exname,a.sddesc edesc,null etime,a.sdcondition econdition,null evtype,null eqtype,null israndq,null israndqi,null qcount,null isblur,a.tpoint,null relaylimit,null isusebackup,null isseq ,a.sdno,a.sdtype,a.sdname,a.sddesc,a.sdcondition ,null rsno,null rscno,null rstype,null rsname,null rscondition , row_number() over(partition by a.sdtype order by a.cdt) rno ,null as iseq,null as teachername from cmsd a where a.cmno= ?param0 and a.isdel=0 union all select 2 gubun,case when a.rstype = 0 then 32 else 31 end estkind ,a.rsno exno,a.cmno,a.rstype extype,a.rsname exname,null edesc,null etime,a.rscondition econdition,null evtype,null eqtype,null israndq,null israndqi,null qcount,null isblur,null tpoint,null relaylimit,null isusebackup,null isseq ,null sdno,null sdtype,null sdname,null sddesc,null sdcondition ,a.rsno,a.rscno,a.rstype,a.rsname,a.rscondition , row_number() over(partition by a.rstype order by a.cdt) rno ,b.iseq,c.username as teachername from cmrs a left outer join cminning b on a.cmino = b.cmino left outer join users c on b.userno = c.userno where a.cmno= ?param0 and a.isdel=0 order by rsno] +2025-12-11 13:57:02,521 - Statement Id: [cm.cmexqs] Prepared SQL: [select a.eqno,a.exno,a.qseq,a.qno,a.rpoint , b.qtextstring, b.dpoint, b.qdiff, b.cc1, b.cc2, b.cc3, b.cc4, b.cc5,b.atype , cc.cname qdiffname, cc1.cname ccname1, cc2.cname ccname2, cc3.cname ccname3, cc4.cname ccname4, cc5.cname ccname5 from cmexq a inner join question b on b.qno=a.qno left outer join comcode cc on cc.ccode = b.qdiff left outer join comcode cc1 on cc1.ccode = b.cc1 left outer join comcode cc2 on cc2.ccode = b.cc2 left outer join comcode cc3 on cc3.ccode = b.cc3 left outer join comcode cc4 on cc4.ccode = b.cc4 left outer join comcode cc5 on cc5.ccode = b.cc5 where a.exno= ?param0 order by a.qseq] +2025-12-11 13:57:02,521 - Statement Id: [cm.exsave.valid] Prepared SQL: [select count(d.exno) from (select 1 as col1) a left outer join lectex d on d.exno= ?param0] +2025-12-11 13:57:02,521 - Statement Id: [cm.sdsave.valid] Prepared SQL: [select sum(cnt) from ( select count(d.sdno) cnt from (select 1 as col1) a left outer join lectsd d on d.sdno= ?param0 union all select count(d.sdno) from (select 1 as col1) a left outer join lectsdboard d on d.sdno= ?param0 ) a] +2025-12-11 13:57:02,521 - Statement Id: [cm.rssave.valid] Prepared SQL: [select count(d.rsno) from (select 1 as col1) a left outer join lectrs d on d.rsno= ?param0] +2025-12-11 13:57:02,521 - Statement Id: [cm.rscsave.valid] Prepared SQL: [select count(d.rscno) from (select 1 as col1) a left outer join cmrs d on d.rscno= ?param0] +2025-12-11 13:57:02,521 - Statement Id: [cm.cmexlayers] Prepared SQL: [select a.exno ,case when a.qdiff = 1 then null else a.qdiff end qdiff ,case when a.cc1 = 1 then null else a.cc1 end cc1 ,case when a.cc2 = 1 then null else a.cc2 end cc2 ,case when a.cc3 = 1 then null else a.cc3 end cc3 ,case when a.cc4 = 1 then null else a.cc4 end cc4 ,case when a.cc5 = 1 then null else a.cc5 end cc5 ,a.qcount,a.rpoint , cc.cname qdiffname, cc1.cname ccname1, cc2.cname ccname2, cc3.cname ccname3, cc4.cname ccname4, cc5.cname ccname5 from cmexlayer a left outer join comcode cc on cc.ccode = a.qdiff and cc.ccode > 0 left outer join comcode cc1 on cc1.ccode = a.cc1 and cc1.ccode > 0 left outer join comcode cc2 on cc2.ccode = a.cc2 and cc2.ccode > 0 left outer join comcode cc3 on cc3.ccode = a.cc3 and cc3.ccode > 0 left outer join comcode cc4 on cc4.ccode = a.cc4 and cc4.ccode > 0 left outer join comcode cc5 on cc5.ccode = a.cc5 and cc5.ccode > 0 where a.exno= ?param0 order by cc.corder, cc1.corder, cc2.corder] +2025-12-11 13:57:02,522 - Statement Id: [cm.cmex.extype1count] Prepared SQL: [select count(b.exno) from (select 1 col1) a left outer join cmex b on b.cmno= ?param0 and b.isdel=0 and b.exno <> ?param1 and b.extype=1] +2025-12-11 13:57:02,522 - Statement Id: [cm.cmrs.check] Prepared SQL: [select count(b.rsno) from (select 1 col1) a left outer join cmrs b on b.cmno= ?param0 and b.rsno <> ?param1 and b.rstype= ?param2 and b.isdel=0] +2025-12-11 13:57:02,522 - Statement Id: [cm.questionusings] Prepared SQL: [select sum(cnt) from ( select 0 as cnt union all select count(qno) from cmexq where qno= ?param0 union all select count(qno) from rscq where qno= ?param0 ) a] +2025-12-11 13:57:02,523 - Statement Id: [cm.questionitem.valid] Prepared SQL: [select sum(cnt) from ( select 0 as cnt union all select a.qno from ( select b.qno from questionitem a inner join cmexq b on b.qno=a.qno where a.qino= ?param0 limit 1) a union all select a.qno from ( select b.qno from questionitem a inner join rscq b on b.qno=a.qno where a.qino= ?param0 limit 1) a ) a] +2025-12-11 13:57:02,523 - Statement Id: [cm.cmmenus] Prepared SQL: [select a.cmno,a.isplan,a.iscontent,a.isev,a.isrs,a.isgrade ,b.bmno from cmmenu a left outer join cmmenubm b on b.cmno=a.cmno where a.cmno= ?param0] +2025-12-11 13:57:02,523 - Statement Id: [cm.rscqs] Prepared SQL: [select a.rscqno,a.rscno,a.qno,a.dseq , b.qtextstring, b.dpoint, b.qdiff, b.cc1, b.cc2, b.cc3, b.cc4, b.cc5,b.atype , cc.cname qdiffname, cc1.cname ccname1, cc2.cname ccname2, cc3.cname ccname3, cc4.cname ccname4, cc5.cname ccname5 ,row_number() over(order by a.dseq, a.rscqno) rno from rscq a inner join question b on b.qno=a.qno left outer join comcode cc on cc.ccode = b.qdiff left outer join comcode cc1 on cc1.ccode = b.cc1 left outer join comcode cc2 on cc2.ccode = b.cc2 left outer join comcode cc3 on cc3.ccode = b.cc3 left outer join comcode cc4 on cc4.ccode = b.cc4 left outer join comcode cc5 on cc5.ccode = b.cc5 where a.rscno= ?param0 order by rno] +2025-12-11 13:57:02,524 - Statement Id: [cm.cminfile] Prepared SQL: [select 1 dtype,a.sdno intval,a.fgno longval,b.fileno longval2,0 longval4,b.fileurl strval from cmsd a inner join fileinfo b on b.fgno=a.fgno and b.isdel=0 where a.cmno= ?param0 union all select 0,exno,null,null,null,null from cmex where cmno= ?param0 and isdel=0 union all select 2,0,a.fgnotf,b.fileno,a.cmino,b.fileurl from cminning a inner join fileinfo b on b.fgno=a.fgnotf and b.isdel=0 where a.cmno= ?param0 union all select 3,a.cmno,a.fgnocm,b.fileno,0,b.fileurl from cm a inner join fileinfo b on b.fgno=a.fgnocm and b.isdel=0 where a.cmno= ?param0 order by dtype,intval,longval2] +2025-12-11 13:57:02,524 - Statement Id: [cm.check.cmpcpay] Prepared SQL: [select count(b.pino) from (select 1 as col1) a left outer join payitem b on b.ptype=1 and b.pcno = ?param0] +2025-12-11 13:57:02,524 - Statement Id: [cm.ct.checkcmi] Prepared SQL: [select count(b.cmino) dcnt from ct a left outer join cminning b on b.ctno=a.ctno where a.ctno= ?param0 group by a.ctno] +2025-12-11 13:57:02,524 - Statement Id: [cm.pcm.foras] Prepared SQL: [select distinct d.cmno value,d.cname text from users a inner join lect b on b.userno=a.userno and b.status<5 inner join cm c on c.cmno=b.cmno inner join cm d on d.cmno=c.pcmno where a.asno= ?param0 order by text,value] +2025-12-11 13:57:02,525 - Statement Id: [cm.cm.foras] Prepared SQL: [select distinct c.cmno value,concat(c.cname,'(',c.classno,')') text from users a inner join lect b on b.userno=a.userno and b.status<5 inner join cm c on c.cmno=b.cmno and c.pcmno= ?param0 where a.asno= ?param1 order by text,value] +2025-12-11 13:57:02,525 - Statement Id: [cm.pcm.forall] Prepared SQL: [select a.cmno value,a.cname text from cm a where a.ismaster=1 and a.isuse=1 and a.isdel=0 order by text,value] +2025-12-11 13:57:02,525 - Statement Id: [cm.cm.forall] Prepared SQL: [select a.cmno value,concat(a.cname,'(',a.classno,')') text from cm a where a.pcmno= ?param0 and a.ismaster=1 and a.isuse=1 and a.isdel=0 order by text,value] +2025-12-11 13:57:02,525 - Statement Id: [cm.cms.forpay] Prepared SQL: [select c.cmno,case when b.isjoin=1 then c.infee else c.infee end fee, c.accommofee, b.isjoin,d.lectno lectnocheck from users a left outer join assign b on b.asno=a.asno inner join cm c on c.cmno= ?param0 left outer join lect d on d.userno=a.userno and d.cmno=c.cmno and d.status in (1,2,3,4,6) and d.ischanged=0 where a.userno= ?param1] +2025-12-11 13:57:02,525 - Statement Id: [cm.cms.forpaypc] Prepared SQL: [select c.cmno,case when b.isjoin=1 then c.infee else c.outfee end fee,b.isjoin from users a left outer join assign b on b.asno=a.asno inner join cmpc c on c.pcno= ?param0 where a.userno= ?param1] +2025-12-11 13:57:02,525 - Statement Id: [cm.cmcheck.forbuy] Prepared SQL: [select 1 rno,a.cmno,a.quota ,b.status lectstatus ,count(d.userno) countlect from cm a left outer join lect b on b.cmno=a.cmno and b.userno= ?param0 and b.status < 5 and b.ischanged=0 left outer join lect c on c.cmno=a.cmno and c.status < 5 and c.ischanged=0 left outer join users d on d.userno=c.userno and d.status=1 where a.cmno= ?param1 and a.ismaster=0 and a.rstime < now() and a.retime > now() and a.isuse=1 and a.isdel=0 group by a.cmno,a.quota,b.status union all select 2,a.cmno,0 ,b.status ,0 from cm a inner join lect b on b.cmno <> a.cmno and b.userno= ?param0 and b.status < 5 inner join cm c on c.cmno=b.cmno and c.pcmno=a.pcmno where a.cmno = ?param1] +2025-12-11 13:57:02,527 - Statement Id: [cm.assign.applyedu.byasno] Prepared SQL: [select a.asno,a.ascode,a.isjoin,a.joinyear,a.joinprice,a.asname,a.ceoname,a.brno,a.eino,a.grno,a.btype,a.bkind,a.salesamount,a.homeurl,a.mcount,a.aday,a.astype,a.asctg,a.askey,a.post ,a.address1,a.address2,a.fgnobno,a.fgnobank,a.joindate,a.exitdate,a.status,a.issite,a.subdomain,a.sitename,a.sitelogo,a.sitefooter,a.siteip,a.ismain,a.mname,a.isdel ,CAST(AES_DECRYPT(UNHEX(a.mphone), 'np123@!') AS char) mphone ,CAST(AES_DECRYPT(UNHEX(a.taxemail), 'np123@!') AS char) taxemail from assign a where a.asno= ?param0 and a.isdel=0] +2025-12-11 13:57:02,527 - Statement Id: [cm.cminningscdcheck] Prepared SQL: [select a.quota - (select count(z.lectno) cnt from lect z where a.cmisno = z.cmisno and z.status in (1,2) and z.ischanged=0) from cminningscd a where a.cmisno = ?param0] +2025-12-11 13:57:02,531 - Statement Id: [cm.cmin] Prepared SQL: [insert into cm(ismaster,cgno,pcmno,cname,kname,tmno,classno,rstime,retime,sstime,setime,gstime,getime,cshape ,infee,outfee,accommofee,quota ,introhtml,targethtml,goalhtml,contenthtml,studyplace,studytime ,certcc,certgradecc,jobcc,jobpositiongrade,difficulty,isrefund,isuse,isdel,isseq,fgnocm,typeman,typeedu,typegrade,typejob,typejobitem,iscertificate,ischkatt,isaccommodation,daylectinninglimit,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 ,0, ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 , ?param37 , ?param38 , ?param39 , ?param40 ,10,now(), ?param41 ,now(), ?param41 , ?param42 );] +2025-12-11 13:57:02,531 - Statement Id: [cm.cmin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,532 - Statement Id: [cm.cminnings.in] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into cminning (cmno,week,iseq,isonline,ititle,icontent,idate,iday,ist,iet,fgnotf,ctno,istaste,sttime,atime,mstime,metime,userno,isscd,scdtype,cdt,cno,udt,uno,uip) select ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 ,now(), ?param20 ,now(), ?param20 , ?param21 from (select 1 col1) a left outer join cminning b on b.cmno= ?param0 and b.iseq= ?param2 where b.cmino is null] +2025-12-11 13:57:02,533 - Statement Id: [cm.cminnings.in.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,534 - Statement Id: [cm.cminningscd.in] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into cminningscd(cmino,estart,eend,quota,studyplace,sseq,comment,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 ,now(), ?param7 ,now(), ?param7 , ?param8 )] +2025-12-11 13:57:02,534 - Statement Id: [cm.cminningscd.in.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,536 - Statement Id: [cm.cmex.in] Prepared SQL: [INSERT INTO cmex (cmno,extype,exname,edesc,etime,econdition,evtype,eqtype,israndq,israndqi,qcount,isblur,tpoint,relaylimit,isusebackup,isseq,isreexamable,isresultopen,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 ,0,now(), ?param18 ,now(), ?param18 , ?param19 )] +2025-12-11 13:57:02,536 - Statement Id: [cm.cmex.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,537 - Statement Id: [cm.question.in] Prepared SQL: [INSERT INTO question (cmno, qdiff, cc1, cc2, cc3, cc4, cc5, isuse, atype, dpoint, qtext, qtextstring, qdesc, rightcount,ispassspace,isignorecase, cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , now(), ?param16 ,now(), ?param16 , ?param17 );] +2025-12-11 13:57:02,538 - Statement Id: [cm.question.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,538 - Statement Id: [cm.cmsd.in] Prepared SQL: [insert into cmsd(sdtype,cmno,sdname,sddesc,tpoint,sdcondition,fgno,isdel,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 ,0,now(), ?param7 ,now(), ?param7 , ?param8 );] +2025-12-11 13:57:02,538 - Statement Id: [cm.cmsd.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,538 - Statement Id: [cm.cmrs.in] Prepared SQL: [insert into cmrs(rstype,cmno,rsname,rscondition,rscno,isdel,cmino,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 ,now(), ?param6 ,now(), ?param6 , ?param7 );] +2025-12-11 13:57:02,538 - Statement Id: [cm.cmrs.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,538 - Statement Id: [cm.rsc.in] Prepared SQL: [insert into rsc(rstype,rscname,isuse,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 );] +2025-12-11 13:57:02,538 - Statement Id: [cm.rsc.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,538 - Statement Id: [cm.cmcopy0] Prepared SQL: [insert into cm(ismaster,cgno,pcmno,cname,kname,tmno,classno,rstime,retime,sstime,setime,gstime,getime,cshape,typeman,typeedu,typegrade,typejob,typejobItem,infee,outfee,accommofee,quota,introhtml,targethtml,goalhtml,contenthtml,studyplace,studytime ,certcc,certgradecc,jobcc,jobpositiongrade,difficulty,isrefund,isuse,isseq,iscertificate,isdel,studydays,isaccommodation,daylectinninglimit,cdt,cno,udt,uno,uip) select ?param0 ,cgno,case when a.ismaster = 1 and ?param0 = 0 then a.cmno else a.pcmno end,ifnull( ?param1 , concat('纻_', cname)),a.kname, ?param2 ,case when ?param2 is null then null else ifnull(b.classno,0)+1 end ,t.rstime ,case when date_format(a.retime,'%Y-%m-%d')='2099-12-31' then '2099-12-31 23:59:59' else date_format(t.retime,'%Y-%m-%d 23:59:59') end ,case when date_format(a.retime,'%Y-%m-%d')='2099-12-31' then null else t.sstime end ,case when date_format(a.retime,'%Y-%m-%d')='2099-12-31' then null else date_format(t.setime,'%Y-%m-%d 23:59:59') end ,case when date_format(a.retime,'%Y-%m-%d')='2099-12-31' then null else t.gstime end ,case when date_format(a.retime,'%Y-%m-%d')='2099-12-31' then null else date_format(t.getime,'%Y-%m-%d 23:59:59') end ,a.cshape,a.typeman,a.typeedu,a.typegrade,a.typejob, a.typejobItem,infee,outfee,accommofee,quota,introhtml,targethtml,goalhtml,contenthtml,studyplace,studytime ,certcc,certgradecc,jobcc,jobpositiongrade,difficulty,isrefund,1,isseq,a.iscertificate,0,studydays,isaccommodation,daylectinninglimit,now(), ?param3 ,now(), ?param3 , ?param4 from cm a left outer join ( select max(b.classno) classno from cm a inner join cm b on b.ismaster=0 and b.pcmno=case when a.ismaster=1 then a.cmno else a.pcmno end and b.isdel=0 and b.tmno=ifnull( ?param2 ,0) where a.cmno= ?param5 ) b on b.classno is not null left outer join term t on t.tmno= ?param2 where a.cmno= ?param5 ;] +2025-12-11 13:57:02,539 - Statement Id: [cm.cmcopy0.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,539 - Statement Id: [cm.cmcopy.ex0] Prepared SQL: [insert into cmex (cmno,extype,exname,edesc,etime,econdition,evtype,eqtype,israndq,israndqi,qcount,isblur,tpoint,relaylimit,isusebackup,isseq,isresultopen,isreexamable,isdel,cdt,cno,udt,uno,uip) select ?param0 ,extype,exname,edesc,etime,econdition,evtype,eqtype,israndq,israndqi,qcount,isblur,tpoint,relaylimit,isusebackup,isseq,isresultopen,isreexamable,0,now(), ?param1 ,now(), ?param1 , ?param2 from cmex a where a.exno= ?param3 ;] +2025-12-11 13:57:02,539 - Statement Id: [cm.cmcopy.ex0.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,539 - Statement Id: [cm.cmpcin] Prepared SQL: [insert into cm (ismaster,cgno,pcmno,cname,tmno,classno,rstime,retime,sstime,setime,gstime,getime,cshape,infee,outfee,quota,introhtml,targethtml,goalhtml,contenthtml,studyplace,studytime ,certcc,certgradecc,jobcc,jobpositiongrade,difficulty,isrefund,isuse,isseq,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 ,null, ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 ,1,0,0,now(), ?param27 ,now(), ?param27 , ?param28 );] +2025-12-11 13:57:02,539 - Statement Id: [cm.cmpcin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,541 - Statement Id: [cm.ct.in] Prepared SQL: [INSERT INTO ct (cmno,qdiff,cc1,cc2,cc3,cc4,cc5,ctype,ccode,ccodedel,ctname,fgnothumb,fgnotf,tfurl,ismenu,isdel,isuse,isoversize,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,0, ?param14 , ?param15 ,now(), ?param16 ,now(), ?param16 , ?param17 );] +2025-12-11 13:57:02,541 - Statement Id: [cm.ct.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,541 - Statement Id: [cm.pplog.applyedu.in] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into pplog ( userno,cmno,isready,cgcode,cshape,typeman,typeedu,typegrade,typejob,typejobItem,cgno,cmisno,isrebate,rbankname,rbankacc,rbankowner,asname,brno,ceoname,post,address1,address2,btype,bkind,eino,mname ,mphone,taxemail,userpno,mobile,email,upost,uaddress1,uaddress2,isassignuser,uduty,slevel,isaccommodation,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,HEX(AES_ENCRYPT( ?param14 , 'np123@!')) , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 ,HEX(AES_ENCRYPT( ?param26 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param27 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param28 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param29 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param30 , 'np123@!')) , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 , ?param37 ,now(), ?param38 ,now(), ?param38 , ?param39 )] +2025-12-11 13:57:02,541 - Statement Id: [cm.pplog.applyedu.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,541 - Statement Id: [cm.term.in] Prepared SQL: [insert into term (tyear,tseq,rstime,retime,sstime,setime,gstime,getime,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 ,now(), ?param8 ,now(), ?param8 , ?param9 )] +2025-12-11 13:57:02,541 - Statement Id: [cm.term.up] Prepared SQL: [update term set udt=now(),uno= ?param0 ,uip= ?param1 ,tyear = ?param2 ,tseq = ?param3 ,rstime= ?param4 ,retime= ?param5 ,sstime= ?param6 ,setime= ?param7 ,gstime= ?param8 ,getime= ?param9 where tmno= ?param10] +2025-12-11 13:57:02,541 - Statement Id: [cm.cg.in] Prepared SQL: [insert into cg (pcgno,cgname,cgcode,isuse,iscover,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0,now(), ?param5 ,now(), ?param5 , ?param6 )] +2025-12-11 13:57:02,542 - Statement Id: [cm.cmup] Prepared SQL: [update cm set udt=now(),uno= ?param0 ,uip= ?param1 ,cgno = ?param2 ,pcmno = ?param3 ,cname = ?param4 ,kname = ?param5 ,rstime = ?param6 ,retime = ?param7 ,sstime = ?param8 ,setime = ?param9 ,gstime = ?param10 ,getime = ?param11 ,cshape = ?param12 ,infee = ?param13 ,outfee = ?param14 ,accommofee = ?param15 ,quota = ?param16 ,introhtml = ?param17 ,targethtml = ?param18 ,goalhtml = ?param19 ,contenthtml = ?param20 ,studyplace = ?param21 ,studytime = ?param22 ,certcc = ?param23 ,certgradecc = ?param24 ,jobcc = ?param25 ,jobpositiongrade = ?param26 ,difficulty = ?param27 ,isrefund = ?param28 ,isuse = ?param29 ,fgnocm = ?param30 ,typeman = ?param31 ,typeedu = ?param32 ,typegrade = ?param33 ,typejob = ?param34 ,typejobitem = ?param35 ,iscertificate = ?param36 ,ischkatt = ?param37 ,studydays = ?param38 ,isaccommodation = ?param39 where cmno= ?param40] +2025-12-11 13:57:02,542 - Statement Id: [cm.cminning.profclear] Prepared SQL: [update cminning a inner join ( select a.cmino from cminning a left outer join cmprof b on b.cmno=a.cmno and a.userno=b.userno where a.cmno= ?param0 and b.userno is null ) b on b.cmino=a.cmino set a.userno=null where a.cmno= ?param0] +2025-12-11 13:57:02,542 - Statement Id: [cm.cminning.del] Prepared SQL: [delete from cminning where cmino = ( select a.cmino from ( select case when count(c.lectno) < 1 then ?param0 else 0 end cmino from (select 1 col1) a left outer join cminning b on b.cmino= ?param0 left outer join lect c on c.cmno=b.cmno) a )] +2025-12-11 13:57:02,542 - Statement Id: [cm.cminning.del2] Prepared SQL: [delete from cminning where cmino = ?param0] +2025-12-11 13:57:02,542 - Statement Id: [cm.cminning.del3] Prepared SQL: [delete from cminning where cmino = ( select a.cmino from ( select case when count(b.cmino) < 1 then ?param0 else 0 end cmino from (select 1 col1) a left outer join cminningscd b on b.cmino= ?param0 ) a )] +2025-12-11 13:57:02,543 - Statement Id: [cm.cminningscd.del] Prepared SQL: [delete from cminningscd where cmisno = ( select a.cmisno from ( select case when count(c.lectno) < 1 then ?param0 else 0 end cmisno from (select 1 col1) a left outer join cminningscd b on b.cmisno= ?param0 left outer join lect c on c.cmisno=b.cmisno and c.status=1 and c.ischanged=0 ) a )] +2025-12-11 13:57:02,543 - Statement Id: [cm.cmseqsave] Prepared SQL: [update cm set isseq= ?param0 ,udt=now(),uno= ?param1 ,uip= ?param2 where cmno= ?param3] +2025-12-11 13:57:02,543 - Statement Id: [cm.bookin] Prepared SQL: [insert into book(bkname,author,publisher,pubdate,fgnothumb,fgno,price,introhtml,contents,isuse,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )] +2025-12-11 13:57:02,543 - Statement Id: [cm.bookup] Prepared SQL: [update book set udt=now(),uno= ?param0 ,uip= ?param1 ,bkname = ?param2 ,author = ?param3 ,publisher = ?param4 ,pubdate = ?param5 ,fgnothumb = ?param6 ,fgno = ?param7 ,price = ?param8 ,introhtml = ?param9 ,contents = ?param10 ,isuse = ?param11 where bkno= ?param12] +2025-12-11 13:57:02,543 - Statement Id: [cm.bookdel] Prepared SQL: [delete from book where not bkno in ( select distinct(a.bkno) from cmbook a ) and bkno = ?param0] +2025-12-11 13:57:02,543 - Statement Id: [cm.cminningscd.up] Prepared SQL: [update cminningscd a set udt=now(),uno= ?param0 ,uip= ?param1 ,cmino= ?param2 ,estart= ?param3 ,eend= ?param4 ,quota= ?param5 ,studyplace= ?param6 ,sseq= ?param7 ,comment= ?param8 where a.cmisno= ?param9] +2025-12-11 13:57:02,544 - Statement Id: [cm.cminnings.up] Prepared SQL: [update cminning a left outer join ( select cmino, cmno from cminning where cmino <> ?param0 and cmno= ?param1 and iseq= ?param2 ) b on b.cmno=a.cmno set udt=now(),uno= ?param3 ,uip= ?param4 ,week = ?param5 ,iseq = ?param2 ,isonline = ?param6 ,ititle = ?param7 ,icontent = ?param8 ,idate= ?param9 ,iday = ?param10 ,ist = ?param11 ,iet = ?param12 ,fgnotf= ?param13 ,ctno = ?param14 ,istaste = ?param15 ,sttime= ?param16 ,atime = ?param17 ,mstime = ?param18 ,metime = ?param19 ,userno = ?param20 ,isscd = ?param21 ,scdtype= ?param22 where a.cmino= ?param0 and b.cmino is null] +2025-12-11 13:57:02,544 - Statement Id: [cm.cminningscd.clear] Prepared SQL: [update cminningscd a set udt=now(),uno= ?param0 ,uip= ?param1 ,quota=99999,studyplace=null where a.cmino = ?param2] +2025-12-11 13:57:02,544 - Statement Id: [cm.cminningscd.up.lect] Prepared SQL: [update lect a left outer join cminningscd b on b.cmisno = a.cmisno set a.edate = date_format(b.eend,'%Y-%m-%d 23:59:59') where a.cmisno = ?param0 ;] +2025-12-11 13:57:02,544 - Statement Id: [cm.cmev.clear] Prepared SQL: [update cmev a set udt=now(),uno= ?param0 ,uip= ?param1 ,isoffabs=null where a.cmno = ?param2] +2025-12-11 13:57:02,544 - Statement Id: [cm.cminnings.istasteclear] Prepared SQL: [update cminning set istaste=0 where cmno= ?param0 and cmino <> ?param1] +2025-12-11 13:57:02,544 - Statement Id: [cm.cmevsave] Prepared SQL: [insert into cmev (cmno,attend,attendcut,attendrfd,attendcutrfd,mid,midcut,midrfd,midcutrfd,final,finalcut,finalrfd,finalcutrfd,subject,subjectcut,subjectrfd,subjectcutrfd,discuss,discusscut,discussrfd,discusscutrfd,etc,etccut,etcrfd,etccutrfd,cut,cutrfd,isoffabs,cdt,cno,udt,uno,uip) select ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 ,now(), ?param28 ,now(), ?param28 , ?param29 from (select 1 col1) a left outer join cmev b on b.cmno= ?param0 where b.cmno is null; update cmev set udt=now(),uno= ?param28 ,uip= ?param29 ,attend = ?param1 ,attendcut = ?param2 ,attendrfd = ?param3 ,attendcutrfd = ?param4 ,mid = ?param5 ,midcut = ?param6 ,midrfd = ?param7 ,midcutrfd = ?param8 ,final = ?param9 ,finalcut = ?param10 ,finalrfd = ?param11 ,finalcutrfd = ?param12 ,subject = ?param13 ,subjectcut = ?param14 ,subjectrfd = ?param15 ,subjectcutrfd = ?param16 ,discuss = ?param17 ,discusscut = ?param18 ,discussrfd = ?param19 ,discusscutrfd = ?param20 ,etc = ?param21 ,etccut = ?param22 ,etcrfd = ?param23 ,etccutrfd = ?param24 ,cut = ?param25 ,cutrfd = ?param26 ,isoffabs = ?param27 where ?param0 > 0 and cmno= ?param0] +2025-12-11 13:57:02,545 - Statement Id: [cm.cmex.savetop] Prepared SQL: [UPDATE cmex SET udt=now(),uno= ?param0 ,uip= ?param1 ,exname= ?param2 ,edesc= ?param3 ,econdition= ?param4 ,isblur= ?param5 ,isusebackup= ?param6 ,isseq= ?param7 ,isreexamable= ?param8 ,isresultopen= ?param9 ,etime= ?param10 where exno= ?param11] +2025-12-11 13:57:02,545 - Statement Id: [cm.cmex.up] Prepared SQL: [update cmex set udt=now(),uno= ?param0 ,uip= ?param1 ,extype = ?param2 ,exname = ?param3 ,edesc = ?param4 ,etime = ?param5 ,econdition = ?param6 ,evtype = ?param7 ,eqtype = ?param8 ,israndq = ?param9 ,israndqi = ?param10 ,qcount = ?param11 ,isblur = ?param12 ,tpoint = ?param13 ,relaylimit = ?param14 ,isusebackup = ?param15 ,isseq = ?param16 ,isreexamable = ?param17 ,isresultopen= ?param18 where exno= ?param19] +2025-12-11 13:57:02,545 - Statement Id: [cm.cmexq.deleteall] Prepared SQL: [delete from cmexq where exno= ?param0] +2025-12-11 13:57:02,545 - Statement Id: [cm.cmexlayer.del] Prepared SQL: [delete from cmexlayer where exno= ?param0] +2025-12-11 13:57:02,545 - Statement Id: [cm.cmex.del] Prepared SQL: [update cmex set isdel=1 where exno= ?param0] +2025-12-11 13:57:02,545 - Statement Id: [cm.cmsd.del] Prepared SQL: [update cmsd set isdel=1 where sdno= ?param0] +2025-12-11 13:57:02,545 - Statement Id: [cm.cmrs.del] Prepared SQL: [update cmrs set isdel=1 where rsno= ?param0] +2025-12-11 13:57:02,546 - Statement Id: [cm.questionitem.del] Prepared SQL: [update question a inner join questionitem b on b.qino= ?param0 and b.qno=a.qno set a.rightcount = a.rightcount - b.isright; update questionitem set udt=now(),uno= ?param1 ,uip= ?param2 ,isdel=1 where qino= ?param0] +2025-12-11 13:57:02,546 - Statement Id: [cm.question.up] Prepared SQL: [UPDATE question SET udt=now(),uno= ?param0 ,uip= ?param1 ,cmno= ?param2 ,qdiff= ?param3 ,cc1= ?param4 ,cc2= ?param5 ,cc3= ?param6 ,cc4= ?param7 ,cc5= ?param8 ,isuse= ?param9 ,dpoint= ?param10 ,qtext= ?param11 ,qtextstring= ?param12 ,qdesc= ?param13 ,rightcount= ?param14 ,ispassspace= ?param15 ,isignorecase= ?param16 where qno= ?param17] +2025-12-11 13:57:02,546 - Statement Id: [cm.question.uptop] Prepared SQL: [UPDATE question SET udt=now(),uno= ?param0 ,uip= ?param1 ,cmno= ?param2 ,isuse= ?param3 ,qtext= ?param4 ,qtextstring= ?param5 ,qdesc= ?param6 ,rightcount= ?param7 where qno= ?param8] +2025-12-11 13:57:02,547 - Statement Id: [cm.questionitem.up] Prepared SQL: [UPDATE questionitem SET udt=now(),uno= ?param0 ,uip= ?param1 ,fgno= ?param2 ,isright= ?param3 ,qitext= ?param4 where qino= ?param5] +2025-12-11 13:57:02,547 - Statement Id: [cm.cmsd.up] Prepared SQL: [update cmsd set udt=now(),uno= ?param0 ,uip= ?param1 ,sdtype = ?param2 ,sdname = ?param3 ,sddesc = ?param4 ,tpoint = ?param5 ,sdcondition = ?param6 ,fgno = ?param7 where sdno= ?param8] +2025-12-11 13:57:02,547 - Statement Id: [cm.cmsd.uplock] Prepared SQL: [update cmsd set udt=now(),uno= ?param0 ,uip= ?param1 ,sdname = ?param2 ,sddesc = ?param3 ,tpoint = ?param4 ,sdcondition = ?param5 ,fgno = ?param6 where sdno= ?param7] +2025-12-11 13:57:02,547 - Statement Id: [cm.cmrs.up] Prepared SQL: [update cmrs set udt=now(),uno= ?param0 ,uip= ?param1 ,rstype = ?param2 ,rsname = ?param3 ,rscondition = ?param4 ,rscno = ?param5 ,cmino = ?param6 where rsno= ?param7] +2025-12-11 13:57:02,547 - Statement Id: [cm.cmrs.uplock] Prepared SQL: [update cmrs set udt=now(),uno= ?param0 ,uip= ?param1 ,rsname = ?param2 ,rscondition = ?param3 where rsno= ?param4] +2025-12-11 13:57:02,548 - Statement Id: [cm.cmev.in] Prepared SQL: [insert into cmev (cmno,attend,attendcut,attendrfd,attendcutrfd,mid,midcut,midrfd,midcutrfd,final,finalcut,finalrfd,finalcutrfd,subject,subjectcut,subjectrfd ,subjectcutrfd,discuss,discusscut,discussrfd,discusscutrfd,etc,etccut,etcrfd,etccutrfd,cut,cutrfd,cdt,cno,udt,uno,uip) values ( ?param0 ,100,100,100,100,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0,0,0,0,100,100,now(), ?param1 ,now(), ?param1 , ?param2 )] +2025-12-11 13:57:02,548 - Statement Id: [cm.cmmenu.in] Prepared SQL: [insert into cmmenu (cmno,isplan,iscontent,isev,isrs,isgrade,cdt,cno,udt,uno,uip) values( ?param0 ,1,1,1,1,1,now(), ?param1 ,now(), ?param1 , ?param2 ); insert into cmmenubm (cmno,bmno,cdt,cno,udt,uno,uip) select ?param0 ,a.bmno,now(), ?param1 ,now(), ?param1 , ?param2 from boardmaster a where a.bmposition=1 and a.isopen=1 and a.isdefault=1] +2025-12-11 13:57:02,550 - Statement Id: [cm.cmcopy] Prepared SQL: [create temporary table if not exists temp_cminning_mapping ( old_cmino bigint, new_cmino bigint ); insert into cminning(cmno, week, iseq, isonline, ititle, icontent, iday, idate, ist, iet, ctno, istaste, sttime, atime, mstime, metime, userno, isscd, scdtype, cdt,cno,udt,uno,uip) select ?param0 , week, iseq, isonline, ititle, icontent, iday, idate, ist, iet, ctno, istaste, sttime, atime, mstime, metime, userno, isscd, scdtype, now(), ?param1 ,now(), ?param1 , ?param2 from cminning where cmno = ?param3 ; insert into temp_cminning_mapping(old_cmino, new_cmino) select old_cmino, new_cmino from ( select a.cmino as old_cmino, b.cmino as new_cmino from cminning a inner join cminning b on a.cmno = ?param3 and b.cmno = ?param0 and a.week = b.week and a.iseq = b.iseq ) t; insert into cmrs(cmno, rscno, rstype, rsname, rscondition, isdel, cmino, cdt,cno,udt,uno,uip) select ?param0 , rscno, rstype, rsname, rscondition, 0, t.new_cmino, now(), ?param1 ,now(), ?param1 , ?param2 from cmrs a inner join temp_cminning_mapping t on a.cmino = t.old_cmino where a.cmno = ?param3 and a.isdel = 0; insert into cmprof(cmno, userno, pfee, cdt,cno,udt,uno,uip) select ?param0 , userno, 0, now(), ?param1 ,now(), ?param1 , ?param2 from cmprof where cmno = ?param3 ; insert into cmbook(cmno, bkno, cdt,cno,udt,uno,uip) select ?param0 , bkno, now(), ?param1 ,now(), ?param1 , ?param2 from cmbook where cmno = ?param3 ; insert into cmrelay(cmno, rcmno, ispre, cdt,cno,udt,uno,uip) select ?param0 , rcmno, ispre, now(), ?param1 ,now(), ?param1 , ?param2 from cmrelay where cmno = ?param3 ; insert into cmncsd(cmno, ndno, cdt,cno,udt,uno,uip) select ?param0 , ndno, now(), ?param1 ,now(), ?param1 , ?param2 from cmncsd where cmno = ?param3 ; insert into cminningscd(cmino, estart, eend, quota, studyplace, sseq, cdt,cno,udt,uno,uip) select t.new_cmino, estart, eend, quota, studyplace, sseq, now(), ?param1 ,now(), ?param1 , ?param2 from cminningscd a inner join temp_cminning_mapping t on a.cmino = t.old_cmino where a.cmino in (select old_cmino from temp_cminning_mapping); insert into cmev(cmno, attend, attendcut, attendrfd, attendcutrfd, mid, midcut, midrfd, midcutrfd, final, finalcut, finalrfd, finalcutrfd, subject, subjectcut, subjectrfd, subjectcutrfd, discuss, discusscut, discussrfd, discusscutrfd, etc, etccut, etcrfd, etccutrfd, cut, cutrfd, isoffabs, cdt,cno,udt,uno,uip) select ?param0 , attend, attendcut, attendrfd, attendcutrfd, mid, midcut, midrfd, midcutrfd, final, finalcut, finalrfd, finalcutrfd, subject, subjectcut, subjectrfd, subjectcutrfd, discuss, discusscut, discussrfd, discusscutrfd, etc, etccut, etcrfd, etccutrfd, cut, cutrfd, isoffabs, now(), ?param1 ,now(), ?param1 , ?param2 from cmev where cmno = ?param3 ; insert into cmsd(sdtype, cmno, sdname, sddesc, tpoint, sdcondition, fgno, isdel, orgsdno, cdt,cno,udt,uno,uip) select sdtype, ?param0 , sdname, sddesc, tpoint, sdcondition, null, 0, sdno, now(), ?param1 ,now(), ?param1 , ?param2 from cmsd where cmno = ?param3 and isdel = 0; insert into cmmenu(cmno, isplan, iscontent, isev, isrs, isgrade, cdt,cno,udt,uno,uip) select ?param0 , isplan, iscontent, isev, isrs, isgrade, now(), ?param1 ,now(), ?param1 , ?param2 from cmmenu where cmno = ?param3 ; insert into cmmenubm(cmno, bmno, cdt,cno,udt,uno,uip) select ?param0 , bmno, now(), ?param1 ,now(), ?param1 , ?param2 from cmmenubm where cmno = ?param3 ; drop temporary table if exists temp_cminning_mapping;] +2025-12-11 13:57:02,551 - Statement Id: [cm.cmcopy.ex] Prepared SQL: [insert into cmexlayer(exno,qdiff,cc1,cc2,cc3,cc4,cc5,qcount,rpoint,cdt,cno,udt,uno,uip) select ?param0 ,qdiff,cc1,cc2,cc3,cc4,cc5,qcount,rpoint,now(), ?param1 ,now(), ?param1 , ?param2 from cmexlayer a where a.exno= ?param3 ; insert into cmexq(exno,qseq,qno,rpoint,cdt,cno,udt,uno,uip) select ?param0 ,qseq,qno,rpoint,now(), ?param1 ,now(), ?param1 , ?param2 from cmexq a where a.exno= ?param3 ;] +2025-12-11 13:57:02,551 - Statement Id: [cm.cmsd.fgnoup] Prepared SQL: [update cmsd set fgno= ?param0 where cmno= ?param1 and orgsdno= ?param2] +2025-12-11 13:57:02,551 - Statement Id: [cm.cminning.fgnoup] Prepared SQL: [update cminning set fgnotf= ?param0 where cmno= ?param1 and orgcmino= ?param2] +2025-12-11 13:57:02,551 - Statement Id: [cm.cm.fgnocmup] Prepared SQL: [update cm set fgnocm= ?param0 where cmno= ?param1] +2025-12-11 13:57:02,551 - Statement Id: [cm.cmpcup] Prepared SQL: [update cm set udt=now(),uno= ?param0 ,uip= ?param1 ,cgno = ?param2 ,cname = ?param3 ,sstime = ?param4 ,setime = ?param5 ,introhtml = ?param6 where cmno= ?param7] +2025-12-11 13:57:02,551 - Statement Id: [cm.ctpdel] Prepared SQL: [update ctpage a inner join ( select a.ctno,count(b.cmino) dcnt from ct a left outer join cminning b on b.ctno=a.ctno where a.ctno= ?param0 group by a.ctno ) b on b.ctno=a.ctno and b.dcnt = 0 set a.isdel=1,udt=now(),uno= ?param1 ,uip= ?param2 where a.cpno= ?param3] +2025-12-11 13:57:02,551 - Statement Id: [cm.ct.del] Prepared SQL: [update ct a inner join ( select a.ctno,count(b.cmino) dcnt from ct a left outer join cminning b on b.ctno=a.ctno where a.ctno= ?param0 group by a.ctno ) b on b.ctno=a.ctno and b.dcnt=0 set udt=now(),uno= ?param1 ,uip= ?param2 ,a.ccode=null,a.isdel=1 where b.dcnt=0 and a.ctno= ?param0] +2025-12-11 13:57:02,552 - Statement Id: [cm.cminning.fgno] Prepared SQL: [update cminning set fgno= ?param0 where cmino= ?param1] +2025-12-11 13:57:02,552 - Statement Id: [cm.cminning.fgnooff] Prepared SQL: [update cminning set fgnooff= ?param0 where cmino= ?param1] +2025-12-11 13:57:02,552 - Statement Id: [cm.lectcmisno.up] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,cmisno =case when ?param2 is not null then ?param2 else cmisno end where lectno= ?param3 ; update pplog a left outer join ( select a.lectno,a.payno,b.pplno,a.cmisno from lect a inner join pay b on b.payno = a.payno where a.lectno = ?param3 ) b on b.pplno = a.pplno set a.cmisno = case when b.cmisno is not null then b.cmisno else a.cmisno end where b.lectno = ?param3 ; update lect a left outer join cminningscd b on b.cmisno = a.cmisno left outer join cm c on a.cmno = c.cmno set a.edate = case when b.eend is not null then date_format(b.eend,'%Y-%m-%d 23:59:59') else a.edate end ,a.sdate = (case when b.estart is not null then date_format(b.estart,'%Y-%m-%d 00:00:00') else a.sdate end) where a.lectno = ?param3 and c.cshape = 1; update lect a left outer join cminningscd b on b.cmisno = a.cmisno left outer join cm c on a.cmno = c.cmno set a.edate = case when b.eend is not null then date_format(b.eend,'%Y-%m-%d 23:59:59') else a.edate end where a.lectno = ?param3 and c.cshape <> 1;] +2025-12-11 13:57:02,597 - Statement Id: [lect.cmforchange] Prepared SQL: [select b.cmno,b.cname,b.classno,b.cshape ,t.tyear,t.tseq from cm a inner join cm b on b.ismaster=0 and b.pcmno=a.pcmno and b.cmno <> ?param0 and b.setime is not null and b.setime > now() and b.isuse=1 and b.isdel=0 inner join term t on t.tmno=b.tmno left outer join lect c on c.cmno=b.cmno and c.status in (1,3,4) and c.ischanged=0 where a.cmno= ?param0 group by b.cmno,b.cname,b.classno,b.quota,b.cshape ,t.tyear,t.tseq having b.quota = 0 or b.quota > count(c.lectno) order by b.cname,b.classno,b.setime] +2025-12-11 13:57:02,597 - Statement Id: [lect.scdlects] Prepared SQL: [select a.scdno,a.dday,a.dtime,a.istalk,a.isemail,a.issms,a.isuse from scdlect a order by a.scdno] +2025-12-11 13:57:02,599 - Statement Id: [lect.encourages] Prepared SQL: [insert into alarms (userno,atime,scdno,cmexno,dday,isdel,cdt,cno,udt,uno,uip) select a.userno,now(),a.scdno,a.cmexno,a.dday,0,now(), ?param0 ,now(), ?param0 , ?param1 from ( select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.attrate < 80 and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 where a.scdno < 3 and a.isuse=1 and a.dtime= ?param2 union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmex e on e.cmno=c.cmno and e.extype=case when a.scdno=3 then 0 else 1 end and e.isdel=0 left outer join lectex f on f.lectno=c.lectno and f.exno=e.exno where a.scdno > 2 and a.scdno < 5 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmsd e on e.cmno=c.cmno and e.sdtype=0 and e.isdel=0 left outer join lectsd f on f.lectno=c.lectno and f.sdno=e.sdno where a.scdno=5 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmsd e on e.cmno=c.cmno and e.sdtype=1 and e.isdel=0 left outer join lectsd f on f.lectno=c.lectno and f.sdno=e.sdno where a.scdno=6 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmrs e on e.cmno=c.cmno and e.rstype=0 and e.isdel=0 left outer join lectrs f on f.lectno=c.lectno and f.rsno=e.rsno where a.scdno=7 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,c.sdate stime ,c.edate etime,e.cname studyplace,b.studytime days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char),CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) from scdlect a inner join cm b on b.ismaster=0 and b.cshape =1 and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.sdate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 left outer join comcode e on e.ccode = b.studyplace where a.scdno=8 and a.isuse=1 and a.dtime= ?param2 union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.exno cmexno,b.exname cname,b.estime stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char),CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) from scdlect a inner join exam b on date_format(b.estime,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') and b.isopen=1 inner join examuser c on c.exno=b.exno and c.status=1 and c.pstatus=1 inner join users d on d.userno=c.userno and d.status=1 where a.scdno=9 and a.isuse=1 and a.dtime= ?param2 ) a; select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.attrate < 80 and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 where a.scdno < 3 and a.isuse=1 and a.dtime= ?param2 union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmex e on e.cmno=c.cmno and e.extype=case when a.scdno=3 then 0 else 1 end and e.isdel=0 left outer join lectex f on f.lectno=c.lectno and f.exno=e.exno where a.scdno > 2 and a.scdno < 5 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmsd e on e.cmno=c.cmno and e.sdtype=0 and e.isdel=0 left outer join lectsd f on f.lectno=c.lectno and f.sdno=e.sdno where a.scdno=5 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmsd e on e.cmno=c.cmno and e.sdtype=1 and e.isdel=0 left outer join lectsd f on f.lectno=c.lectno and f.sdno=e.sdno where a.scdno=6 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmrs e on e.cmno=c.cmno and e.rstype=0 and e.isdel=0 left outer join lectrs f on f.lectno=c.lectno and f.rsno=e.rsno where a.scdno=7 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,c.sdate stime ,c.edate etime,e.cname studyplace,b.studytime days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char),CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) from scdlect a inner join cm b on b.ismaster=0 and b.cshape =1 and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.sdate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 left outer join comcode e on e.ccode = b.studyplace where a.scdno=8 and a.isuse=1 and a.dtime= ?param2 union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.exno cmexno,b.exname cname,b.estime stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char),CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) from scdlect a inner join exam b on date_format(b.estime,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') and b.isopen=1 inner join examuser c on c.exno=b.exno and c.status=1 and c.pstatus=1 inner join users d on d.userno=c.userno and d.status=1 where a.scdno=9 and a.isuse=1 and a.dtime= ?param2] +2025-12-11 13:57:02,599 - Statement Id: [lect.cmrs] Prepared SQL: [select a.rsno,a.rstype,a2.rscno,a2.rscname,b.cshape,b.cname,b.classno,b.rstime,b.retime,b.sstime,b.setime ,c.tyear,c.tseq ,count(distinct d.lectno) countlect,count(distinct e.lectno) countok ,g.username as teachername from cmrs a inner join rsc a2 on a2.rscno=a.rscno inner join cm b on b.cmno=a.cmno inner join term c on c.tmno=b.tmno inner join lect d on d.cmno=b.cmno and d.status=1 and d.ischanged=0 left outer join lectrs e on e.lectno=d.lectno and e.rsno=a.rsno left outer join cminning f on a.cmino = f.cmino left outer join users g on g.userno = f.userno where a.rsno= ?param0 group by a.rsno,a.rstype,a2.rscno,a2.rscname,b.cshape,b.cname,b.classno,b.rstime,b.retime,b.sstime,b.setime,c.tyear,c.tseq] +2025-12-11 13:57:02,600 - Statement Id: [lect.cmrscqs] Prepared SQL: [select a.rsno ,b.rscqno ,c.qno,c.qtext,c.atype ,d.qino,d.qitext ,sum(case when concat(',',e.atext,',') like concat('%,',d.qino,',%') then 1 else 0 end) scount ,count(e.atext) acount ,group_concat(e.atext order by e.cdt separator '
    ') atext from cmrs a inner join rscq b on b.rscno=a.rscno inner join question c on c.qno=b.qno left outer join questionitem d on d.qno=c.qno and d.isdel=0 left outer join lectrs e on e.rsno=a.rsno and e.rscqno=b.rscqno where a.rsno= ?param0 group by a.rsno ,b.rscqno ,c.qno,c.qtext,c.atype ,d.qino,d.qitext order by b.dseq,b.qno,d.qino] +2025-12-11 13:57:02,600 - Statement Id: [lect.rscq] Prepared SQL: [select a.rscqno,a.qno,q.atype,qi.qino,row_number() over(partition by qi.qno order by qi.qino) rno from rscq a inner join question q on q.qno=a.qno left outer join questionitem qi on qi.qno=q.qno and qi.isdel=0 where a.rscno= ?param0 order by a.dseq] +2025-12-11 13:57:02,600 - Statement Id: [lect.lectrss] Prepared SQL: [select a.rsno,b.lectno,c.rscno,c.rscqno,u.username,u.userid,uc.cname ccpositionname,b.isrebate,c.cdt,c.atext from cmrs a inner join lect b on b.cmno=a.cmno and b.status=1 and b.ischanged=0 inner join users u on u.userno=b.userno left outer join assign ua on ua.asno=u.asno left outer join comcode uc on uc.ccode=u.ccposition inner join lectrs c on c.lectno=b.lectno and c.rsno=a.rsno inner join rscq rq on rq.rscqno=c.rscqno inner join question q on q.qno=rq.qno where a.rsno= ?param0 order by u.username,u.userno,rq.dseq,rq.rscqno] +2025-12-11 13:57:02,601 - Statement Id: [lect.attoffs] Prepared SQL: [select c.tyear,c.tseq ,a.cmno,a.cname,a.classno ,b.cmino,b.week,b.iseq,b.ititle,b.idate,b.ist,b.iet ,d.username from cm a inner join cminning b on b.cmno=a.cmno and b.isonline=0 and b.idate= ?param0 inner join term c on c.tmno=a.tmno left outer join users d on d.userno=b.userno where a.ismaster=0 and a.sstime <= ?param0 and a.setime >= ?param0 and a.isuse=1 and a.isdel=0 order by b.iet,a.cname] +2025-12-11 13:57:02,601 - Statement Id: [lect.cminning] Prepared SQL: [select c.tyear,c.tseq ,b.cshape,b.cname,b.classno ,a.cmino,a.ititle,a.idate,a.ist,a.iet from cminning a inner join cm b on b.cmno=a.cmno inner join term c on c.tmno=b.tmno where a.cmino= ?param0] +2025-12-11 13:57:02,601 - Statement Id: [lect.lectinnings.foratt] Prepared SQL: [select a.cmino,b.lectno,c.userno ,ca.asname,c.username,c.userid,d.stime,d.etime,d.istatus ,row_number() over(order by d.udt desc,c.username) rno ,count(a.cdt) over() pagetotalcount from cminning a inner join lect b on b.cmno=a.cmno and b.status=1 and b.ischanged=0 inner join users c on c.userno=b.userno and c.status=1 left outer join assign ca on ca.asno=c.asno left outer join lectinning d on d.lectno=b.lectno and d.cmino=a.cmino where a.cmino= ?param0 order by rno] +2025-12-11 13:57:02,605 - Statement Id: [lect.pagelogs_page] Prepared SQL: [select a.cdt,a.uip,b.pagename,a.loginfo from menupage b inner join ( select cdt, uip, loginfo, pno from pagelog a where a.userno= ?param0 and a.logsite= ?param1 and a.cdt between ?param2 and ?param3 ) a on b.pno=a.pno] +2025-12-11 13:57:02,608 - Statement Id: [lect.reexam.log] Prepared SQL: [select a.* from ( select a.estart,eend,eip ,row_number() over(order by a.cdt desc) rno ,count(a.cno) over() pagetotalcount from lectexrelog a where a.lectno= ?param0 and a.exno= ?param1 ) a order by a.rno] +2025-12-11 13:57:02,611 - Statement Id: [lect.lectexq] Prepared SQL: [select a.lectno,a.exno,a.eqno,a.atext,a.qinos,a.cpoint,a.dpoint,a.iscorrect,a.qseq ,c.qno,c.atype,c.qtext from lectexq a inner join cmexq b on b.eqno=a.eqno inner join question c on c.qno=b.qno where a.lectno= ?param0 and a.exno= ?param1 order by a.qseq] +2025-12-11 13:57:02,613 - Statement Id: [lect.lectsdfiles] Prepared SQL: [select d.orgname,d.fileurl,c.userno,c.userid,c.username from lectsd a inner join lect b on b.lectno=a.lectno and b.status=1 and b.ischanged=0 inner join users c on c.userno=b.userno inner join fileinfo d on d.fgno=a.fgno and d.isdel=0 where a.sdno= ?param0] +2025-12-11 13:57:02,613 - Statement Id: [lect.lectdiscuss] Prepared SQL: [select a.sdno,a.tpoint sdtpoint ,b.lectno,b.cpoint,b.feedb,b.submittime,b.checktime ,c.userno,c.username,c.userid ,d.asname from cmsd a inner join lect b2 on b2.lectno= ?param0 inner join users c on c.userno=b2.userno left outer join assign d on d.asno=c.asno left outer join lectsd b on b.lectno=b2.lectno and b.sdno=a.sdno where a.sdno= ?param1] +2025-12-11 13:57:02,615 - Statement Id: [lect.mydata] Prepared SQL: [select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,a.intval9 ,a.longval,a.longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,a.time3,a.time4 ,a.time5,a.time6 ,a.rno ,a.iscomplete ,a.studytime ,a.studyplacename studyplacename, a.studyplace ,a.cshape from( select 1 dtype ,d.tyear intval,d.tseq intval2,c.cshape intval3,a.pstatus intval4,case when e.rfdno is null then 0 else 1 end intval5,a.isrebate intval6,a.itemno intval7 ,case when (case when l.sdate is null then c.sstime else l.sdate end) < now() and (case when l.edate is null then c.setime else l.edate end) > now() then 1 else 0 end intval8 ,c.studydays intval9 ,l.lectno longval,a.payno longval2 ,c.cname strval,null strval2,null strval3 ,c.rstime time,c.retime time2 ,b.cdt time3,f.estart time4 ,CASE WHEN l.sdate IS NULL then (case when c.cshape ='1' then f.estart else l.cdt end) ELSE l.sdate end AS time5 ,case when l.edate is null then f.eend else l.edate end time6 ,case when b.pstatus = 1 then 99 else b.pstatus end as sortpstatus ,row_number() over(order by sortpstatus, c.retime, b.payno,a.pino) rno ,l.iscomplete ,c.studytime, cc.cname studyplacename, cmis.studyplace, l.cdt ,c.cshape from payitem a inner join pay b on b.payno=a.payno and b.pstatus in (21,22,51,55) and b.rstatus < 2 inner join cm c on c.cmno=a.itemno and c.rstime < now() and c.retime > now() inner join lect l on l.cmno=c.cmno and (l.status < 5 or l.status = 6) and l.ischanged=0 and l.userno=b.userno inner join term d on d.tmno=c.tmno left outer join payrfd e on e.payno=a.payno and e.payno=a.payno and e.rstatus=0 left outer join cminningscd f on f.cmisno = l.cmisno LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = l.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.ptype in (0,1,4) and a.userno= ?param0 and a.pstatus in (21,22,51,55) and a.rstatus=0 and 1 = case when c.retime = '2099-12-31 23:59:59' and l.stime is not null then 0 else 1 end order by sortpstatus,l.cdt desc, c.retime desc, b.payno,a.pino ) a union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,a.time3,a.time4 ,a.time5,a.time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 2 dtype ,c.tyear intval,c.tseq intval2,b.cshape intval3,0 intval4,0 intval5,a.isrebate intval6,a.cmno intval7,0 intval8 ,a.lectno longval,0 longval2 ,b.cname strval,null strval2,null strval3 ,case WHEN a.sdate IS NULL then (case when b.cshape ='1' then d.estart else a.cdt end) ELSE a.sdate end AS time ,case when a.edate is null then d.eend else a.edate end time2 ,d.estart time3,d.eend time4 ,e.cdt time5,null time6 ,row_number() over(order by b.setime desc) rno ,case when d.eend is not null then d.eend else a.edate end as sortedate ,a.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from lect a inner join pay e on e.payno = a.payno inner join cm b on b.cmno=a.cmno inner join term c on c.tmno=b.tmno left outer join cminningscd d on a.cmisno = d.cmisno LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.status=1 and a.ischanged=0 and (case when a.sdate is null then b.setime else a.edate end) >= now() order by case when time2 > now() then 1 else 0 end asc ,sortedate asc, time2 asc ) a union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 3 dtype ,1 intval,c.iseq intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,a.lectno longval ,b.cname strval,null strval2,null strval3 ,case when a.sdate is null then b.sstime else a.sdate end as time ,case when a.edate is null then b.setime else a.edate end as time2 ,row_number() over(partition by a.cmno order by c.iseq) rno2 ,row_number() over(order by b.setime) rno ,a.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from lect a inner join cm b on b.cmno=a.cmno inner join cminning c on c.cmno=b.cmno and c.isonline=1 and c.isscd = 0 left outer join lectinning d on d.lectno=a.lectno and d.cmino=c.cmino and d.istatus=2 LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.status=1 and a.ischanged=0 and d.lectno is null and a.sdate < now() and a.edate > now() ) a where a.rno2=1 union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 3 dtype ,2 intval,c.iseq intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,a.lectno longval ,b.cname strval,bc.cname strval2,concat(date_format(c.idate,'%m/%d'),' ',left(c.ist,2),':',right(c.ist,2),' ~ ',left(c.iet,2),':',right(c.iet,2)) strval3 ,case when a.sdate is null then b.sstime else a.sdate end as time ,case when a.edate is null then b.setime else a.edate end as time2 ,row_number() over(partition by a.cmno order by c.iseq) rno2 ,row_number() over(order by b.setime) rno ,a.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from lect a inner join cm b on b.cmno=a.cmno left outer join comcode bc on bc.ccode=b.studyplace inner join cminning c on c.cmno=b.cmno and c.isonline=0 and c.isscd = 0 LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.status=1 and a.ischanged=0 and a.sdate < now() and a.edate > now() ) a where a.rno2=1 union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 3 dtype ,3 intval,0 intval2,b.classno intval3,c.extype intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,a.lectno longval ,b.cname strval,bc.cname strval2,null strval3 ,case when a.sdate is null then b.sstime else a.sdate end as time ,case when a.edate is null then b.setime else a.edate end as time2 ,row_number() over(partition by a.cmno order by c.extype,c.cdt) rno2 ,row_number() over(order by b.setime) rno ,a.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from lect a inner join cm b on b.cmno=a.cmno left outer join comcode bc on bc.ccode=b.studyplace inner join cmex c on c.cmno=b.cmno and c.isdel=0 and c.econdition <= a.attrate LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' left outer join lectex d on d.lectno=a.lectno and d.exno=c.exno and d.eend is not null where a.userno= ?param0 and a.status=1 and a.ischanged=0 and d.lectno is null and a.sdate < now() and a.edate > now() ) a where a.rno2=1 union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 3 dtype ,4 intval,0 intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,a.lectno longval ,b.cname strval,bc.cname strval2,null strval3 ,case when a.sdate is null then b.sstime else a.sdate end as time ,case when a.edate is null then b.setime else a.edate end as time2 ,row_number() over(partition by a.cmno order by c.cdt) rno2 ,row_number() over(order by b.setime) rno ,a.iscomplete ,b.studytime, cc.cname as studyplacename, cmis.studyplace ,b.cshape from lect a inner join cm b on b.cmno=a.cmno left outer join comcode bc on bc.ccode=b.studyplace inner join cmsd c on c.sdtype=0 and c.cmno=b.cmno and c.isdel=0 and c.sdcondition <= a.attrate left outer join lectsd d on d.lectno=a.lectno and d.sdno=c.sdno and d.submittime is not null LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.status=1 and a.ischanged=0 and d.lectno is null and a.sdate < now() and a.edate > now() ) a where a.rno2=1 union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 3 dtype ,5 intval,0 intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,a.lectno longval ,b.cname strval,bc.cname strval2,null strval3 ,case when a.sdate is null then b.sstime else a.sdate end as time ,case when a.edate is null then b.setime else a.edate end as time2 ,row_number() over(partition by a.cmno order by c.cdt) rno2 ,row_number() over(order by b.setime) rno ,a.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from lect a inner join cm b on b.cmno=a.cmno left outer join comcode bc on bc.ccode=b.studyplace inner join cmsd c on c.sdtype=1 and c.cmno=b.cmno and c.isdel=0 and c.sdcondition <= a.attrate left outer join lectsdboard d on d.lectno=a.lectno and d.sdno=c.sdno and d.isdel=0 LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.status=1 and a.ischanged=0 and d.lectno is null and a.sdate < now() and a.edate > now() ) a where a.rno2=1 union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,a.longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 4 dtype ,a.scdno intval,a.dday intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,b.cmno intval7,0 intval8 ,c.lectno longval,a.alno longval2 ,b.cname strval,null strval2,null strval3 ,a.atime time,c.edate time2 ,row_number() over(order by a.atime desc) rno ,c.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from alarms a inner join cm b on b.cmno=a.cmexno inner join lect c on c.cmno=b.cmno and c.userno=a.userno and c.status=1 and c.ischanged=0 LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = c.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.scdno < 9 and a.isdel=0 order by a.atime desc limit 5 ) a] +2025-12-11 13:57:02,619 - Statement Id: [lect.myexamrenews] Prepared SQL: [select a.exno,a.userno,a.certtime,a.certdate,a.certindate,a.renewreason,a.isfirst,a.certidx ,b.username cnoname from examuserrenew a left outer join users b on b.userno=a.cno where a.exno= ?param0 and a.userno= ?param1 order by a.certdate desc] +2025-12-11 13:57:02,619 - Statement Id: [lect.myexamrenewlects] Prepared SQL: [select a.*,b.cmno,b.oktime,b.iscomplete from ( select distinct(c.cmno),c.cname,c.cshape from examuser a inner join exam b on b.exno=a.exno inner join cm c on c.certcc=b.certcc and c.certgradecc=b.certgradecc and c.isdel=0 and c.isuse=1 inner join cg d on d.cgno = c.cgno and d.isuse=1 and d.isdel=0 and d.iscover=1 where a.exno= ?param0 and a.userno= ?param1 )a inner join lect b on b.cmno=a.cmno where b.status=1 and b.iscomplete=1 and b.ischanged=0 and b.userno= ?param1 group by a.cmno,a.cname,a.cshape,b.oktime,b.iscomplete limit 3] +2025-12-11 13:57:02,619 - Statement Id: [lect.myalarm] Prepared SQL: [select 4 dtype,a.scdno intval,a.dday intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,b.cmno intval7 ,c.lectno longval,a.alno longval2 ,b.cname strval,null strval2,null strval3 ,a.atime time,null time2 from alarms a inner join cm b on b.cmno=a.cmexno inner join lect c on c.cmno=b.cmno and c.userno=a.userno and c.status=1 and c.ischanged=0 where a.userno= ?param0 and date_add(a.atime, interval 3 month) > now() and a.scdno < 9 and a.isdel=0 order by a.atime desc] +2025-12-11 13:57:02,619 - Statement Id: [lect.lectex.result] Prepared SQL: [select a.etime,a.exname,a.tpoint fullpoint,a.isresultopen ,b.estart,b.eend,b.tpoint, b.udt from cmex a inner join lectex b on b.lectno= ?param0 and b.exno=a.exno inner join lect c on c.lectno=b.lectno and c.userno= ?param1 where a.exno= ?param2] +2025-12-11 13:57:02,619 - Statement Id: [lect.lectexq.result] Prepared SQL: [select d.atype,b.cpoint,b.dpoint,d.qtext,b.atext,d.qdesc,b.iscorrect,c.qno,b.eqno,b.qseq from lectex a inner join lect a2 on a2.lectno=a.lectno and a2.userno= ?param0 inner join lectexq b on b.lectno=a.lectno and b.exno=a.exno inner join cmexq c on c.eqno=b.eqno inner join question d on d.qno=c.qno where a.lectno= ?param1 and a.exno= ?param2 order by b.qseq] +2025-12-11 13:57:02,619 - Statement Id: [lect.lectexresult.selectrate] Prepared SQL: [select a.eqno,sum(case when a.atext = b.atext then 1 else 0 end) / count(b.eqno) * 100 selectrate from lectexq a inner join lect a2 on a2.lectno=a.lectno and a2.userno= ?param0 inner join lectexq b on b.exno=a.exno and b.eqno=a.eqno where a.lectno= ?param1 and a.exno= ?param2 group by a.eqno] +2025-12-11 13:57:02,620 - Statement Id: [lect.myrecomm] Prepared SQL: [select c.tyear,c.tseq,a.cmno,b.cshape,b.cname,b.rstime,b.retime,e.cgcode,b.isrefund from ( select a.* from ( select distinct b.ispre idx,c.cmno from lect a inner join cmrelay b on b.cmno=a.cmno inner join cm c on c.ismaster=0 and c.pcmno=b.rcmno and c.rstime < now() and c.retime > now() left outer join lect d on d.userno=a.userno and d.cmno=c.cmno where a.userno= ?param0 and a.status=1 and a.ischanged=0 and d.lectno is null order by b.ispre,c.retime limit 2 ) a union all select a.* from ( select 2 idx,c.cmno from users a inner join comcode b on b.ccode=a.ccposition inner join cm c on c.ismaster=0 and c.rstime < now() and c.retime > now() and c.jobpositiongrade like concat('%',b.refcode,'%') left outer join lect d on d.userno=a.userno and d.cmno=c.cmno where a.userno= ?param0 and d.lectno is null order by c.retime limit 2 ) a ) a inner join cm b on b.cmno=a.cmno inner join term c on c.tmno=b.tmno inner join cg d on d.cgno=b.cgno inner join cg e on e.cgno=d.pcgno order by a.idx,b.retime limit 2] +2025-12-11 13:57:02,620 - Statement Id: [lect.attcert.check] Prepared SQL: [select ifnull(a.isattcheck,0) intval,b.ischkatt intval2,c.ischkatt intval3 ,CAST(AES_DECRYPT(UNHEX(b.mobile), 'np123@!') AS char) strval from lect a inner join users b on b.userno = a.userno inner join cm c on c.cmno = a.cmno where a.lectno = ?param0] +2025-12-11 13:57:02,623 - Statement Id: [lect.lectinning.attcert.check] Prepared SQL: [select ifnull(d.isattcheck,0) intval,b.ischkatt intval2,c.ischkatt intval3 ,CAST(AES_DECRYPT(UNHEX(b.mobile), 'np123@!') AS char) strval ,b.authplatform strval2 from lect a inner join users b on b.userno = a.userno inner join cm c on c.cmno = a.cmno left outer join lectinning d on d.lectno = a.lectno and d.cmino = ?param0 where a.lectno = ?param1 and a.userno = ?param2] +2025-12-11 13:57:02,624 - Statement Id: [lect.lecture.document.past] Prepared SQL: [select no lectno,substr(a.cshape,1,3) cshapename2,a.cgname cname,a.ssdate sstime,a.sedate setime ,case when a.rprice> 0 then 1 else 0 end isrebate from docprintpast a inner join users b on b.userpno= a.userpno where userno = ?param0] +2025-12-11 13:57:02,624 - Statement Id: [lect.lectinning.new] Prepared SQL: [select a.logno longval ,a.lectno intval,a.cmino intval2,max(a.intval+a.intval2) intval3 ,a.strval,a.strval2,a.intval3 intval4 from( select a.logno,a.lectno,a.cmino ,case when b.edate < now() then 0 when b.status <> 1 then 0 else case when a.stime = a.etime then 1 else 0 end end intval ,case when b.edate < now() then 0 when b.status <> 1 then 0 else case when (timestampdiff(second,a.stime,a.etime)%300) = 0 then 1 else 0 end end intval2 ,c.cname strval,d.ititle strval2,d.iseq intval3 from lectinningpage a inner join lect b on b.lectno = a.lectno inner join cm c on c.cmno = b.cmno inner join cminning d on d.cmino = a.cmino where b.userno = ?param0 order by a.cdt desc limit 1 ) a] +2025-12-11 13:57:02,625 - Statement Id: [lect.count.user2] Prepared SQL: [select max(lectCnt) * min(checkNum) from ( select count(t1.lectno) as lectCnt, 1 as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno inner join pay t4 on t1.payno = t4.payno inner join pplog t5 on t1.cmno= t5.cmno and t1.userno = t5.userno and t4.pplno = t5.pplno where (t1.status = 1 or t1.status = 2) and (t4.pstatus= 1 or t4.pstatus=22) and t3.cgcode in (103,104,105) and t5.typegrade = ?param0 and t5.typeedu = ?param1 and t1.userno = ?param2 and t5.typeman = 28 union select 0 as lectCnt, (case when count(t1.lectno) > 0 then -1 else 1 end) as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno where (t1.status = 1 or t1.status = 2) and t2.isdel= 0 and t2.isuse= 1 and t2.ismaster = 0 and t1.userno = ?param2 and t2.pcmno = ?param3 )t] +2025-12-11 13:57:02,625 - Statement Id: [lect.count.user3] Prepared SQL: [select max(lectCnt) * min(checkNum) from ( select count(t1.lectno) as lectCnt, 1 as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno inner join pay t4 on t1.payno = t4.payno inner join pplog t5 on t1.cmno= t5.cmno and t1.userno = t5.userno and t4.pplno = t5.pplno where (t1.status = 1 or t1.status = 2) and (t4.pstatus= 1 or t4.pstatus=22) and t3.cgcode in (103,104) and t5.typeedu = 30 and t1.userno = ?param0 and t5.typeman = 28 union select 0 as lectCnt, (case when count(t1.lectno) > 0 then -1 else 1 end) as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno where (t1.status = 1 or t1.status = 2) and t2.isdel= 0 and t2.isuse= 1 and t2.ismaster = 0 and t1.userno = ?param0 and t2.pcmno = ?param1 )t] +2025-12-11 13:57:02,625 - Statement Id: [lect.count.user4] Prepared SQL: [select count(t1.lectno) from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno where (t1.status = 1 or t1.status = 2) and t2.isdel= 0 and t2.isuse= 1 and t2.ismaster = 0 and t1.userno = ?param0 and t2.pcmno = ?param1] +2025-12-11 13:57:02,625 - Statement Id: [lect.count.user5] Prepared SQL: [select max(lectCnt) * min(checkNum) from ( select count(t1.lectno) as lectCnt, 1 as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno inner join pay t4 on t1.payno = t4.payno inner join pplog t5 on t1.cmno= t5.cmno and t1.userno = t5.userno and t4.pplno = t5.pplno where (t1.status = 1 or t1.status = 2) and (t4.pstatus= 1 or t4.pstatus=22) and t3.cgcode in (103,104) and t5.typeedu = ?param0 and t1.userno = ?param1 and t5.typeman = 28 union select 0 as lectCnt, (case when count(t1.lectno) > 0 then -1 else 1 end) as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno where (t1.status = 1 or t1.status = 2) and t2.isdel= 0 and t2.isuse= 1 and t2.ismaster = 0 and t1.userno = ?param1 and t2.pcmno = ?param2 )t] +2025-12-11 13:57:02,626 - Statement Id: [lect.count.user6] Prepared SQL: [select (max(lectCnt1) + max(lectCnt2)) * min(checkNum) from ( select count(t1.lectno) as lectCnt1, 0 as lectCnt2, 1 as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno inner join pay t4 on t1.payno = t4.payno inner join pplog t5 on t1.cmno= t5.cmno and t1.userno = t5.userno and t4.pplno = t5.pplno where (t1.status = 1 or t1.status = 2) and (t4.pstatus= 1 or t4.pstatus=22) and t3.cgcode in (102,103,104,105) and t5.typeedu = 35 and t1.userno = ?param0 and t5.typeman = 28 and t5.typegrade in (38,39) union select 0 as lectCnt1, count(t1.lectno) as lectCnt2,(case when count(t1.lectno) > 0 then -1 else 1 end) as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno where (t1.status = 1 or t1.status = 2) and t2.isdel= 0 and t2.isuse= 1 and t2.ismaster = 0 and t1.userno = ?param0 and t2.pcmno = ?param1 )t] +2025-12-11 13:57:02,626 - Statement Id: [lect.pplog.get] Prepared SQL: [select l.lectno, l.cmno, l.payno, pp.cshape, cc.cname zstring1, cc2.cname zstring2, cc3.cname zstring3, cc4.cname zstring4, cc5.cname zstring5 from lect l inner join pay p on l.payno = p.payno and l.userno = p.userno inner join pplog pp on p.pplno = pp.pplno left outer join comcode cc on cc.ccode = pp.typeman left outer join comcode cc2 on cc2.ccode = pp.typeedu left outer join comcode cc3 on cc3.ccode = pp.typegrade left outer join comcode cc4 on cc4.ccode = pp.typejob left outer join comcode cc5 on cc5.ccode = pp.typejobitem where l.lectno = ?param0 and l.userno = ?param1] +2025-12-11 13:57:02,626 - Statement Id: [lect.enroll.get] Prepared SQL: [SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; SELECT a.USERNO , b.lectno , b.ISCOMPLETE , b.completeno , c.cmno , c.CNAME , d.PCGNO , e.PAYNO , e.PSTATUS , f.CSHAPE , f.TYPEMAN , f.TYPEEDU , f.TYPEGRADE , f.TYPEJOB , d.CGCODE , d.CGNAME , f.CMISNO FROM users a INNER JOIN lect b ON a.USERNO = b.USERNO INNER JOIN cm c ON b.CMNO = c.CMNO INNER JOIN cg d ON c.cgno = d.cgno INNER JOIN pay e ON b.payno = e.PAYNO INNER JOIN pplog f ON b.USERNO = e.USERNO AND b.CMNO = f.CMNO AND e.PPLNO = f.PPLNO WHERE b.STATUS = 1 AND (e.PSTATUS = 1 OR e.PSTATUS = 22) AND b.USERNO = ?param0 ;] +2025-12-11 13:57:02,627 - Statement Id: [lect.sedate.change] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,sdate = ?param2 ,edate= ?param3 where lectno= ?param4 and status = 1] +2025-12-11 13:57:02,630 - Statement Id: [lect.lectchange] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,ischanged=1 where lectno= ?param2 ; insert into lect (cmno,payno,pino,userno,status,iscomplete,orgcmno,attrate,isrebate,ispc,isjoin,fgno,ischanged,cdt,cno,udt,uno,uip) select ?param3 ,payno,pino,userno,status,null,cmno,0,isrebate,ispc,isjoin,fgno,0,now(), ?param0 ,now(), ?param0 , ?param1 from lect a where a.lectno= ?param2] +2025-12-11 13:57:02,635 - Statement Id: [lect.lectsd.save] Prepared SQL: [update lectsd set udt=now(),uno= ?param0 ,uip= ?param1 ,iscopy= ?param2 ,cpoint= ?param3 ,feedb= ?param4 ,memo= ?param5 ,checktime=case when ?param3 is not null or ?param4 is not null then now() else checktime end ,checkip=case when ?param3 is not null or ?param4 is not null then ?param1 else checkip end ,fgno= ?param6 where lectno= ?param7 and sdno= ?param8 ; insert into lectsd (lectno,sdno,atext,fgno,copyrate,iscopy,cpoint,feedb,memo,submittime,submitip,checktime,checkip,cdt,cno,udt,uno,uip) select ?param7 , ?param8 ,null, ?param6 ,null, ?param2 , ?param3 , ?param4 , ?param5 ,null,null ,case when ?param3 is not null or ?param4 is not null then now() else null end ,case when ?param3 is not null or ?param4 is not null then ?param1 else null end ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join lectsd b on b.lectno= ?param7 and b.sdno= ?param8 where b.lectno is null] +2025-12-11 13:57:02,636 - Statement Id: [lect.lectsd.save2] Prepared SQL: [update lectsd set udt=now(),uno= ?param0 ,uip= ?param1 ,iscopy= ?param2 ,cpoint= ?param3 ,feedb= ?param4 ,memo= ?param5 ,checktime=case when ?param3 is not null or ?param4 is not null then now() else checktime end ,checkip=case when ?param3 is not null or ?param4 is not null then ?param1 else checkip end ,submittime=case when ?param6 = 'T' then now() else submittime end ,submitip=case when ?param6 = 'T' then ?param1 else submitip end ,fgno= ?param7 where lectno= ?param8 and sdno= ?param9 ; insert into lectsd (lectno,sdno,atext,fgno,copyrate,iscopy,cpoint,feedb,memo,submittime,submitip,checktime,checkip,cdt,cno,udt,uno,uip) select ?param8 , ?param9 ,null, ?param7 ,null, ?param2 , ?param3 , ?param4 , ?param5 ,case when ?param6 = 'T' then now() else null end ,case when ?param6 = 'T' then ?param1 else null end ,case when ?param3 is not null or ?param4 is not null then now() else null end ,case when ?param3 is not null or ?param4 is not null then ?param1 else null end ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join lectsd b on b.lectno= ?param8 and b.sdno= ?param9 where b.lectno is null; update lect l inner join ( select l.lectno, round(avg(ifnull(ls.cpoint,0)),1) as avgtpoint, round(((round(avg(ifnull(ls.cpoint,0)),1) * ce.subject / 100) ),1) spoint from lect l inner join cmsd cs on l.cmno = cs.cmno and cs.sdtype = 0 and cs.isdel = 0 left outer join lectsd ls on l.lectno = ls.lectno and cs.sdno = ls.sdno and ls.sdno= ?param9 inner join cmev ce on l.cmno = ce.cmno where l.status = 1 and l.lectno = ?param8 group by l.lectno )t on l.lectno = t.lectno set l.spoint = t.spoint , l.subjectpoint = t.avgtpoint , l.udt = now() , l.uno = ?param0 , l.uip= ?param1 where l.status = 1 and l.lectno = ?param8 ; update lect l inner join ( select l.lectno, round(avg(ifnull(ls.cpoint,0)),1) as avgtpoint, round(((round(avg(ifnull(ls.cpoint,0)),1) * ce.discuss / 100)),1) dpoint from lect l inner join cmsd cs on l.cmno = cs.cmno and cs.sdtype = 1 and cs.isdel = 0 left outer join lectsd ls on l.lectno = ls.lectno and cs.sdno = ls.sdno and ls.sdno= ?param9 inner join cmev ce on l.cmno = ce.cmno where l.status = 1 and l.lectno = ?param8 group by l.lectno )t on l.lectno = t.lectno set l.dpoint = t.dpoint , l.discusspoint = t.avgtpoint , l.udt = now() , l.uno = ?param0 , l.uip= ?param1 where l.status = 1 and l.lectno = ?param8 ;] +2025-12-11 13:57:02,639 - Statement Id: [lect.lectsd2.save] Prepared SQL: [update lectsd set udt=now(),uno= ?param0 ,uip= ?param1 ,cpoint= ?param2 ,feedb= ?param3 ,checktime=case when ?param2 is not null or ?param3 is not null then now() else checktime end ,checkip=case when ?param2 is not null or ?param3 is not null then ?param1 else checkip end where lectno= ?param4 and sdno= ?param5 ; insert into lectsd (lectno,sdno,atext,fgno,copyrate,iscopy,cpoint,feedb,submittime,submitip,checktime,checkip,cdt,cno,udt,uno,uip) select ?param4 , ?param5 ,null,null,null,0, ?param2 , ?param3 ,null,null ,case when ?param2 is not null or ?param3 is not null then now() else null end ,case when ?param2 is not null or ?param3 is not null then ?param1 else null end ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join lectsd b on b.lectno= ?param4 and b.sdno= ?param5 where b.lectno is null] +2025-12-11 13:57:02,641 - Statement Id: [lect.edub2b] Prepared SQL: [insert into edub2b (etype,userno,edate,esubject,etarget,ecount,eplace,ecomment,compname,ceoname,brno,addr,btype,bkind,manname,email,telno,fgno,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,HEX(AES_ENCRYPT( ?param15 , 'np123@!')),HEX(AES_ENCRYPT( ?param16 , 'np123@!')), ?param17 ,now(), ?param18 ,now(), ?param18 , ?param19 )] +2025-12-11 13:57:02,642 - Statement Id: [lect.alarm.del] Prepared SQL: [update alarms set isdel=1 where alno= ?param0 and userno= ?param1] +2025-12-11 13:57:02,642 - Statement Id: [lect.completetime.change] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,completetime= ?param2 where lectno= ?param3 and iscomplete=1;] +2025-12-11 13:57:02,642 - Statement Id: [lect.drop2day] Prepared SQL: [update pay a inner join lect b on b.payno = a.payno and b.cmno = ?param0 and b.ischanged=0 and ifnull(b.isready,0) = 1 and b.status = 4 and DATE_ADD(b.oktime, INTERVAL 2 DAY) < now() set a.pstatus = 52, a.udt = now(), a.uno = ?param1 , a.uip = ?param2 ; update payitem a inner join pay b on b.payno = a.payno and b.pstatus = 52 inner join lect c on c.payno = b.payno and c.cmno = ?param0 and c.ischanged=0 and ifnull(c.isready,0) = 1 and c.status = 4 and DATE_ADD(c.oktime, INTERVAL 2 DAY) < now() set a.pstatus = b.pstatus, a.udt = now(), a.uno = ?param1 , a.uip = ?param2 ; update lect set status = 5, oktime = now(), udt = now(), uno = ?param1 , uip = ?param2 where cmno = ?param0 and ifnull(isready,0) = 1 and ischanged=0 and status = 4 and DATE_ADD(oktime, INTERVAL 2 DAY) < now()] +2025-12-11 13:57:02,643 - Statement Id: [lect.isatt.in] Prepared SQL: [update lect set isattcheck = 1, lakey = ?param0 , latime = now() where lectno = ?param1] +2025-12-11 13:57:02,643 - Statement Id: [lect.lectinning.isatt.in] Prepared SQL: [update lectinning a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 set a.isattcheck = ?param1 ,a.udt=now(),a.uno= ?param2 ,a.uip= ?param3 where a.lectno= ?param4 and a.cmino= ?param5 ; insert into lectinning (lectno,cmino,totstudy,stime,etime,istatus,finishtime,sip,eip,ispcs,ispce,pseq,psec,isattcheck,cdt,cno,udt,uno,uip) select ?param4 ,a.cmino,0,now(),now(),case when a.atime=0 then 2 else 0 end,case when a.atime=0 then now() else null end, ?param3 , ?param3 ,1,null,ctp.pseq,0, ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from cminning a inner join ctpage ctp on ctp.ctno=a.ctno and ctp.isdel=0 and ctp.pseq=1 left outer join lectinning b on b.lectno= ?param4 and b.cmino= ?param5 where a.cmino= ?param5 and b.lectno is null;] +2025-12-11 13:57:02,643 - Statement Id: [lect.cmisno.up] Prepared SQL: [update lect set cmisno = ?param0 where lectno = ?param1 ; update pplog a left outer join ( select a.lectno,a.payno,b.pplno,a.cmisno from lect a inner join pay b on b.payno = a.payno where a.lectno = ?param1 ) b on b.pplno = a.pplno set a.cmisno = b.cmisno where b.lectno = ?param1 ; update lect a left outer join cminningscd b on b.cmisno = a.cmisno left outer join cm c on a.cmno = c.cmno set a.edate = (case when b.eend is not null then date_format(b.eend,'%Y-%m-%d 23:59:59') else a.edate end) ,a.sdate = (case when b.estart is not null then date_format(b.estart,'%Y-%m-%d 00:00:00') else a.sdate end) where a.lectno = ?param1 and c.cshape = 1; update lect a left outer join cminningscd b on b.cmisno = a.cmisno left outer join cm c on a.cmno = c.cmno set a.edate = case when b.eend is not null then date_format(b.eend,'%Y-%m-%d 23:59:59') else a.edate end where a.lectno = ?param1 and c.cshape <> 1;] +2025-12-11 13:57:02,643 - Statement Id: [lect.lectsd.del] Prepared SQL: [update lectsd set udt=now(),uno= ?param0 ,uip= ?param1 ,submittime=null ,submitip=null ,fgno=null where lectno= ?param2 and sdno= ?param3 ;] +2025-12-11 13:57:02,678 - Statement Id: [board.bmos] Prepared SQL: [select a.opno,a.bmno,a.opname,a.isuse,a.dsort ,a.opno value,a.opname text from boardmasteropening a where a.bmno= ?param0 and a.isdel=0 order by a.dsort,a.cdt] +2025-12-11 13:57:02,679 - Statement Id: [board.get] Prepared SQL: [select e.asname ,c.bmno,c.bmname,c.isuseopening,c.isreply,c.disptype,c.bmtype ,f.opname ,b.bno,b.pbno,b.subject,b.istop,b.issecr,b.cdt,d.username cnoname,b.rcount,b.fgno,b.fgnothumb,b.opno,b.contents,b.isopen ,b2.subject psubject ,g.cmno,g.cname,g.classno ,h.tmno,h.tyear,h.tseq ,count(b3.bno) ccount from board b inner join boardmaster c on c.bmno=b.bmno inner join users d on d.userno=b.cno left outer join board b2 on b2.bno=b.pbno and b2.isdel=0 left outer join board b3 on b3.pbno=b.bno and b3.isdel=0 left outer join assign e on e.asno=c.asno left outer join boardmasteropening f on f.opno=b.opno left outer join cm g on g.cmno=b.cmno left outer join term h on h.tmno=g.tmno where b.bno= ?param0 group by e.asname ,c.bmno,c.bmname,c.isuseopening,c.isreply,c.disptype,c.bmtype ,f.opname ,b.bno,b.pbno,b.subject,b.istop,b.issecr,b.cdt,d.username,b.rcount,b.fgno,b.fgnothumb,b.opno,b.contents,b.isopen ,b2.subject ,g.cmno,g.cname,g.classno ,h.tmno,h.tyear,h.tseq] +2025-12-11 13:57:02,679 - Statement Id: [board.boardcmts] Prepared SQL: [select a.bcno,a.bno,a.ctext,a.isdel,a.cdt,a.udt,a.cno ,b.username cnoname,b.usertype from boardcmt a inner join users b on b.userno=a.cno where a.bno= ?param0 and a.isdel=0 order by a.cdt desc] +2025-12-11 13:57:02,680 - Statement Id: [board.bs.forqna] Prepared SQL: [select a.bno,a.pbno,a.subject,a.contents,a.cdt,a.fgno,f.opname,a.cdt,b.usertype,a.rcount from board a inner join users b on b.userno=a.cno left outer join boardmasteropening f on f.opno=a.opno where a.bno= ?param0 and (a.cno= ?param1 or b.usertype in (91,92)) union all select a.bno,a.pbno,a.subject,a.contents,a.cdt,a.fgno,f.opname,a.cdt,b.usertype,a.rcount from board a inner join users b on b.userno=a.cno left outer join boardmasteropening f on f.opno=a.opno where a.pbno= ?param0] +2025-12-11 13:57:02,681 - Statement Id: [board.bm.in] Prepared SQL: [insert into boardmaster (bmcode,bmposition,bmname,bmdesc,bmtype,disptype,isuseopening,isreply,isopen,isdefault,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,0,now(), ?param9 ,now(), ?param9 , ?param10 );] +2025-12-11 13:57:02,681 - Statement Id: [board.bm.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,683 - Statement Id: [board.in] Prepared SQL: [insert into board (pbno,bmno,opno,subject,contents,fgno,fgnothumb,cmno,rcount,rpcount,isdel,istop,issecr,isopen,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 ,0,0,0, ?param8 , ?param9 , ?param10 ,now(), ?param11 ,now(), ?param11 , ?param12 );] +2025-12-11 13:57:02,683 - Statement Id: [board.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,685 - Statement Id: [board.inp] Prepared SQL: [insert into board (pbno,bmno,opno,subject,contents,fgno,fgnothumb,cmno,rcount,rpcount,isdel,istop,issecr,isopen,cdt,cno,udt,uno,uip) select bno,bmno,opno, ?param0 , ?param1 , ?param2 , ?param3 ,cmno,0,0,0,0, ?param4 , ?param5 ,now(), ?param6 ,now(), ?param6 , ?param7 from board where bno= ?param8 ;] +2025-12-11 13:57:02,686 - Statement Id: [board.inp.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,686 - Statement Id: [board.boardcmt.in] Prepared SQL: [update board set rpcount = rpcount+1 where bno= ?param0 ; insert into boardcmt (bno,ctext,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 ,0,now(), ?param2 ,now(), ?param2 , ?param3 );] +2025-12-11 13:57:02,687 - Statement Id: [board.boardcmt.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,687 - Statement Id: [board.bm.up] Prepared SQL: [update boardmaster set udt=now(),uno= ?param0 ,uip= ?param1 ,bmname = ?param2 ,bmdesc = ?param3 ,bmtype =case when isdefault>0 then bmtype else ?param4 end ,disptype =case when isdefault>0 then disptype else ?param5 end ,isuseopening = ?param6 ,isreply = ?param7 ,isopen =case when isdefault>0 then isopen else ?param8 end where bmno= ?param9] +2025-12-11 13:57:02,687 - Statement Id: [board.bd.read] Prepared SQL: [update board set rcount = rcount +1 where bno= ?param0] +2025-12-11 13:57:02,687 - Statement Id: [board.bmassign.save] Prepared SQL: [update boardmaster set udt=now(),uno= ?param0 ,uip= ?param1 ,isopen=1 where bmno in (select bmno from (select bmno from boardmaster where asno= ?param2 and isdefault=3) a); insert into boardmaster (bmcode,bmposition,bmname,bmdesc,bmtype,disptype,isuseopening,isreply,isopen,isdefault,asno,cdt,cno,udt,uno,uip) select concat('assignnotice_', ?param2 ),0,'',null,0,0,0,1,1,3, ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join boardmaster b on b.asno= ?param2 and b.isdefault=3 where b.bmno is null;] +2025-12-11 13:57:02,687 - Statement Id: [board.bmassign.save2] Prepared SQL: [update boardmaster set udt=now(),uno= ?param0 ,uip= ?param1 ,isopen=0 where bmno in (select bmno from (select bmno from boardmaster where asno= ?param2 and isdefault=3) a)] +2025-12-11 13:57:02,688 - Statement Id: [board.up] Prepared SQL: [update board set udt=now(),uno= ?param0 ,uip= ?param1 ,opno =case when pbno is null then ?param2 else opno end ,subject = ?param3 ,contents = ?param4 ,fgno = ?param5 ,fgnothumb = ?param6 ,istop =case when pbno is null then ?param7 else istop end ,issecr = ?param8 ,isopen = ?param9 where bno= ?param10] +2025-12-11 13:57:02,716 - Statement Id: [mm.comcode.insert] Prepared SQL: [update comcode a inner join ( select ccode, ?param0 + row_number() over(order by corder) rno from comcode where cgroup= ?param1 and corder >= ?param0 ) b on b.ccode=a.ccode set a.corder=b.rno where a.cgroup= ?param1 ; insert into comcode (cname, cgroup, cgroupname, isuse, corder,cdt,cno,udt,uno,uip) select ?param2 , ?param1 , a.cgroupname, ?param3 , ?param0 ,now(), ?param4 ,now(), ?param4 , ?param5 from comcode a where a.cgroup= ?param1 limit 1] +2025-12-11 13:57:02,716 - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1] +2025-12-11 13:57:02,717 - Statement Id: [mm.banner.save] Prepared SQL: [update banner set udt=now(),uno= ?param0 ,uip= ?param1 ,btitle= ?param2 ,bdesc= ?param3 ,burl= ?param4 ,ismain=0,bseq= ?param5 ,isopen= ?param6 ,fgno= ?param7 ,fgno2= ?param8 where ?param9 > 0 and bno= ?param9 ; insert into banner(bno,btitle,fgno,fgno2,bdesc,burl,ismain,bseq,isopen,cdt,cno,udt,uno,uip) select ?param9 , ?param2 , ?param7 , ?param8 , ?param3 , ?param4 , ?param10 , ?param5 , ?param6 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param9 = 0] +2025-12-11 13:57:02,717 - Statement Id: [mm.popup.save] Prepared SQL: [update popup set udt=now(),uno= ?param0 ,uip= ?param1 ,ptitle = ?param2 ,pcontents= ?param3 ,toppx= ?param4 ,leftpx= ?param5 ,pwidth= ?param6 ,pheight= ?param7 ,purl= ?param8 ,zindex= ?param9 ,isopen= ?param10 where ?param11 > 0 and pno= ?param11 ; insert into popup (ptitle,pcontents,toppx,leftpx,pwidth,pheight,purl,zindex,isopen,cdt,cno,udt,uno,uip) select ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param11 = 0] +2025-12-11 13:57:02,717 - Statement Id: [mm.menupage.save] Prepared SQL: [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,pdepth = ?param2 ,pagetype= ?param3 ,bmno= ?param4 ,porder = ?param5 ,pagename= ?param6 ,pagedesc= ?param7 ,pageurl = ?param8 ,pagehtml= ?param9 ,isopen = ?param10 ,usertype= ?param11 ,refcode= ?param12 ,imagecode= ?param13 ,bgtitle= ?param14 ,bgdesc= ?param15 where ?param16 > 0 and pno = ?param16 ; insert into menupage (pno,ppno,pdepth,pagetype,bmno,porder,pagename,pagedesc,pageurl,pagehtml,isopen,usertype,refcode,imagecode,bgtitle,bgdesc,cdt,cno,udt,uno,uip) select ?param16 , ?param17 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param16 < 1] +2025-12-11 13:57:02,749 - Statement Id: [pay.payitems.forexampay] Prepared SQL: [select 3 ptype,b.exno itemno,b.exname itemname,0 isrebate,1 pcnt ,b.outfee orgamt ,case when ua.isjoin=1 then b.outfee-b.infee else 0 end discamt ,case when ua.isjoin=1 then b.infee else b.outfee end payamt ,case when ua.isjoin=1 then b.infee else b.outfee end payamt2 ,b.rstime,b.retime from examuser a inner join exam b on b.exno=a.exno and b.rstime < now() and b.retime > now() inner join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno where a.exno= ?param0 and a.userno= ?param1 and a.status=1 and a.pstatus=4] +2025-12-11 13:57:02,750 - Statement Id: [pay.payitems.forcertpay] Prepared SQL: [update payitem a inner join pay b on b.payno=a.payno and b.userno= ?param0 and b.pstatus=21 inner join users u on u.userno=b.userno left outer join assign ua on ua.asno=u.asno left outer join cm c on a.ptype=4 and c.cmno=a.itemno left outer join book d on a.ptype=2 and d.bkno=a.itemno set a.orgamt=case when a.ptype=4 then c.outfee else d.price * a.pcnt end ,a.discamt=case when a.ptype=4 and ua.isjoin=1 then c.outfee-c.infee else 0 end ,a.payamt=case when a.ptype=4 then case when ua.isjoin=1 then c.infee else c.outfee end else d.price * a.pcnt end where a.payno= ?param1 and a.ptype in (2,4) and a.pstatus in(21,50); update pay a inner join ( select a.payno,sum(b.orgamt) orgamt,sum(b.discamt) discamt,sum(b.payamt) payamt from pay a inner join payitem b on b.payno=a.payno where a.payno= ?param1 and a.userno= ?param0 and a.pstatus=21 group by a.payno ) b on b.payno=a.payno set a.orgamt=b.orgamt,a.discamt=b.discamt,a.payamt=b.payamt where a.payno= ?param1 and a.userno= ?param0 and a.pstatus=21; select b.ptype,b.itemno,case when b.ptype=4 then c.cname else d.bkname end itemname,b.isrebate,b.pcnt ,b.orgamt,b.discamt,b.payamt payamt2,case when b.ptype=4 then b.payamt else d.price end payamt,datediff(c.setime, c.sstime)+1 days ,c.rstime,c.retime from pay a inner join payitem b on b.payno=a.payno and b.ptype in(2,4) and b.pstatus in(21,50) left outer join cm c on b.ptype=4 and c.cmno=b.itemno left outer join book d on b.ptype=2 and d.bkno=b.itemno inner join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno where a.payno= ?param1 and a.userno= ?param0 and a.pstatus=21] +2025-12-11 13:57:02,751 - Statement Id: [pay.cmcheck.forgrouppay] Prepared SQL: [select a.cmno,a.cname,a.quota,a.rstime,a.retime ,b.userno,b.status,c.username ,case when ?param0 like concat('%,',b.userno,',%') then 1 else 0 end ispaied ,a.infee,a.outfee,case when ua.isjoin=1 then a.infee else a.outfee end payamt from cm a inner join users u on u.userno= ?param1 left outer join assign ua on ua.asno=u.asno left outer join lect b on b.cmno=a.cmno and b.status < 5 and b.ischanged=0 left outer join users c on c.userno=b.userno and c.status=1 where a.cmno= ?param2 and a.ismaster=0 and a.rstime < now() and a.retime > now() and a.isuse=1 and a.isdel=0] +2025-12-11 13:57:02,752 - Statement Id: [pay.payitems] Prepared SQL: [select a0.payno,a0.isgroup,a0.isexam,a0.isdvr,a0.payamt tpayamt,a0.paylimit,a0.ptype,a0.udt,a0.deliamt,a0.pgkey ,ad.rcvname ,CAST(AES_DECRYPT(UNHEX(ad.mobile), 'np123@!') AS char) mobile ,CAST(AES_DECRYPT(UNHEX(ad.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(ad.email), 'np123@!') AS char) email ,ad.post,ad.address1,ad.address2 ,a.ptype ptype2,a.payamt,a.pcnt,a.isrebate,a.itemno ,b.cmno,b.cshape,b.sstime,b.setime ,b1.rsno ,b2.username,cc.cname ccpositionname,b2.isassignuser ,CAST(AES_DECRYPT(UNHEX(b2.email), 'np123@!') AS char) email2 ,CAST(AES_DECRYPT(UNHEX(b2.telno), 'np123@!') AS char) telno2 ,b2.depart,b2.kfcfyear,b2.edus ,c.bkno ,case a.ptype when 0 then b.cname when 4 then b.cname when 2 then c.bkname when 3 then e.exname else '-' end itemname ,cg2.cgcode ,CAST(AES_DECRYPT(UNHEX(pd.vactnum), 'np123@!') AS char) vactnum,pd.vactbankname,pd.vactname ,t.lectno,t.status ,ad.isdvr isdvr2 from pay a0 left outer join paydvr ad on ad.payno=a0.payno left outer join paydata pd on pd.payno=a0.payno inner join payitem a on a.payno=a0.payno left outer join cm b on a.ptype in(0,4) and b.cmno=a.itemno left outer join lect t on t.cmno=b.cmno and t.userno=a.userno and t.status=1 left outer join cg cg1 on cg1.cgno=b.cgno left outer join cg cg2 on cg2.cgno=cg1.pcgno left outer join cmrs b1 on b1.cmno=b.cmno and b1.rstype=1 and b1.isdel=0 left outer join users b2 on b2.userno=a.userno left outer join comcode cc on cc.ccode=b2.ccposition left outer join book c on a.ptype=2 and c.bkno=a.itemno left outer join examuser d on a.ptype=3 and d.exno=a.itemno and d.userno=a0.userno and d.payno=a0.payno left outer join exam e on e.exno=d.exno where a0.payno= ?param0] +2025-12-11 13:57:02,752 - Statement Id: [pay.paylect.get] Prepared SQL: [select a.fgno ,b.cshape,b.cname,b.rstime,b.retime,b.sstime,b.setime ,b2.cname certgradeccname ,c.username ,CAST(AES_DECRYPT(UNHEX(c.email), 'np123@!') AS char) email ,CAST(AES_DECRYPT(UNHEX(c.mobile), 'np123@!') AS char) mobile ,CAST(AES_DECRYPT(UNHEX(c.telno), 'np123@!') AS char) telno ,c.depart ,c2.cname ccpositionname ,d.asname from lect a inner join cm b on b.cmno=a.cmno left outer join comcode b2 on b2.ccode=b.certgradecc inner join users c on c.userno=a.userno left outer join comcode c2 on c2.ccode=c.ccposition left outer join assign d on d.asno=c.asno where a.payno= ?param0] +2025-12-11 13:57:02,752 - Statement Id: [pay.carts] Prepared SQL: [select a.pcno,a.ptype,a.itemno,a.isrefund,a.cmno,a.userno,a.pcnt,a.fgno ,case when a.ptype=0 then b.cname else c.bkname end itemname,b.cshape,b.sstime,b.setime ,case when a.ptype = 0 then case when ua.isjoin=1 then b.infee else b.outfee end else c.price end payamt ,case when a.ptype = 0 then b.outfee else c.price end orgamt from paycart a inner join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno left outer join cm b on a.ptype=0 and b.cmno=a.itemno left outer join book c on a.ptype in (2,9) and c.bkno=a.itemno where a.status=1 and a.userno= ?param0 order by a.cdt desc] +2025-12-11 13:57:02,753 - Statement Id: [pay.payitems.forcartpay] Prepared SQL: [select case when a.ptype = 9 then 2 else a.ptype end ptype,a.itemno,case when a.ptype=0 then b.cname else c.bkname end itemname,case when a.ptype=0 then a.isrefund else 0 end isrebate,a. pcnt ,case when a.ptype=0 then b.outfee else c.price end orgamt ,case when a.ptype=0 then case when ua.isjoin=1 then b.outfee-b.infee else 0 end else 0 end discamt ,case when a.ptype=0 then case when ua.isjoin=1 then b.infee else b.outfee end else c.price end payamt ,case when a.ptype=0 then case when ua.isjoin=1 then b.infee else b.outfee end else c.price end * a.pcnt payamt2 ,b.rstime,b.retime,b.sstime,b.setime,b.cshape,datediff(b.setime, b.sstime)+1 days from paycart a left outer join cm b on a.ptype=0 and b.cmno=a.itemno and b.rstime < now() and b.retime > now() left outer join book c on a.ptype in (2,9) and c.bkno=a.itemno inner join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno where a.userno= ?param0 and a.status=1 and a.ispay=1;] +2025-12-11 13:57:02,753 - Statement Id: [pay.mypay] Prepared SQL: [select a.payno,a.ptype,a.ispg,a.isgroup,a.isexam,a.userno,a.pstatus,a.rstatus,a.rstatustime,a.refunding,a.paylimit,a.payoktime,a.isrefunddvr,a.refundamt,a.payamt,a.deliamt,a.isdvr,a.cdt,a.pgkey ,b.dvrcode,b.isdvr isdvr2,b.rcvname,b.post,b.address1,b.address2 ,CAST(AES_DECRYPT(UNHEX(b.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(b.email), 'np123@!') AS char) email ,CAST(AES_DECRYPT(UNHEX(b.mobile), 'np123@!') AS char) mobile ,c.vactbankname,CAST(AES_DECRYPT(UNHEX(c.vactnum), 'np123@!') AS char) vactnum,c.vactname from pay a left outer join paydvr b on b.payno=a.payno left outer join paydata c on c.payno=a.payno where a.payno= ?param0 and a.userno= ?param1 and a.pstatus in (1,22,41,42,43)] +2025-12-11 13:57:02,756 - Statement Id: [pay.mypayitem] Prepared SQL: [select a.ptype,c0.cshape,a.isrebate,a.payamt,a.pcnt,a.rstatus,a.userno,a.pstatus,a.pino,c0.infee,c0.outfee,c0.rstime,c0.retime ,case a.ptype when 0 then c0.cname when 2 then c2.bkname when 4 then c0.cname when 3 then c3.exname else '-' end itemname ,c0.sstime,c0.setime,datediff(c0.setime, c0.sstime)+1 days ,u.username,uc.cname ccpositionname,u.isassignuser ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.email), 'np123@!') AS char) email ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,u.kfcfyear,u.edus,u.depart ,rs.rsno,t.lectno ,a2.taxno ,case when t.sdate is null then c0.sstime else t.sdate end as sdate ,case when t.edate is null then c0.setime else t.edate end as edate ,p.cdt,csd.estart ,c0.studydays from payitem a inner join pay p on p.payno = a.payno left outer join paytax a3 on a3.payno = a.payno and (a3.iscancel is null or a3.iscancel <> 1) left outer join paytaxitem a2 on a2.pino=a.pino and a3.taxno = a2.taxno left outer join cm c0 on a.ptype in (0,1,4) and c0.cmno=a.itemno left outer join book c2 on a.ptype=2 and c2.bkno=a.itemno left outer join exam c3 on a.ptype=3 and c3.exno=a.itemno left outer join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno left outer join comcode uc on uc.ccode=u.ccposition left outer join cmrs rs on rs.cmno=c0.cmno and rs.rstype=1 and rs.isdel=0 left outer join lect t on a.ptype in (0,1,4) and t.cmno=c0.cmno and t.payno=a.payno and t.pino=a.pino and t.userno=a.userno left outer join cminningscd csd on csd.cmisno = t.cmisno where a.payno= ?param0] +2025-12-11 13:57:02,757 - Statement Id: [pay.paytax.fornew] Prepared SQL: [select a.payno,a.isgroup,a.ptype,a.ispg ,ua.asname,ua.ceoname,ua.brno,ua.grno,ua.btype,ua.bkind,ua.post,ua.address1,ua.address2 ,ua.mname manname ,CAST(AES_DECRYPT(UNHEX(ua.mphone), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(ua.taxemail), 'np123@!') AS char) email ,sum(case when b.taxdate is not null then 0 else b.taxamt end) taxamtsum ,sum(b.taxamt) taxamt from pay a inner join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno left outer join paytax b on b.payno=a.payno and (b.iscancel is null or b.iscancel <> 1) where a.payno= ?param0 and a.userno= ?param1 and a.rstatus < 2 and (a.pstatus=1 or a.pstatus=22) group by a.payno,a.isgroup,ua.asname,ua.ceoname,ua.brno,ua.grno,ua.btype,ua.bkind] +2025-12-11 13:57:02,757 - Statement Id: [pay.paytax.fornewitem] Prepared SQL: [select a.payno,a.isgroup ,ifnull(c.taxno,0) taxno,b.pino,b.ptype,b.rstatus ,case b.ptype when 0 then c0.cname when 4 then c0.cname when 2 then c2.bkname when 3 then c3.exname else '-' end itemname ,b.pcnt,b.payamt from pay a inner join payitem b on b.payno=a.payno and (b.pstatus=1 or b.pstatus=22) left outer join cm c0 on b.ptype in (0,4) and c0.cmno=b.itemno left outer join book c2 on b.ptype=2 and c2.bkno=b.itemno left outer join exam c3 on b.ptype=3 and c3.exno=b.itemno left outer join paytax c4 on c4.payno = a.payno and (c4.iscancel is null or c4.iscancel <> 1) left outer join paytaxitem c on c.pino=b.pino and c.taxno = c4.taxno where a.payno= ?param0 and a.userno= ?param1 and a.rstatus < 2 and (a.pstatus=1 or a.pstatus=22) order by ifnull(c.taxno,0),b.pino] +2025-12-11 13:57:02,757 - Statement Id: [pay.payitem.forrefund] Prepared SQL: [select distinct a.payno,b.pino,b.pstatus,b.rstatus,b.payamt,b.ptype,b.pcnt ,case b.ptype when 0 then c0.cname when 4 then c0.cname when 2 then c2.bkname when 3 then c3.exname else '-' end itemname ,case when b.ptype in (0,1,4) then case when date_add(c0.retime, interval 1 day) < now() then 1 else 0 end else case when b.ptype=3 then case when date_add(c3.retime, interval 1 day) < now() then 1 else 0 end else 0 end end ispast ,u.username ,max(d.rfdno) rfdno ,max(ifnull(case when c.rstatus=1 then -1 else c.rstatus end,-2)) rfdrstatus from pay a inner join payitem b on b.payno=a.payno and b.pstatus=1 left outer join users u on a.isgroup=1 and b.ptype=0 and u.userno=b.userno left outer join cm c0 on b.ptype in (0,4) and c0.cmno=b.itemno left outer join book c2 on b.ptype=2 and c2.bkno=b.itemno left outer join exam c3 on b.ptype=3 and c3.exno=b.itemno left outer join payrfditem d on d.pino=b.pino left outer join payrfd c on c.rfdno=d.rfdno and c.payno=a.payno and c.rstatus in (0,2) where a.payno= ?param0 and a.userno= ?param1 and a.pstatus=1 and a.rstatus < 2 group by a.payno,b.pino,b.pstatus,b.rstatus,b.payamt,b.ptype,b.pcnt ,c0.cname,c2.bkname,c3.exname,c0.retime,c3.retime,u.username order by d.rfdno,b.rstatus,ispast,b.pino] +2025-12-11 13:57:02,758 - Statement Id: [pay.payresult] Prepared SQL: [select a.payno,a.payamt,a.ptype,a.pstatus ,b.itemno ,b.pino from pay a inner join payitem b on b.payno=a.payno where a.payno= ?param0 and a.userno= ?param1 and a.pstatus in (1,21,22,51,55)] +2025-12-11 13:57:02,758 - Statement Id: [pay.lectready] Prepared SQL: [select count(a.userno) from lect a where a.cmno= ?param0 and a.isready=1 and a.status=6] +2025-12-11 13:57:02,758 - Statement Id: [pay.pplogs.bypay] Prepared SQL: [select a.pplno,a.isready,a.cmno,a.cmisno,a.isrebate,a.rbankname,CAST(AES_DECRYPT(UNHEX(a.rbankacc), 'np123@!') AS char) rbankacc,a.rbankowner,a.isaccommodation,a.cshape ,b.payno,b.pstatus from pay b inner join pplog a on a.pplno=b.pplno where b.payno= ?param0 and a.userno= ?param1] +2025-12-11 13:57:02,760 - Statement Id: [pay.pay.in] Prepared SQL: [insert into pay(ptype,ispg,isgroup,userno,username,isexam,pstatus,rstatus,refunding,paylimit,payoktime,pgkey ,orgamt,discamt,deliamt,isrefunddvr,payamt,refundamt,pplno,isbill,iscashrct,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , ?param7 , ?param8 ,case when ?param9 is not null then now() else ?param10 end, ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 ,now(), ?param21 ,now(), ?param21 , ?param22 );] +2025-12-11 13:57:02,761 - Statement Id: [pay.pay.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,763 - Statement Id: [pay.payitem.in] Prepared SQL: [insert into payitem (payno,ptype,pcno,itemno,userno,pstatus,rstatus,pcnt,orgamt,discamt,payamt,payamtcash,payamtcard,refundamt,refundtime,refundtimereal,refundinfo,isrebate,rbank,rbankaccnum,tbankuser,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 ,now(), ?param21 ,now(), ?param21 , ?param22 );] +2025-12-11 13:57:02,763 - Statement Id: [pay.payitem.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,763 - Statement Id: [pay.lect.in] Prepared SQL: [insert into lect (cmno,payno,pino,userno,status,isready,iscomplete,orgcmno,attrate,isrebate,ispc,pcno,isjoin,fgno,ischanged,cmisno,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,null,null,0, ?param6 , ?param7 , ?param8 , ?param9 ,null,0, ?param10 ,now(), ?param11 ,now(), ?param11 , ?param12 );] +2025-12-11 13:57:02,763 - Statement Id: [pay.lect.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,764 - Statement Id: [pay.pay.pgin] Prepared SQL: [insert into pay(ptype,ispg,isgroup,isexam,userno,username,pstatus,rstatus ,refunding,paylimit,payoktime,pgkey,orgamt,discamt,deliamt,isrefunddvr,payamt,refundamt,isdvr,iscashrct,cashrcthp,pplno,isbill,cdt,cno,udt,uno,uip) select ?param0 , ?param1 , ?param2 , ?param3 ,a.userno,a.username,case when ?param0 = 6 then 1 else 0 end,0 , ?param4 , ?param5 ,case when ?param0 = 6 then now() else ?param6 end, ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 ,HEX(AES_ENCRYPT( ?param16 , 'np123@!')), ?param17 , ?param18 ,now(), ?param19 ,now(), ?param19 , ?param20 from users a where a.userno= ?param21] +2025-12-11 13:57:02,764 - Statement Id: [pay.pay.pgin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,764 - Statement Id: [pay.certpay] Prepared SQL: [insert into pay(ptype,ispg,isgroup,userno,pstatus,rstatus,refunding,orgamt,discamt,deliamt,isrefunddvr,payamt,refundamt,isdvr,isexam,cdt,cno,udt,uno,uip) values (0,1,0, ?param0 ,51,0,0,0,0,0,0,0,0,0,0,now(), ?param1 ,now(), ?param1 , ?param2 )] +2025-12-11 13:57:02,764 - Statement Id: [pay.certpay.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,765 - Statement Id: [pay.paytax.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,767 - Statement Id: [pay.payrfd.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,767 - Statement Id: [pay.standbypay.admin] Prepared SQL: [insert into pay(ptype,ispg,isgroup,userno,username,isexam,pstatus,rstatus,refunding,orgamt,discamt,deliamt,isrefunddvr,payamt,refundamt,pplno,isbill,iscashrct,cdt,cno,udt,uno,uip) values ( ?param0 ,0,0, ?param1 , ?param2 ,0,21,0,0,0,0,0,0,0,0, ?param3 ,0,0,now(), ?param4 ,now(), ?param4 , ?param5 );] +2025-12-11 13:57:02,767 - Statement Id: [pay.standbypay.admin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,768 - Statement Id: [pay.lect.sedate.save] Prepared SQL: [update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') ,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno = ?param2 ;] +2025-12-11 13:57:02,768 - Statement Id: [pay.paydvr.dvrcode] Prepared SQL: [update paydvr set udt=now(),uno= ?param0 ,uip= ?param1 ,dvrcode= ?param2 ,codetime=now() where payno= ?param3] +2025-12-11 13:57:02,768 - Statement Id: [pay.paydvr.in] Prepared SQL: [delete from paydvr where payno= ?param0 ; insert into paydvr (payno,dvrcode,codetime,isdvr,rcvname,telno,mobile,email,post,address1,address2,dmemo,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'np123@!')) , ?param8 , ?param9 , ?param10 , ?param11 ,now(), ?param12 ,now(), ?param12 , ?param13 )] +2025-12-11 13:57:02,768 - Statement Id: [pay.freeok] Prepared SQL: [insert into lect (cmno,payno,pino,userno,status,attrate,isrebate,ispc,isjoin,ischanged,fgno2,cmisno,cdt,cno,udt,uno,uip) select b.itemno,a.payno,b.pino,case when a.isgroup=1 then b.userno else a.userno end,1,0,b.isrebate,0,case when ua.isjoin=1 then 1 else 0 end,0,b.fgno,l.cmisno,now(), ?param0 ,now(), ?param0 , ?param1 from pay a inner join payitem b on b.payno=a.payno and b.ptype=0 inner join users u on u.userno=a.userno inner join pplog l on a.pplno = l.pplno left outer join assign ua on ua.asno=u.asno where a.payno= ?param2 ; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on a.cmisno = d.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') where a.payno = ?param2 ;] +2025-12-11 13:57:02,769 - Statement Id: [pay.paydvr.save] Prepared SQL: [update paydvr set udt=now(),uno= ?param0 ,uip= ?param1 ,dvrcode= ?param2 ,rcvname= ?param3 ,post= ?param4 ,address1= ?param5 ,address2= ?param6 ,dmemo= ?param7 ,codetime=case when codetime is null and ?param2 is not null then now() else codetime end ,telno=HEX(AES_ENCRYPT( ?param8 , 'np123@!')) ,mobile=HEX(AES_ENCRYPT( ?param9 , 'np123@!')) where payno= ?param10] +2025-12-11 13:57:02,769 - Statement Id: [pay.paycert.paystart] Prepared SQL: [update pay a inner join users b on b.userno=a.userno set a.ptype= ?param0 ,a.paylimit= ?param1 ,a.orgamt= ?param2 ,a.payamt= ?param3 ,a.isbill= ?param4 ,a.pstatus = case when ?param0 = 6 then 1 else a.pstatus end ,a.payoktime = case when ?param0 = 6 then now() else a.payoktime end where a.payno= ?param5 and a.userno= ?param6 and a.pstatus=21; update payitem a inner join users b on b.userno=a.userno set a.orgamt= ?param2 ,a.payamt= ?param3 ,a.pstatus = case when ?param0 = 6 then 1 else a.pstatus end ,a.rstatus = 0 where a.payno= ?param5 and a.userno= ?param6 and a.pstatus=21; update lect a inner join users b on b.userno = a.userno set a.status = case when ?param0 = 6 then 1 else a.status end where a.payno= ?param5 and a.userno = ?param6 ; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') where a.payno = ?param5 ;] +2025-12-11 13:57:02,770 - Statement Id: [pay.paylect] Prepared SQL: [update pay set udt=now(),uno= ?param0 ,uip= ?param1 ,pstatus=case when ptype=3 then 22 else 1 end ,payoktime=case when ptype=3 then null else now() end ,pgkey= ?param2 where payno= ?param3 ; insert into paydata(payno,payresult,payresultmsg,vactnum,vactbankcode,vactbankname,vactname,vactinname,cshrrcode,cshrtype,cshrauthno,cardquota,cardquotatype,cardeventcode,cardnum,iscardpoint,cardcode,cardbankcode,cardprtccode,checkflag,ocbnum,ocbappno,ocbprice,gsnum,gsremain,gsprice,unum,upoint,uprice,cdt,cno,udt,uno,uip) values ( ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'np123@!')), ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 ,HEX(AES_ENCRYPT( ?param17 , 'np123@!')), ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 ,now(), ?param0 ,now(), ?param0 , ?param1 ); update payitem a inner join pay b on b.payno=a.payno set a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 ,a.pstatus=case when b.ptype=3 then 22 else 1 end where a.payno= ?param3 ; insert into lect (cmno,payno,pino,userno ,status,iscomplete,orgcmno,attrate,isrebate ,ispc,isjoin,fgno,apoint,mpoint ,fpoint,spoint,dpoint,tpoint,ischanged ,stime,etime,sip,eip,ispcs ,ispce,fgno2,cmisno,cdt,cno,udt,uno,uip) select a.itemno,a.payno,a.pino,case when b.isgroup=1 then a.userno else b.userno end ,case when b.ptype=3 then 2 else 1 end,null,null,0,a.isrebate ,0,ifnull(d.isjoin, 0),null,null,null ,null,null,null,null,0 ,null,null,null,null,null ,null,a.fgno,e.cmisno,now(), ?param0 ,now(), ?param0 , ?param1 from payitem a inner join pay b on b.payno=a.payno inner join users c on c.userno=b.userno left outer join assign d on d.asno=c.asno left outer join pplog e on e.pplno=b.pplno left outer join lect f on f.payno=a.payno and f.pino=a.pino and f.status=4 and f.isready=1 where a.payno= ?param3 and a.ptype=0 and f.lectno is null; update lect a inner join pay b on b.payno=a.payno and b.pstatus in (22,1) inner join payitem c on c.payno=b.payno and c.itemno=a.cmno and c.pstatus=b.pstatus set a.status=case when b.pstatus=22 then 2 else 1 end,a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param3 and a.status=4; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 23:59:59') where a.payno = ?param3 ;] +2025-12-11 13:57:02,770 - Statement Id: [pay.pay.fail] Prepared SQL: [update pay set pstatus= ?param0 where payno= ?param1 and pstatus != 1 and pstatus != 22; insert into paydata(payno,payresult,payresultmsg,vactnum,vactbankcode,vactbankname,vactname,vactinname,cshrrcode,cshrtype,cshrauthno,cardquota,cardquotatype,cardeventcode,cardnum,iscardpoint,cardcode,cardbankcode,cardprtccode,checkflag,ocbnum,ocbappno,ocbprice,gsnum,gsremain,gsprice,unum,upoint,uprice,cdt,cno,udt,uno,uip) values ( ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'np123@!')), ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 ,HEX(AES_ENCRYPT( ?param15 , 'np123@!')), ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 ,now(), ?param29 ,now(), ?param29 , ?param30 );] +2025-12-11 13:57:02,771 - Statement Id: [pay.paylect.vbankin] Prepared SQL: [insert into payvbankin (payno,pgkey,inbankcode,indeal,inymd,inhms,msgseq,transseq,vacct,inamt,checkamt,isclose,typemsg,frombank,fromname,fromymd,calcymd,tranymd,transcode,korcode,cshrymd,cshrhms,cshrcode,cshrpgkey,cshramt,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 ,now(), ?param25 ,now(), ?param25 , ?param26 ); update pay set udt=now(),uno= ?param25 ,uip= ?param26 ,pstatus=1 ,payoktime=now() where payno= ?param0 and pstatus=22 ; update payitem a inner join pay b on b.payno=a.payno set a.udt=now(),a.uno= ?param25 ,a.uip= ?param26 ,a.pstatus=1 where a.payno= ?param0 and a.pstatus=22; update lect a inner join pay b on b.isexam <> 1 and b.payno=a.payno and b.pstatus=1 set a.udt=now(),a.uno= ?param25 ,a.uip= ?param26 ,a.status=1 where a.payno= ?param0 ; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 23:59:59') where a.payno = ?param0 ;] +2025-12-11 13:57:02,771 - Statement Id: [pay.paycancel] Prepared SQL: [update pay set udt=now(),uno= ?param0 ,uip= ?param1 ,pstatus=case when pstatus=22 then 43 else 41 end where payno= ?param2 and userno= ?param3 and pstatus in (51,55,21,22); update payitem a inner join pay b on b.payno=a.payno and b.userno= ?param3 and b.pstatus in (41,43) set a.pstatus=b.pstatus,a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 and a.pstatus in (21,22); update lect a inner join pay b on b.payno=a.payno and b.userno= ?param3 and b.pstatus in (41,43) set a.status=9 where a.payno= ?param2 ; update examuser a inner join pay b on b.payno=a.payno and b.userno=a.userno and b.pstatus in (41,43) set a.pstatus=9 where a.payno= ?param2 and a.userno= ?param3] +2025-12-11 13:57:02,771 - Statement Id: [pay.cart.clear] Prepared SQL: [update paycart set status=2,udt=now(),uno= ?param0 ,uip= ?param1 where userno= ?param2 and status=1 and date_add(cdt, interval 7 day) < now(); update paycart a inner join cm b on b.cmno=a.itemno and b.udt > a.cdt set a.status=2,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.userno= ?param2 and a.status=1 and a.ptype=0; update paycart a inner join book b on b.bkno=a.itemno and b.udt > a.cdt set a.status=2,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.userno= ?param2 and a.status=1 and a.ptype in (2,9); update paycart a left outer join cm b on b.cmno=a.itemno and b.rstime < now() and b.retime > now() set a.status=2,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.userno= ?param2 and a.status=1 and a.ptype=0 and b.cmno is null; update paycart a left outer join paycart b on b.ptype =0 and b.userno= ?param2 and b.status=1 and b.itemno=a.cmno set a.status=2,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.userno= ?param2 and a.status=1 and a.ptype=9 and b.pcno is null] +2025-12-11 13:57:02,772 - Statement Id: [pay.payrfd.up] Prepared SQL: [update payrfd set fgnor= ?param0 ,fgnob= ?param1 ,udt=now(),uno= ?param2 ,uip= ?param3 where rfdno= ?param4 and payno= ?param5] +2025-12-11 13:57:02,772 - Statement Id: [pay.payrfdcancel.up] Prepared SQL: [delete from payrfditem where rfdno= ?param0 ; update payrfd set rstatus= ?param1 ,udt=now(),uno= ?param2 ,uip= ?param3 where rfdno= ?param0 and payno= ?param4] +2025-12-11 13:57:02,772 - Statement Id: [pay.unpay] Prepared SQL: [update examuser a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null and b.userno=a.userno inner join payitem c on c.payno=b.payno and c.ptype=3 and c.itemno=a.exno and c.pino=a.pino set a.pstatus=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 and a.pstatus=2; update lect a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null inner join payitem c on c.payno=b.payno and c.ptype in(0,4) and c.itemno=a.cmno and c.userno=a.userno and c.pino=a.pino set a.status=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 and a.status=2 and a.ischanged=0; update payitem a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null set a.pstatus=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 ; update pay set pstatus=1,isunpay=1,udt=now(),uno= ?param0 ,uip= ?param1 where payno= ?param2 and pstatus=22 and ptype=3 and ispg=1 and isunpay is null; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') where a.payno = ?param2 ;] +2025-12-11 13:57:02,773 - Statement Id: [pay.abspay] Prepared SQL: [update examuser a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null and b.userno=a.userno inner join payitem c on c.payno=b.payno and c.ptype=3 and c.itemno=a.exno and c.pino=a.pino set a.pstatus=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 and a.pstatus=2; update lect a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null inner join payitem c on c.payno=b.payno and c.ptype in(0,4) and c.itemno=a.cmno and c.userno=a.userno and c.pino=a.pino set a.status=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 and a.status=2 and a.ischanged=0; update payitem a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null set a.pstatus=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 ; update pay set ptype= ?param3 ,payoktime=now(),pstatus=1,isunpay=3,udt=now(),uno= ?param0 ,uip= ?param1 where payno= ?param2 and pstatus=22 and ptype=3 and ispg=1 and isunpay is null; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') where a.payno = ?param2 ;] +2025-12-11 13:57:02,773 - Statement Id: [pay.unpaymoney] Prepared SQL: [update pay set isunpay=2,payoktime= ?param0 ,udt=now(),uno= ?param1 ,uip= ?param2 where payno= ?param3 and isunpay=1; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') where a.payno = ?param3 ;] +2025-12-11 13:57:02,773 - Statement Id: [pay.pplogtype.up] Prepared SQL: [update pplog set typeman = ?param0 ,typejob = ?param1 ,typeedu = ?param2 ,typegrade = ?param3 ,typejobitem = ?param4 where pplno = ?param5] +2025-12-11 13:57:02,773 - Statement Id: [pay.untax] Prepared SQL: [insert into untaxlog (payno,logtime,cdt,cno,udt,uno,uip) values( ?param0 ,now(),now(), ?param1 ,now(), ?param1 , ?param2 ); update pay set iscashrct = null where payno = ?param0 ;] +2025-12-11 13:57:02,773 - Statement Id: [pay.standbypayitem.admin] Prepared SQL: [insert into payitem (payno,ptype,itemno,userno,pstatus,rstatus,pcnt ,orgamt,discamt,payamt,payamtcash,payamtcard,refundamt,isrebate,cdt,cno,udt,uno,uip) values( ?param0 ,0, ?param1 , ?param2 ,21,0,1 ,0,0,0,0,0,0, ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 ); insert into lect(cmno,payno,pino,userno,status,attrate,isrebate,ispc,isjoin,ischanged,isready,cmisno,cdt,cno,udt,uno,uip) select ?param1 , ?param0 ,LAST_INSERT_ID(),a.userno,4,0, ?param3 ,0,ifnull(b.isjoin,0),0,1, ?param6 ,now(), ?param4 ,now(), ?param4 , ?param5 from users a left outer join assign b on b.asno=a.asno where a.userno= ?param2 ;] +2025-12-11 13:57:02,799 - Statement Id: [exam.exam.in] Prepared SQL: [insert into exam (cgno,exname,infee,outfee ,certcc,certgradecc,rstime,retime,estime,eetime ,elocation,certdate,certindate,introhtml ,isopen,isresultopen,isscored,fgno,isdel ,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,0, ?param15 , ?param16 ,0 ,now(), ?param17 ,now(), ?param17 , ?param18 )] +2025-12-11 13:57:02,800 - Statement Id: [exam.exam.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,800 - Statement Id: [exam.exam.up] Prepared SQL: [update exam set udt=now(),uno= ?param0 ,uip= ?param1 ,exname = ?param2 ,infee = ?param3 ,outfee = ?param4 ,certcc = ?param5 ,certgradecc = ?param6 ,rstime = ?param7 ,retime = ?param8 ,estime = ?param9 ,eetime = ?param10 ,elocation = ?param11 ,certdate = ?param12 ,certindate = ?param13 ,introhtml = ?param14 ,isopen = ?param15 ,fgno = ?param16 where exno= ?param17] +2025-12-11 13:57:02,801 - Statement Id: [exam.del] Prepared SQL: [update exam a inner join ( select count(userno) cntuser, exno from examuser where exno = ?param0 group by exno ) b on b.exno=a.exno set a.uip= ?param1 ,a.uno= ?param2 ,a.isdel = 1 where a.exno= ?param0 and b.cntuser=0 and a.isdel=0;] +2025-12-11 13:57:02,801 - Statement Id: [exam.examuser.save] Prepared SQL: [insert ignore into examuser(exno,userno,status,pstatus,avrg,certdate,certindate,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 ,now(), ?param7 ,now(), ?param7 , ?param8 )] +2025-12-11 13:57:02,801 - Statement Id: [exam.examopen] Prepared SQL: [update exam set udt=now(),uno= ?param0 ,uip= ?param1 ,isresultopen= ?param2 where exno= ?param3 ;] +2025-12-11 13:57:02,801 - Statement Id: [exam.examuser.renew] Prepared SQL: [update examuser set udt=now(),uno= ?param0 ,uip= ?param1 ,certdate= ?param2 ,certindate= ?param3 where exno= ?param4 and userno= ?param5 ; insert into examuserrenew (exno,userno,certtime,certdate,certindate,renewreason,isfirst,certidx,cdt,cno,udt,uno,uip) select a.exno, ?param5 ,now(), ?param2 , ?param3 , ?param6 ,0,max(a.certidx),now(), ?param0 ,now(), ?param0 , ?param1 from( select a.exno,ifnull(max(d.certidx), 0)+1 certidx from examuser a inner join exam a2 on a2.exno=a.exno left outer join exam c on c.certcc=a2.certcc and c.certgradecc=a2.certgradecc left outer join examuserrenew d on d.exno=c.exno and year(d.certtime)=year(a.certdate) where a.exno= ?param4 group by a.exno,a.userno,a.certdate,a.certindate ) a] +2025-12-11 13:57:02,840 - Statement Id: [grade.lectcomplete.cancel] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,iscomplete=0 ,completetime=null where lectno= ?param2 and ifnull(iscomplete,0) <> 1] +2025-12-11 13:57:02,840 - Statement Id: [grade.lectcomplete.cancel2] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,iscomplete=0 ,completetime=null where lectno= ?param2 and ifnull(iscomplete,0)] +2025-12-11 13:57:02,861 - Statement Id: [att.att.in] Prepared SQL: [update lectinning set udt=now(),uno= ?param0 ,uip= ?param1 ,lectno= ?param2 ,cmino= ?param3 ,totstudy=0 ,stime=now(),etime=null ,istatus=1,statustime=null,statusreason=null where lectno= ?param2 and cmino= ?param3 and istatus is null; insert into lectinning (lectno,cmino,totstudy,stime,etime,istatus,statustime,statusreason,sip,eip,ispcs,ispce,cdt,cno,udt,uno,uip) select ?param2 , ?param3 ,0,now(),null,1,null,null, ?param1 ,null,1,null,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join lectinning b on b.lectno= ?param2 and b.cmino= ?param3 where b.lectno is null; update lect set stime = case when stime is null then now() else stime end ,sip = case when sip is null then ?param1 else sip end ,ispcs = case when ispcs is null then 1 else ispcs end where lectno= ?param2] +2025-12-11 13:57:02,861 - Statement Id: [att.att.out] Prepared SQL: [update lectinning set udt=now(),uno= ?param0 ,uip= ?param1 ,totstudy=timestampdiff(SECOND, stime, now()) ,etime=now() ,eip= ?param1 ,ispce=1 ,istatus=2 where lectno= ?param2 and cmino= ?param3 and istatus=1; update lect a inner join ( select a.lectno,convert(100*count(c.lectno)/count(b.cmino), int) attrate from lectinning a inner join cminning b on b.cmino=a.cmino and ifnull(b.isscd,0)=0 left outer join lectinning c on c.lectno=a.lectno and c.cmino=b.cmino and c.istatus=2 where a.lectno= ?param2 and a.cmino= ?param3 and a.istatus=2 group by a.lectno ) b on b.lectno=a.lectno set a.attrate=b.attrate ,a.etime=now(),a.eip= ?param1 ,a.ispce=1] +2025-12-11 13:57:02,861 - Statement Id: [att.abs] Prepared SQL: [update lectinning set istatus=2 ,stime=case when stime is null then now() else stime end ,etime=case when etime is null then now() else etime end ,sip=case when sip is null then ?param0 else sip end ,eip=case when eip is null then ?param0 else eip end ,ispcs=case when ispcs is null then 1 else ispcs end ,ispce=case when ispce is null then 1 else ispce end ,statustime=now() ,statusreason= ?param1 ,statususerno= ?param2 where lectno= ?param3 and cmino= ?param4 and (istatus is null or istatus<2); insert into lectinning(lectno,cmino,totstudy,stime,etime,istatus,statustime,statusreason,statususerno,cdt,cno,udt,uno,uip) select a.lectno, ?param4 ,0,now(),now(),2,now(), ?param1 , ?param2 ,now(), ?param2 ,now(), ?param2 , ?param0 from lect a left outer join lectinning b on b.lectno=a.lectno and b.cmino= ?param4 where a.lectno= ?param3 and a.status=1 and a.ischanged=0 and b.lectno is null; update lect a inner join ( select a.lectno,convert(100*count(c.lectno)/count(b.cmino), int) attrate from lectinning a inner join lect a2 on a2.lectno=a.lectno inner join cminning b on b.cmno=a2.cmno and ifnull(b.isscd,0)=0 left outer join lectinning c on c.lectno=a.lectno and c.cmino=b.cmino and c.istatus=2 where a.lectno= ?param3 and a.cmino= ?param4 and a.istatus=2 group by a.lectno ) b on b.lectno=a.lectno set a.attrate=b.attrate ,a.stime=case when a.stime is null then now() else a.stime end ,a.etime=case when a.etime is null then now() else a.etime end ,a.sip=case when a.sip is null then ?param0 else a.sip end ,a.eip=case when a.eip is null then ?param0 else a.eip end ,a.ispcs=case when a.ispcs is null then 1 else a.ispcs end ,a.ispce=case when a.ispce is null then 1 else a.ispce end where a.lectno= ?param3] +2025-12-11 13:57:02,887 - Statement Id: [cr.ctps] Prepared SQL: [select a.cmino,a.iseq,a.ititle,a.atime,a.mstime,a.metime ,a2.isokmid ,b.ctno,b.ctype,b.ccode,b.ismenu,b.isoversize ,c.cpno,c.pseq,c.cpname,c.srcp,c.srcm ,a2.pseq lastpseq,a2.psec from cminning a inner join lectinning a2 on a2.lectno= ?param0 and a2.cmino=a.cmino inner join ct b on b.ctno=a.ctno and b.isdel=0 inner join ctpage c on c.ctno=b.ctno and c.isdel=0 where a.cmino= ?param1 order by a.iseq] +2025-12-11 13:57:02,887 - Statement Id: [cr.getprogress] Prepared SQL: [select case when b.atime=0 or ifnull(us.no,0) > 0 then 100 else case when floor(a.totstudy / (b.sttime * 60) * 100) > 100 then 100 else floor(a.totstudy / (b.sttime * 60) * 100) end end from lectinning a inner join cminning b on b.cmino=a.cmino inner join lect c on a.lectno = c.lectno left outer join userstatus us on c.userno = us.userno and us.playbar = 1 where a.lectno= ?param0 and a.cmino= ?param1] +2025-12-11 13:57:02,887 - Statement Id: [cr.checklectdate] Prepared SQL: [select a.lectno,a.sdate,a.edate from lect a where a.lectno= ?param0] +2025-12-11 13:57:02,887 - Statement Id: [cr.inningchange.pre] Prepared SQL: [select a.cmino,b.isseq,c.istatus,d.istatus preistatus,a.isrebate,a.iseq,a2.cmino precmino from ( select a.lectno,a.cmno,a.isrebate,b.cmino,b.iseq,max(c.iseq) preiseq from ( select a.lectno,b.cmno,b.isrebate,max(d.iseq) iseq from lectinning a inner join lect b on b.lectno=a.lectno inner join cminning c on c.cmino=a.cmino inner join cminning d on d.cmno=c.cmno and d.iseq < c.iseq and d.isonline=1 where a.lectno= ?param0 and a.cmino= ?param1 group by a.lectno,b.cmno,b.isrebate ) a inner join cminning b on b.cmno=a.cmno and b.iseq=a.iseq left outer join cminning c on c.cmno=b.cmno and c.iseq < b.iseq and c.isonline=1 group by a.lectno,a.cmno,a.isrebate,b.cmino,b.iseq ) a inner join cm b on b.cmno=a.cmno left outer join cminning a2 on a2.cmno=b.cmno and a2.iseq=a.preiseq left outer join lectinning c on c.lectno=a.lectno and c.cmino=a.cmino left outer join lectinning d on d.lectno=a.lectno and d.cmino=a2.cmino] +2025-12-11 13:57:02,887 - Statement Id: [cr.inningchange.next] Prepared SQL: [select a.cmino,b.isseq,c.istatus,d.istatus preistatus,a.isrebate,a.iseq,a2.cmino precmino from ( select a.lectno,a.cmno,a.isrebate,b.cmino,b.iseq,min(c.iseq) preiseq from ( select a.lectno,b.cmno,b.isrebate,min(d.iseq) iseq from lectinning a inner join lect b on b.lectno=a.lectno inner join cminning c on c.cmino=a.cmino inner join cminning d on d.cmno=c.cmno and d.iseq > c.iseq and d.isonline=1 where a.lectno= ?param0 and a.cmino= ?param1 group by a.lectno,b.cmno,b.isrebate ) a inner join cminning b on b.cmno=a.cmno and b.iseq=a.iseq left outer join cminning c on c.cmno=b.cmno and c.iseq > b.iseq and c.isonline=1 group by a.lectno,a.cmno,a.isrebate,b.cmino,b.iseq ) a inner join cm b on b.cmno=a.cmno left outer join cminning a2 on a2.cmno=b.cmno and a2.iseq=a.preiseq left outer join lectinning c on c.lectno=a.lectno and c.cmino=a.cmino left outer join lectinning d on d.lectno=a.lectno and d.cmino=a2.cmino] +2025-12-11 13:57:02,888 - Statement Id: [cr.mycmrs] Prepared SQL: [select distinct a.lectno,a.attrate ,b.rsno,b.cmno,b.rscno,b.rstype,b.rsname,b.rscondition ,case when c.lectno is null then 0 else 1 end isrsok ,a.edate ,d.istatus,e.iseq from lect a inner join cmrs b on b.cmno=a.cmno and b.isdel=0 left outer join lectrs c on c.lectno=a.lectno and c.rsno=b.rsno left outer join lectinning d on d.lectno=a.lectno and b.cmino = d.cmino left outer join cminning e on b.cmino = e.cmino where a.lectno= ?param0 and a.userno= ?param1 order by b.rsno] +2025-12-11 13:57:02,888 - Statement Id: [cr.mycmrsq] Prepared SQL: [select b.rscno,b.rscqno ,c.qno,c.atype,c.qtext,c.rightcount,a.username as teachername from ( select distinct b.rscno,e.username from lect a inner join cmrs b on b.rsno= ?param0 and b.cmno=a.cmno and b.isdel=0 left outer join lectrs c on c.lectno=a.lectno and c.rsno=b.rsno left outer join cminning d on b.cmino = d.cmino left outer join users e on d.userno = e.userno where a.lectno= ?param1 and a.userno= ?param2 and c.lectno is null ) a inner join rscq b on b.rscno=a.rscno inner join question c on c.qno=b.qno order by b.dseq] +2025-12-11 13:57:02,888 - Statement Id: [cr.mycmrsqi] Prepared SQL: [select b.rscqno ,c.qno ,d.qino,d.qitext ,e.fileurl from ( select distinct b.rscno from lect a inner join cmrs b on b.rsno= ?param0 and b.cmno=a.cmno and b.isdel=0 left outer join lectrs c on c.lectno=a.lectno and c.rsno=b.rsno where a.lectno= ?param1 and a.userno= ?param2 and c.lectno is null ) a inner join rscq b on b.rscno=a.rscno inner join question c on c.qno=b.qno inner join questionitem d on d.qno=c.qno and d.isdel=0 left outer join fileinfo e on e.fgno=d.fgno and e.isdel=0 order by b.dseq,d.qino] +2025-12-11 13:57:02,889 - Statement Id: [cr.lectex] Prepared SQL: [select a.lectno,a.attrate,a.iscomplete,a.sdate,a.edate ,b.sstime,b.setime ,c.exno,c.exname,c.extype,c.edesc,c.econdition,c.etime,c.evtype,c.eqtype,c.israndq,c.israndqi,c.qcount,c.isblur,c.tpoint,ifnull(c.relaylimit,999) relaylimit,c.isusebackup,c.isseq,c.isreexamable,c.isresultopen ,d.lectno exlectno,d.estart,d.eend,d.tpoint,d.recount,d.rechecktime,ifnull(d.entercount,0) entercount,d.cblock ,case when a.etime = 0 then 99999999 else TIMESTAMPDIFF(MINUTE, now(), date_add(ifnull(d.estart, now()), interval c.etime MINUTE)) end rtime ,d.recount ,case when case when case when a.isrebate = 1 then f.midcutrfd else f.midcut end <= ifnull(e.ex0lectpoint,0) then 1 else 0 end = 1 and case when case when a.isrebate = 1 then f.finalcutrfd else f.finalcut end <= ifnull(e.ex1lectpoint,0) then 1 else 0 end = 1 then 1 else 0 end ispass from lect a inner join cm b on b.cmno=a.cmno inner join cmex c on c.exno= ?param0 inner join cmev f on f.cmno = b.cmno left outer join lectex d on d.lectno=a.lectno and d.exno=c.exno left outer join ( select a.lectno ,count(b1.exno) ex0cnt,count(c1.lectno) ex0lectcnt,avg(ifnull(c1.tpoint,0) / b1.tpoint * 100) ex0lectpoint ,count(b2.exno) ex1cnt,count(c2.lectno) ex1lectcnt,avg(ifnull(c2.tpoint,0) / b2.tpoint * 100) ex1lectpoint from lect a left outer join cmex b1 on b1.cmno = a.cmno and b1.extype = 0 and b1.isdel=0 left outer join lectex c1 on c1.exno = b1.exno and c1.lectno = a.lectno left outer join cmex b2 on b2.cmno = a.cmno and b2.extype = 1 and b2.isdel=0 left outer join lectex c2 on c2.exno = b2.exno and c2.lectno = a.lectno where a.lectno = ?param1 ) e on e.lectno = a.lectno where a.lectno= ?param1 and a.userno= ?param2] +2025-12-11 13:57:02,889 - Statement Id: [cr.userexam.detailforexamforsubmit] Prepared SQL: [select a.exno,a.exname,a2.sstime,a2.setime,a.tpoint,a.etime,a.qcount,b.estart,a.edesc, a.extype,TIMESTAMPDIFF(MINUTE, now(), date_add(ifnull(b.estart, now()), interval a.etime MINUTE)) rtime from cmex a inner join cm a2 on a2.cmno=a.cmno inner join lectex b on b.lectno= ?param0 and b.exno=a.exno and b.eend is null and (a.etime = 0 or date_add(ifnull(b.estart, now()), interval (a.etime + 1) MINUTE) > now()) inner join lect c on c.lectno=b.lectno and c.userno= ?param1 where a.exno= ?param2] +2025-12-11 13:57:02,889 - Statement Id: [cr.lectsd] Prepared SQL: [select a.lectno,a.attrate,a.cmno,a.sdate,a.edate ,b.sdno,b.sdname,b.sddesc,b.fgno sdfgno,b.sdcondition ,c.sstime,c.setime ,d.checktime,d.cpoint,d.feedb,d.fgno,d.atext from lect a inner join cmsd b on b.cmno=a.cmno and b.sdno= ?param0 inner join cm c on c.cmno=b.cmno left outer join lectsd d on d.lectno=a.lectno and d.sdno=b.sdno where a.lectno= ?param1 and a.userno= ?param2] +2025-12-11 13:57:02,890 - Statement Id: [cr.lectsd2] Prepared SQL: [select a.lectno,a.attrate,a.sdate,a.edate ,b.sdno,b.sdname,b.sddesc,b.fgno sdfgno,b.sdcondition ,c.sstime,c.setime ,d.checktime,d.cpoint,d.feedb,d.fgno,d.atext from lect a inner join cmsd b on b.cmno=a.cmno and b.sdno= ?param0 inner join cm c on c.cmno=b.cmno left outer join lectsd d on d.lectno=a.lectno and d.sdno=b.sdno where a.lectno= ?param1 and a.userno= ?param2] +2025-12-11 13:57:02,890 - Statement Id: [cr.lectsdboards] Prepared SQL: [select a.bno,a.subject,a.cdt,a.rcount ,u.username ,count(b.bcno) ccount from lectsdboard a inner join users u on u.userno=a.cno left outer join lectsdboardcmt b on b.bno=a.bno and b.isdel=0 where a.sdno= ?param0 and a.isdel=0 group by a.bno,a.subject,a.cdt,a.rcount,u.username order by a.cdt] +2025-12-11 13:57:02,890 - Statement Id: [cr.lectsdboard] Prepared SQL: [update lectsdboard set rcount=rcount+1 where bno= ?param0 and cno<> ?param1 ; select a.bno,a.subject,a.contents,a.cdt,a.fgno,a.cno ,b.sdname ,c.sstime,c.setime,l.sdate,l.edate ,u.username,u.userno ,a2.checktime from lectsdboard a inner join lectsd a2 on a2.lectno=a.lectno and a2.sdno=a.sdno inner join users u on u.userno=a.cno inner join lect l on l.lectno = a2.lectno inner join cmsd b on b.sdno=a.sdno inner join cm c on c.cmno=b.cmno where a.bno= ?param0 and a.isdel=0] +2025-12-11 13:57:02,890 - Statement Id: [cr.lectsdboardcmt] Prepared SQL: [select a.bno ,b.bcno,b.ctext,b.cno,b.cdt ,c.userno,c.username,c.usertype,c.username cnoname from lectsdboard a inner join lectsdboardcmt b on b.bno=a.bno and b.isdel=0 inner join users c on c.userno=b.cno where a.bno= ?param0 order by b.cdt desc] +2025-12-11 13:57:02,891 - Statement Id: [cr.pay1] Prepared SQL: [select p.payno,p.cdt,p.payamt,p.ptype,p.refundamt,p.ispg,p.isgroup,p.isexam,p.pstatus,p.rstatus,p.payoktime,p.pgkey,p.isdvr,p.deliamt,p.isunpay,p.paylimit ,p.iscashrct ,u.userno,u.username,u.post,u.address1,u.address2 ,CAST(AES_DECRYPT(UNHEX(u.userpno), 'np123@!') AS char) userpno ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,CAST(AES_DECRYPT(UNHEX(u.email), 'np123@!') AS char) email ,case pi.ptype when 3 then exu.cdt when 4 then le.oktime else p.cdt end oktime ,pd.dvrcode,pd.rcvname,pd.isdvr isdvr2,pd.codetime,pd.post post2,pd.address1 address12,pd.address2 address22,pd.dmemo ,CAST(AES_DECRYPT(UNHEX(pd.telno), 'np123@!') AS char) telno2 ,CAST(AES_DECRYPT(UNHEX(pd.mobile), 'np123@!') AS char) mobile2 ,tax.iscancel, tax.taxdate, tax.taxno ,paydata.vactbankname,CAST(AES_DECRYPT(UNHEX(paydata.vactnum), 'np123@!') AS char) vactnum,paydata.vactname ,(select ischeck from paytax where payno = p.payno limit 1) ischeck from pay p inner join users u on u.userno=p.userno left outer join payitem pi on pi.payno=p.payno and pi.ptype in (3,4) left outer join lect le on pi.ptype=4 and le.pino=pi.pino and le.ischanged=0 left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno left outer join examuser exu on exu.exno=ex.exno and exu.userno=p.userno left outer join paydvr pd on pd.payno=p.payno left outer join ( select pt.payno,pt.iscancel,pt.taxdate,pt.taxno from paytax pt where pt.payno = ?param0 order by pt.cdt desc limit 1 ) tax on tax.payno = p.payno left outer join paydata paydata on paydata.payno=p.payno where p.payno= ?param0] +2025-12-11 13:57:02,891 - Statement Id: [cr.pay2] Prepared SQL: [select pi.payno,pi.pino,pi.itemno,pi.pcno,pi.payamt,pi.pcnt,pi.ptype,pi.isrebate ,case pi.ptype when 2 then bk.bkname when 3 then ex.exname else cm.cname end itemname ,u.username,u.userid,u.isassignuser,u.depart,u.kfcfyear ,cc.cname ccpositionname ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,ua.asname ,cm.cshape ,cg.cgname ,pcg.cgname pcgname ,(select attrate from lect where payno = pi.payno limit 1) attrate ,pi.rbank , CAST(AES_DECRYPT(UNHEX(pi.rbankaccnum), 'np123@!') AS char) rbankaccnum, pi.tbankuser from payitem pi inner join pay p on p.payno=pi.payno left outer join cm cm on pi.ptype in (0,1,4) and cm.cmno=pi.itemno left outer join cg cg on pi.ptype in (0,1,4) and cg.cgno=cm.cgno left outer join cg pcg on pcg.cgno=cg.pcgno left outer join book bk on pi.ptype=2 and bk.bkno=pi.itemno left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno left outer join users u on p.isgroup=1 and u.userno=pi.userno left outer join assign ua on ua.asno=u.asno left outer join comcode cc on cc.ccode=u.ccposition where pi.payno= ?param0] +2025-12-11 13:57:02,892 - Statement Id: [cr.payforexam1] Prepared SQL: [select eu.exno payno, eu.userno,eu.cdt,case when ua.isjoin=1 then ex.infee else ex.outfee end payamt,0 ptype,0 ispg,0 isgroup,1 isexam,21 pstatus,0 rstatus,null payoktime,null pgkey,0 isdvr,0 deliamt ,u.username,u.post,u.address1,u.address2 ,CAST(AES_DECRYPT(UNHEX(u.userpno), 'np123@!') AS char) userpno ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,CAST(AES_DECRYPT(UNHEX(u.email), 'np123@!') AS char) email ,eu.cdt oktime ,null dvrcode,null rcvname,0 isdvr2,null codetime,null post2,null address12,null address22,null dmemo ,null telno2 ,null mobile2 from examuser eu inner join users u on u.userno=eu.userno left outer join assign ua on ua.asno=u.asno left outer join exam ex on ex.exno=eu.exno where eu.exno= ?param0 and eu.userno= ?param1 and eu.status=1 and eu.payno is null and eu.pino is null and eu.pstatus=4] +2025-12-11 13:57:02,892 - Statement Id: [cr.payforexam2] Prepared SQL: [select eu.exno payno,eu.userno pino,eu.exno itemno,null pcno,case when ua.isjoin=1 then ex.infee else ex.outfee end payamt,1 pcnt,3 ptype ,ex.exname itemname ,u.username,u.userid,u.isassignuser,u.depart,u.kfcfyear ,cc.cname ccpositionname ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,ua.asname ,0 cshape ,null cgname ,null pcgname from examuser eu left outer join exam ex on ex.exno=eu.exno left outer join users u on u.userno=eu.userno left outer join assign ua on ua.asno=u.asno left outer join comcode cc on cc.ccode=u.ccposition where eu.exno= ?param0 and eu.userno= ?param1] +2025-12-11 13:57:02,892 - Statement Id: [cr.pay.forrfd] Prepared SQL: [select a.payno,a.ispg,a.pstatus,a.ptype,a.pgkey,a.isdvr,a.deliamt,a.isrefunddvr,a.payamt,a.refundamt,a.rstatus,a.isgroup,a.iscanceled,a.payoktime ,b.isdvr isdvr2,b.dvrcode ,CAST(AES_DECRYPT(UNHEX(u.email), 'np123@!') AS char) email from pay a left outer join paydvr b on b.payno=a.payno inner join users u on u.userno=a.userno where a.payno= ?param0 and a.pstatus=1] +2025-12-11 13:57:02,892 - Statement Id: [cr.payitem.forrfd] Prepared SQL: [select pi.pino,pi.payno,pi.pcnt,pi.payamt,pi.refundamt,pi.refundtime,pi.refundinfo,pi.refundstatus,pi.rstatus,pi.ptype ,case pi.ptype when 2 then bk.bkname when 3 then ex.exname else cm.cname end itemname ,pcg.cgname pcgname ,u.userid,u.username from payitem pi inner join pay p on p.payno=pi.payno and p.pstatus=1 inner join users u on u.userno=case when pi.ptype=3 then p.userno else pi.userno end left outer join cm cm on pi.ptype in(0,1,4) and cm.cmno=pi.itemno left outer join cg cg on cg.cgno=cm.cgno left outer join cg pcg on pcg.cgno=cg.pcgno left outer join book bk on pi.ptype=2 and bk.bkno=pi.itemno left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno where pi.payno= ?param0] +2025-12-11 13:57:02,892 - Statement Id: [cr.payrfditems] Prepared SQL: [select b.cdt,a.rfdno ,b.rtext,b.rstatus ,p.isgroup ,case pi.ptype when 2 then bk.bkname when 3 then ex.exname else cm.cname end itemname ,pi.ptype ,u.username,u.userid from pay p inner join payitem pi on pi.payno=p.payno inner join payrfditem a on a.pino=pi.pino inner join payrfd b on b.rfdno=a.rfdno inner join users u on u.userno=case when p.isgroup=1 and pi.ptype in (0,1,4) then pi.userno else p.userno end left outer join cm cm on pi.ptype in(0,1,4) and cm.cmno=pi.itemno left outer join cg cg on cg.cgno=cm.cgno left outer join cg pcg on pcg.cgno=cg.pcgno left outer join book bk on pi.ptype=2 and bk.bkno=pi.itemno left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno where p.payno= ?param0 order by a.rfdno desc] +2025-12-11 13:57:02,893 - Statement Id: [cr.payrfditems2] Prepared SQL: [select a.rfdno ,b.rtext,b.rstatus,b.cdt,b.isowner,b.ramt,b.bankname,b.bankowner ,b.rreason,b.ruser,b.fgnor,b.fgnob ,CAST(AES_DECRYPT(UNHEX(b.rphone), 'np123@!') AS char) rphone ,b.rback ,CAST(AES_DECRYPT(UNHEX(b.bankno), 'np123@!') AS char) bankno ,p.isgroup,p.payno ,pi.payamt ,case pi.ptype when 2 then bk.bkname when 3 then ex.exname else cm.cname end itemname ,u.username,u.userid ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,ua.asname ,f1.orgname,f1.fileno ,f2.orgname orgname2,f2.fileno file2 from payrfditem a inner join payitem pi on pi.pino=a.pino inner join pay p on p.payno=pi.payno inner join users u on u.userno=case when p.isgroup=1 and pi.ptype in (0,1,4) then pi.userno else p.userno end left outer join assign ua on ua.asno=u.asno inner join payrfd b on b.rfdno=a.rfdno left outer join cm cm on pi.ptype in(0,1,4) and cm.cmno=pi.itemno left outer join cg cg on cg.cgno=cm.cgno left outer join cg pcg on pcg.cgno=cg.pcgno left outer join book bk on pi.ptype=2 and bk.bkno=pi.itemno left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno left outer join fileinfo f1 on f1.fgno=b.fgnor and f1.isdel=0 left outer join fileinfo f2 on f2.fgno=b.fgnob and f2.isdel=0 where a.rfdno= ?param0 order by a.rfdno desc] +2025-12-11 13:57:02,894 - Statement Id: [cr.paytaxitem] Prepared SQL: [select case pi.ptype when 2 then bk.bkname when 3 then ex.exname else cm.cname end itemname,pi.payamt,pi.pcnt,pi.ptype ,p.isgroup,p.payamt ppayamt,p.payoktime,p.ptype pptype from paytax a inner join paytaxitem b on b.taxno=a.taxno inner join payitem pi on pi.pino=b.pino inner join pay p on p.payno=pi.payno left outer join cm cm on pi.ptype in (0,1,4) and cm.cmno=pi.itemno left outer join book bk on pi.ptype=2 and bk.bkno=pi.itemno left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno where a.taxno= ?param0] +2025-12-11 13:57:02,894 - Statement Id: [cr.paytaxes2] Prepared SQL: [select a.taxno,a.taxamt,a.taxdate from paytax a where a.payno= ?param0] +2025-12-11 13:57:02,894 - Statement Id: [cr.paytax.formgtkey] Prepared SQL: [select taxno, mgtkey from paytax where mgtkey like concat( ?param0 ,'%') order by mgtkey desc limit 1] +2025-12-11 13:57:02,895 - Statement Id: [cr.documnetspast] Prepared SQL: [select a.no,a.kind,a.cg,a.cshape,a.username ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!') AS char) userpno ,a.typeman,a.edukind,a.typeedu,a.typegrade,a.typejob,a.cgname,a.completeno,a.companyname,a.companyaddr,a.brno,a.eino,a.btype ,a.bkind,a.ceoname,date_format(a.ssdate, '%Y-%m-%d') ssdate,date_format(a.sedate, '%Y-%m-%d') sedate,a.sctime,a.assign,a.slevel,a.uduty ,CAST(AES_DECRYPT(UNHEX(a.phone), 'np123@!') AS char) phone ,a.mname ,CAST(AES_DECRYPT(UNHEX(a.mphone), 'np123@!') AS char) mphone ,a.sprice,a.rprice,a.rbank ,CAST(AES_DECRYPT(UNHEX(a.rbankno), 'np123@!') AS char) rbankno ,a.rbankuser ,CAST(AES_DECRYPT(UNHEX(a.taxemail), 'np123@!') AS char) taxemail ,a.syear,a.cdt,a.cno,a.udt,a.uno,a.uip from docprintpast a where a.no = ?param0] +2025-12-11 13:57:02,895 - Statement Id: [cr.documnetspasts.kind] Prepared SQL: [select a.kind value,a.kind text from docprintpast a where a.kind is not null and a.kind <> "" group by a.kind] +2025-12-11 13:57:02,895 - Statement Id: [cr.documnetspasts.syear] Prepared SQL: [select a.syear value,a.syear text from docprintpast a where a.syear is not null and a.syear <> "" group by a.syear] +2025-12-11 13:57:02,895 - Statement Id: [cr.documnetspasts.cg] Prepared SQL: [select a.cg value,a.cg text from docprintpast a where a.cg is not null and a.cg <> "" group by a.cg] +2025-12-11 13:57:02,895 - Statement Id: [cr.documnetspasts.cshape] Prepared SQL: [select a.cshape value,a.cshape text from docprintpast a where a.cshape is not null and a.cshape <> "" group by a.cshape] +2025-12-11 13:57:02,895 - Statement Id: [cr.documnetspasts.typeman] Prepared SQL: [select a.typeman value,a.typeman text from docprintpast a where a.typeman is not null and a.typeman <> "" group by a.typeman] +2025-12-11 13:57:02,895 - Statement Id: [cr.documnetspasts.edukind] Prepared SQL: [select a.edukind value,a.edukind text from docprintpast a where a.edukind is not null and a.edukind <> "" group by a.edukind] +2025-12-11 13:57:02,896 - Statement Id: [cr.documnetspasts.typeedu] Prepared SQL: [select a.typeedu value,a.typeedu text from docprintpast a where a.typeedu is not null and a.typeedu <> "" group by a.typeedu] +2025-12-11 13:57:02,896 - Statement Id: [cr.documnetspasts.typegrade] Prepared SQL: [select a.typegrade value,a.typegrade text from docprintpast a where a.typegrade is not null and a.typegrade <> "" group by a.typegrade] +2025-12-11 13:57:02,896 - Statement Id: [cr.documnetspasts.typejob] Prepared SQL: [select a.typejob value,a.typejob text from docprintpast a where a.typejob is not null and a.typejob <> "" group by a.typejob] +2025-12-11 13:57:02,896 - Statement Id: [cr.lectinningpage.totstudy] Prepared SQL: [select ifnull(sum(totstudy),-1) totstudy from lectinningpage where lectno = ?param0 and cmino = ?param1 and cpno = ?param2] +2025-12-11 13:57:02,896 - Statement Id: [cr.myExCheck] Prepared SQL: [select l.lectno longval from lect l inner join cm c on l.cmno= c.cmno inner join pay p on l.payno = p.payno inner join users u on l.userno= u.userno left outer join (select c.cmno , c.cshape , c.cname , ci.cmino ,d.cmisno ,d.sseq ,d.estart ,d.eend ,d.studyplace ,ci.isscd from cm c inner join cminning ci on c.cmno = ci.cmno inner join cminningscd d on d.cmino = ci.cmino where c.cshape=2 and ci.isscd=1 and ci.scdtype=0 ) cmi on cmi.cmno = l.cmno and cmi.cmisno = l.cmisno left outer join lectinning li on li.cmino = cmi.cmino and li.lectno = l.lectno left outer join pplog pl on p.pplno= pl.pplno where l.lectno= ?param0 and l.userno = ?param1 and cmi.isscd = 1 and li.istatus = 2 AND IFNULL(l.iscomplete, 0) = 0] +2025-12-11 13:57:02,898 - Statement Id: [cr.lectinningpage.in.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,899 - Statement Id: [cr.lectsdboard.in] Prepared SQL: [update lectsd a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno set a.udt=now(),a.uno= ?param1 ,a.uip= ?param2 ,a.submittime=now(),submitip= ?param2 where a.lectno= ?param3 and a.sdno= ?param4 and a.checktime is null; insert into lectsd (lectno,sdno,iscopy,submittime,submitip,cdt,cno,udt,uno,uip) select a.lectno,a.sdno,0,now(), ?param2 ,now(), ?param1 ,now(), ?param1 , ?param2 from (select ?param3 lectno, ?param0 userno, ?param4 sdno) a inner join lect b on b.lectno=a.lectno and b.userno=a.userno and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno left outer join lectsd d on d.lectno=a.lectno and d.sdno=a.sdno where d.lectno is null; SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into lectsdboard (lectno,sdno,subject,contents,fgno,rcount,cip,isdel,cdt,cno,udt,uno,uip) select a.lectno,a.sdno, ?param5 , ?param6 , ?param7 ,0, ?param2 ,0,now(), ?param1 ,now(), ?param1 , ?param2 from (select ?param3 lectno, ?param0 userno, ?param4 sdno) a inner join lect b on b.lectno=a.lectno and b.userno=a.userno and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno] +2025-12-11 13:57:02,899 - Statement Id: [cr.lectsdboard.in.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,899 - Statement Id: [cr.lectsdboardcmt.in] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into lectsdboardcmt (bno,ctext,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 ,0,now(), ?param2 ,now(), ?param2 , ?param3 );] +2025-12-11 13:57:02,900 - Statement Id: [cr.lectsdboardcmt.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,900 - Statement Id: [cr.examuserpayok] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into pay (ptype,ispg,isgroup,isexam,userno,username,pstatus,rstatus,rstatustime,cshrcancelnum,canceltime,cancelmsg,cancelcnt ,refunding,paylimit,payoktime,pgkey,orgamt,discamt,deliamt,isrefunddvr,payamt,refundamt,isdvr,cdt,cno,udt,uno,uip) select ?param0 ,0,0,1,u.userno,u.username,1,0,null,null,null,null,null ,0,null, ?param1 ,null ,a.outfee ,case when ?param0 = 6 then a.outfee else case when ua.isjoin=1 then a.outfee-a.infee else 0 end end ,0,0 ,case when ?param0 = 6 then 0 else case when ua.isjoin=1 then a.infee else a.outfee end end ,0,0,now(), ?param2 ,now(), ?param2 , ?param3 from exam a inner join users u on u.userno= ?param4 left outer join assign ua on ua.asno=u.asno where a.exno= ?param5] +2025-12-11 13:57:02,900 - Statement Id: [cr.examuserpayok.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,900 - Statement Id: [cr.examuserpayok2] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into payitem (payno,ptype,pcno,itemno,userno,pstatus,rstatus,pgkey,cancelcode,cancelmsg,canceltype,pcnt ,orgamt,discamt,payamt ,payamtcash,payamtcard ,refundamt,refundtime,refundtimereal,refundinfo,isrebate,fgno,cartno,cdt,cno,udt,uno,uip) select p.payno,3,null, ?param0 , ?param1 ,1,0,null,null,null,null,1 ,a.outfee ,case when p.ptype=6 then a.outfee else case when ua.isjoin=1 then a.outfee-a.infee else 0 end end ,case when p.ptype=6 then 0 else case when ua.isjoin=1 then a.infee else a.outfee end end ,0,0 ,0,null,null,null,0,null,null,now(), ?param2 ,now(), ?param2 , ?param3 from exam a inner join users u on u.userno= ?param1 inner join pay p on p.payno= ?param4 left outer join assign ua on ua.asno=u.asno where a.exno= ?param0] +2025-12-11 13:57:02,901 - Statement Id: [cr.examuserpayok2.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,901 - Statement Id: [cr.studylog] Prepared SQL: [update lectinningpage a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 set a.totstudy=TIMESTAMPDIFF(SECOND, a.stime, now()),a.etime=now(),a.eip= ?param1 ,a.udt=now(),a.uno= ?param2 ,a.uip= ?param1 where a.logno= ?param3 ; update lectinning a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 inner join cminning c on c.cmino=a.cmino inner join ( select lectno,sum(totstudy) totstudy from lectinningpage where lectno= ?param4 and cmino= ?param5 group by lectno ) d on d.lectno=a.lectno set a.udt=now(),a.uno= ?param2 ,a.uip= ?param1 ,a.totstudy=d.totstudy ,a.etime=now() ,a.istatus=case when a.istatus <> 2 and c.atime * 60 <= d.totstudy then 2 else a.istatus end ,a.finishtime=case when a.finishtime is null and c.atime * 60 <= d.totstudy then now() else a.finishtime end ,a.eip= ?param1 ,a.ispce= ?param6 ,a.psec= ?param7 where a.lectno= ?param4 and a.cmino= ?param5 ; update lect a inner join ( select a.lectno,truncate(count(c.lectno) / count(b.cmino) * 100, 0) attrate from lect a inner join cminning b on b.cmno=a.cmno and ifnull(b.isscd,0)=0 left outer join lectinning c on c.lectno=a.lectno and c.cmino=b.cmino and c.istatus=2 where a.lectno= ?param4 and a.userno= ?param0 group by a.lectno ) b on b.lectno=a.lectno inner join cmev ce on a.cmno = ce.cmno set a.attrate=b.attrate ,a.apoint = (((b.attrate / 100) * ce.attend / 100)* 100) ,a.etime=now() ,a.eip= ?param1 ,a.ispce= ?param6 ,a.udt=now(),a.uno= ?param2 ,a.uip= ?param1 where a.lectno= ?param4 and a.userno= ?param0 ;] +2025-12-11 13:57:02,901 - Statement Id: [cr.studymid] Prepared SQL: [update lectinning set isokmid=1 where lectno= ?param0 and cmino= ?param1] +2025-12-11 13:57:02,902 - Statement Id: [cr.lectsd.save] Prepared SQL: [update lectsd a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno set a.udt=now(),a.uno= ?param1 ,a.uip= ?param2 ,a.fgno= ?param3 ,a.atext= ?param4 ,a.submittime=now(),submitip= ?param2 where a.lectno= ?param5 and a.sdno= ?param6 and a.checktime is null; insert into lectsd (lectno,sdno,atext,fgno,iscopy,submittime,submitip,cdt,cno,udt,uno,uip) select a.lectno,a.sdno, ?param4 , ?param3 ,0,now(), ?param2 ,now(), ?param1 ,now(), ?param1 , ?param2 from (select ?param5 lectno, ?param0 userno, ?param6 sdno) a inner join lect b on b.lectno=a.lectno and b.userno=a.userno inner join cm c on c.cmno=b.cmno and b.sdate < now() and b.edate > now() left outer join lectsd d on d.lectno=a.lectno and d.sdno=a.sdno where d.lectno is null;] +2025-12-11 13:57:02,902 - Statement Id: [cr.lectsdboard.save] Prepared SQL: [update lectsd a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno set a.udt=now(),a.uno= ?param1 ,a.uip= ?param2 ,a.submittime=now(),submitip= ?param2 where a.lectno= ?param3 and a.sdno= ?param4 and a.checktime is null; update lectsdboard a inner join lectsd a2 on a2.lectno=a.lectno and a2.sdno=a.sdno and a2.checktime is null inner join lect b on b.lectno=a.lectno and b.userno= ?param0 and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno set a.udt=now(),a.uno= ?param1 ,a.uip= ?param2 ,a.subject= ?param5 ,contents= ?param6 ,a.fgno= ?param7 where a.bno= ?param8 and a.lectno= ?param3 and a.sdno= ?param4 ;] +2025-12-11 13:57:02,902 - Statement Id: [cr.lectsdboard.del] Prepared SQL: [update lectsd a inner join lectsdboard b on b.bno= ?param0 and b.cno= ?param1 and b.isdel=0 and b.lectno=a.lectno and b.sdno=a.sdno inner join lect a2 on a2.lectno=b.lectno and a2.userno=b.cno and a2.sdate < now() and a2.edate > now() inner join cm c on c.cmno=a2.cmno set a.submittime=null,a.submitip=null and a.checktime is null; update lectsdboard a inner join lectsd b on b.lectno=a.lectno and b.sdno=a.sdno and b.checktime is null inner join lect a2 on a2.lectno=b.lectno and a2.userno=a.cno and a2.sdate < now() and a2.edate > now() inner join cm c on c.cmno=a2.cmno set a.uno= ?param2 ,a.udt=now(),a.uip= ?param3 ,a.isdel=1 where a.bno= ?param0 and a.cno= ?param1 and a.isdel=0;] +2025-12-11 13:57:02,903 - Statement Id: [cr.payrefundinfo.up] Prepared SQL: [update payitem set udt=now(),uno= ?param0 ,uip= ?param1 ,rbank = ?param2 ,rbankaccnum = HEX(AES_ENCRYPT( ?param3 , 'np123@!')) ,tbankuser = ?param4 where payno = ?param5] +2025-12-11 13:57:02,903 - Statement Id: [cr.examuserpayok3] Prepared SQL: [update examuser set udt=now(),uno= ?param0 ,uip= ?param1 ,payno= ?param2 ,pino= ?param3 ,pstatus=1 where exno= ?param4 and userno= ?param5 and status=1 and payno is null and pino is null and pstatus=4] +2025-12-11 13:57:02,903 - Statement Id: [cr.examuserpaycancel] Prepared SQL: [update examuser set udt=now(),uno= ?param0 ,uip= ?param1 ,pstatus=9 where exno= ?param2 and userno= ?param3 and status=1 and payno is null and pino is null and pstatus=4] +2025-12-11 13:57:02,904 - Statement Id: [cr.payrfd.save] Prepared SQL: [update payrfd set udt=now(),uno= ?param0 ,uip= ?param1 ,bankname= ?param2 ,bankowner= ?param3 ,bankno=HEX(AES_ENCRYPT( ?param4 , 'np123@!')) ,isowner= ?param5 ,ruser= ?param6 ,rphone=HEX(AES_ENCRYPT( ?param7 , 'np123@!')) ,rreason= ?param8 ,rtext= ?param9 ,rstatus= ?param10 ,rback= ?param11 ,statustime=case when rstatus <> ?param10 then now() else statustime end where rfdno= ?param12] +2025-12-11 13:57:02,907 - Statement Id: [cr.documnetspast.up] Prepared SQL: [update docprintpast set udt=now(),uno= ?param0 ,uip= ?param1 ,kind= ?param2 ,cg= ?param3 ,cshape= ?param4 ,username= ?param5 ,userpno=HEX(AES_ENCRYPT( ?param6 , 'np123@!')) ,typeman= ?param7 ,edukind= ?param8 ,typeedu= ?param9 ,typegrade= ?param10 ,typejob= ?param11 ,cgname= ?param12 ,completeno= ?param13 ,companyname= ?param14 ,companyaddr= ?param15 ,brno= ?param16 ,eino= ?param17 ,btype= ?param18 ,bkind= ?param19 ,ceoname= ?param20 ,ssdate= ?param21 ,sedate= ?param22 ,sctime= ?param23 ,assign= ?param24 ,slevel= ?param25 ,uduty= ?param26 ,phone=HEX(AES_ENCRYPT( ?param27 , 'np123@!')) ,mname= ?param28 ,mphone=HEX(AES_ENCRYPT( ?param29 , 'np123@!')) ,sprice= ?param30 ,rprice= ?param31 ,rbank= ?param32 ,rbankno=HEX(AES_ENCRYPT( ?param33 , 'np123@!')) ,rbankuser= ?param34 ,taxemail=HEX(AES_ENCRYPT( ?param35 , 'np123@!')) ,syear= ?param36 where no= ?param37] +2025-12-11 13:57:02,908 - Statement Id: [cr.studyclose] Prepared SQL: [update lectinningpage a set a.etime=now(),a.eip= ?param0 ,a.udt=now(),a.uno= ?param1 ,a.uip= ?param0 where a.logno= ?param2 ;] +2025-12-11 13:57:02,910 - Statement Id: [site.main] Prepared SQL: [select * from ( select 0 dtype ,a.cmno intval,a.isrefund intval2 ,0 longval ,a.cname strval,b.cgname strval2,a.kname strval3,null strval4,null strval5,null strval6 ,a.rstime time,a.retime time2,a.sstime time3,a.setime time4 from cm a inner join cg b on b.cgno=a.cgno inner join cg b2 on b2.cgno=b.pcgno and b2.cgcode= ?param0 inner join cm c on c.cmno=a.pcmno where a.ismaster=0 and a.rstime < now() and a.retime >= DATE_FORMAT(now(), '%Y%m%d') and a.isuse=1 and a.isdel=0 order by a.retime asc limit 4 ) a union all select * from ( select a.dtype,a.intval,a.intval2 ,a.longval ,a.strval,a.strval2,a.strval3,a.strval4,ifnull(a.strval5,d.fileurl) strval5,a.strval6 ,a.time,a.time2,a.time3,a.time4 from ( select 1 dtype ,a.cmno intval,a.isrefund intval2 ,0 longval ,a.cname strval,b.cgname strval2,c.cname strval3,concat('/', e.ccode, '/', f.srcp) strval4,ef.fileurl strval5,b.cgcode strval6 ,a.rstime time,a.retime time2,a.sstime time3,a.setime time4 from cm a inner join cg b on b.cgno=a.cgno inner join cg b2 on b2.cgno=b.pcgno and b2.cgcode= ?param1 inner join cm c on c.cmno=a.pcmno left outer join cminning d on d.cmno=a.cmno and d.istaste=1 left outer join ct e on e.ctno=d.ctno left outer join fileinfo ef on ef.fgno=e.fgnothumb and ef.isdel=0 left outer join ctpage f on f.ctno=e.ctno and f.pseq=1 where a.ismaster=0 and a.rstime < now() and a.retime >= DATE_FORMAT(now(), '%Y%m%d') and a.cshape=0 and a.isuse=1 and a.isdel=0 order by a.retime asc limit 4 ) a left outer join cminning b on a.strval5 is null and b.cmno=a.intval and b.iseq=1 left outer join ct c on a.strval5 is null and c.ctno=b.ctno left outer join fileinfo d on a.strval5 is null and d.fgno=c.fgnothumb and d.isdel=0 ) a union all select * from ( select 2 dtype ,0 intval,0 intval2 ,b.bno longval ,c.opname strval,b.subject strval2,null strval3,null strval4,null strval5,null strval6 ,null time,null time2,null time3,null time4 from boardmaster a inner join board b on b.bmno=a.bmno and b.pbno is null and b.isdel=0 and b.issecr=0 and b.isopen=1 left outer join boardmasteropening c on c.opno=b.opno where a.bmcode='homenotice' order by b.cdt desc limit 2 ) a union all select * from ( select 3 dtype ,0 intval,0 intval2 ,b.bno longval ,c.opname strval,b.subject strval2,null strval3,null strval4,null strval5,null strval6 ,null time,null time2,null time3,null time4 from boardmaster a inner join board b on b.bmno=a.bmno and b.pbno is null and b.isdel=0 and b.issecr=0 and b.isopen=1 left outer join boardmasteropening c on c.opno=b.opno where a.bmcode='homefaq' order by b.cdt desc limit 2 ) a] +2025-12-11 13:57:02,927 - Statement Id: [sys.npsystem] PreparedStatement : [select count(b.daokey) from (select 1 col1) a left outer join npsystem b on b.daokey= ?param0] +2025-12-11 13:57:02,937 - Statement Id: [sys.npsystem] Parameters: [?param0=[daokey,qaldSUKDKuLggF2sN2Bn/lvf/i3LKEeOzoD6MpHlc0w=]] +2025-12-11 13:57:02,937 - Statement Id: [sys.npsystem] Types: [?param0=[String, System.String]] +2025-12-11 13:57:03,206 - Open Connection "46989733" to "MySQL, MySQL provider 6.10.5.0". +2025-12-11 13:57:03,223 - Close Connection "46989733" to "MySQL, MySQL provider 6.10.5.0". +2025-12-11 13:57:03,597 - Statement Id: [sys.menu.menuauth] Prepared SQL: [select a.usertype, a.menuno, a.menuname, a.pmenuno, a.menuurl, a.menulevel, a.menuorder, a.ccount, a.isuse, a.ishid ,concat('/',ifnull(b5.menuno, 0), '/', ifnull(b4.menuno, 0), '/', ifnull(b3.menuno, 0), '/', ifnull(b2.menuno, 0), '/', ifnull(b1.menuno, 0), '/', ifnull(a.menuno, 0), '/') menurout ,case a.menulevel when 0 then ' ' when 1 then b1.menuname when 2 then b2.menuname when 3 then b3.menuname when 4 then b4.menuname when 5 then b5.menuname end pmenuname ,b2.menuno ppmenuno from ( select b.usertype, c.menuno, c.menuname, c.pmenuno, c.menuurl, c.menulevel, c.menuorder, count(d.menuno) ccount, c.isuse, c.ishid from menuauth b inner join menu c on c.menuno=b.menuno and c.isuse=1 left outer join menu d on d.pmenuno=c.menuno group by b.usertype, c.menuno, c.menuname, c.pmenuno, c.menuurl, c.menulevel, c.menuorder, c.isuse, c.ishid ) a left outer join menu b1 on b1.menuno=a.pmenuno left outer join menu b2 on b2.menuno=b1.pmenuno left outer join menu b3 on b3.menuno=b2.pmenuno left outer join menu b4 on b4.menuno=b3.pmenuno left outer join menu b5 on b5.menuno=b4.pmenuno where ?param0 = case a.menulevel when 0 then a.menuno when 1 then b1.menuno when 2 then b2.menuno when 3 then b3.menuno when 4 then b4.menuno else b5.menuno end order by a.usertype, case a.menulevel when 0 then a.menuorder when 1 then b1.menuorder when 2 then b2.menuorder when 3 then b3.menuorder when 4 then b4.menuorder else b5.menuorder end ,case a.menulevel when 0 then a.menuno when 1 then b1.menuno when 2 then b2.menuno when 3 then b3.menuno when 4 then b4.menuno else b5.menuno end ,case a.menulevel when 1 then a.menuorder when 2 then b1.menuorder when 3 then b2.menuorder when 4 then b3.menuorder when 5 then b4.menuorder else 0 end ,case a.menulevel when 1 then a.menuno when 2 then b1.menuno when 3 then b2.menuno when 4 then b3.menuno when 5 then b4.menuno else 0 end ,case a.menulevel when 2 then a.menuorder when 3 then b1.menuorder when 4 then b2.menuorder when 5 then b3.menuorder else 0 end ,case a.menulevel when 2 then a.menuno when 3 then b1.menuno when 4 then b2.menuno when 5 then b3.menuno else 0 end ,case a.menulevel when 3 then a.menuorder when 4 then b1.menuorder when 5 then b2.menuorder else 0 end ,case a.menulevel when 3 then a.menuno when 4 then b1.menuno when 5 then b2.menuno else 0 end ,case a.menulevel when 4 then a.menuorder when 5 then b1.menuorder else 0 end ,case a.menulevel when 4 then a.menuno when 5 then b1.menuno else 0 end ,case a.menulevel when 5 then a.menuorder else 0 end ,case a.menulevel when 5 then a.menuno else 0 end] +2025-12-11 13:57:03,597 - Statement Id: [sys.menu.menuauth] PreparedStatement : [select a.usertype, a.menuno, a.menuname, a.pmenuno, a.menuurl, a.menulevel, a.menuorder, a.ccount, a.isuse, a.ishid ,concat('/',ifnull(b5.menuno, 0), '/', ifnull(b4.menuno, 0), '/', ifnull(b3.menuno, 0), '/', ifnull(b2.menuno, 0), '/', ifnull(b1.menuno, 0), '/', ifnull(a.menuno, 0), '/') menurout ,case a.menulevel when 0 then ' ' when 1 then b1.menuname when 2 then b2.menuname when 3 then b3.menuname when 4 then b4.menuname when 5 then b5.menuname end pmenuname ,b2.menuno ppmenuno from ( select b.usertype, c.menuno, c.menuname, c.pmenuno, c.menuurl, c.menulevel, c.menuorder, count(d.menuno) ccount, c.isuse, c.ishid from menuauth b inner join menu c on c.menuno=b.menuno and c.isuse=1 left outer join menu d on d.pmenuno=c.menuno group by b.usertype, c.menuno, c.menuname, c.pmenuno, c.menuurl, c.menulevel, c.menuorder, c.isuse, c.ishid ) a left outer join menu b1 on b1.menuno=a.pmenuno left outer join menu b2 on b2.menuno=b1.pmenuno left outer join menu b3 on b3.menuno=b2.pmenuno left outer join menu b4 on b4.menuno=b3.pmenuno left outer join menu b5 on b5.menuno=b4.pmenuno where ?param0 = case a.menulevel when 0 then a.menuno when 1 then b1.menuno when 2 then b2.menuno when 3 then b3.menuno when 4 then b4.menuno else b5.menuno end order by a.usertype, case a.menulevel when 0 then a.menuorder when 1 then b1.menuorder when 2 then b2.menuorder when 3 then b3.menuorder when 4 then b4.menuorder else b5.menuorder end ,case a.menulevel when 0 then a.menuno when 1 then b1.menuno when 2 then b2.menuno when 3 then b3.menuno when 4 then b4.menuno else b5.menuno end ,case a.menulevel when 1 then a.menuorder when 2 then b1.menuorder when 3 then b2.menuorder when 4 then b3.menuorder when 5 then b4.menuorder else 0 end ,case a.menulevel when 1 then a.menuno when 2 then b1.menuno when 3 then b2.menuno when 4 then b3.menuno when 5 then b4.menuno else 0 end ,case a.menulevel when 2 then a.menuorder when 3 then b1.menuorder when 4 then b2.menuorder when 5 then b3.menuorder else 0 end ,case a.menulevel when 2 then a.menuno when 3 then b1.menuno when 4 then b2.menuno when 5 then b3.menuno else 0 end ,case a.menulevel when 3 then a.menuorder when 4 then b1.menuorder when 5 then b2.menuorder else 0 end ,case a.menulevel when 3 then a.menuno when 4 then b1.menuno when 5 then b2.menuno else 0 end ,case a.menulevel when 4 then a.menuorder when 5 then b1.menuorder else 0 end ,case a.menulevel when 4 then a.menuno when 5 then b1.menuno else 0 end ,case a.menulevel when 5 then a.menuorder else 0 end ,case a.menulevel when 5 then a.menuno else 0 end] +2025-12-11 13:57:03,597 - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[topmenuno,1]] +2025-12-11 13:57:03,597 - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]] +2025-12-11 13:57:03,608 - Open Connection "19325727" to "MySQL, MySQL provider 6.10.5.0". +2025-12-11 13:57:03,666 - Close Connection "19325727" to "MySQL, MySQL provider 6.10.5.0". diff --git a/BO/Logs/query.txt b/BO/Logs/query.txt index b82f859..ee8a86e 100644 --- a/BO/Logs/query.txt +++ b/BO/Logs/query.txt @@ -433,3 +433,422 @@ 2025-12-11 13:51:59,332 [34560] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.cms] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]] 2025-12-11 13:51:59,337 [34560] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14265357" to "MySQL, MySQL provider 6.10.5.0". 2025-12-11 13:51:59,360 [34560] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14265357" to "MySQL, MySQL provider 6.10.5.0". +2025-12-11 13:57:02,357 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select userno,a.username,a.status,a.userpass, usertype,a.asno , CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!') AS char) mobile , a.logintime from users a left outer join assign b on b.asno=a.asno where a.userid= ?param0 and a.usertype > 10 and (a.usertype <> 81 or (a.usertype = 81 and b.status=1))] +2025-12-11 13:57:02,390 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pass.check] Prepared SQL: [select count(userno) from userpasslog where userno = ?param0 and userpass = ?param1] +2025-12-11 13:57:02,391 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.ee] Prepared SQL: [update users set eastereggkey=FLOOR(10000000 + (RAND() * 99999999)),eetime=now() where userno= ?param0 ; select a.userno,a.eastereggkey,a.usertype,a.username ,b.subdomain from users a left outer join assign b on b.asno=a.asno and b.issite=1 and b.isdel=0 where a.userno= ?param0 ;] +2025-12-11 13:57:02,391 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersall] Prepared SQL: [select userno,usertype,jointype,snsid,userkind,userid,userpass,username,usernameeng,gender,birthday,email,isacceptemail,mobile,isacceptmobile,telno,asno,pasname,depart,ccposition,ccpositionetc,fgnoprofile ,ccjobs,userpno,bankname,bankno,post,address1,address2,introhtml,status,exitreason,logintime,loginkey,send335time,pwcalltime,pwcallno,eastereggkey,eetime,kfcfyear,isassignuser,uduty,slevel,edus,remotekey from users] +2025-12-11 13:57:02,391 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.eecall] Prepared SQL: [select userno,usertype,username from users where userno= ?param0 and eastereggkey= ?param1 and date_add(eetime, interval 10 second) > now(); update users set eastereggkey=null,eetime=null,loginkey= ?param2 where userno= ?param0] +2025-12-11 13:57:02,391 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.eecall2] Prepared SQL: [select userno,usertype,username,userid from users where userno= ?param0 and eastereggkey= ?param1 and date_add(eetime, interval 15 second) > now(); update users set eastereggkey=null,eetime=null,loginkey=null where userno= ?param0] +2025-12-11 13:57:02,391 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assign.newascode] Prepared SQL: [select ifnull(max(b.ascode),0) + 1 from (select 1 col1) a left outer join assign b on b.asno is not null] +2025-12-11 13:57:02,392 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.me] Prepared SQL: [select userno,username ,CAST(AES_DECRYPT(UNHEX(email), 'np123@!') AS char) email from users where userno= ?param0] +2025-12-11 13:57:02,392 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usercheckconfirm] Prepared SQL: [select ifnull(b.userno,0) from (select 1 col1) a left outer join usercheck b on b.userno= ?param0 and b.checkkey= ?param1 ; update usercheck set checkkey=0 where userno= ?param0] +2025-12-11 13:57:02,392 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.remotelogin] Prepared SQL: [select a.userno from users a where a.userid= ?param0 and a.status=1 and a.remotekey= ?param1 ; update users set remotekey=null where userid= ?param0] +2025-12-11 13:57:02,392 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.remoteloginnoauth] Prepared SQL: [select a.userno,b.subdomain from users a left outer join assign b on b.asno=a.asno where a.userid= ?param0 and a.status=1] +2025-12-11 13:57:02,393 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.users.assign] Prepared SQL: [select b.asno,b.asname,b.brno ,b.ceoname,b.post,b.address1,b.address2 ,b.btype,b.bkind,b.eino,b.mname ,CAST(AES_DECRYPT(UNHEX(b.mphone), 'np123@!') AS char) mphone ,CAST(AES_DECRYPT(UNHEX(b.taxemail), 'np123@!') AS char) taxemail ,b.fgnobno ,b.isjoin,b.ascode,b.astype,b.asctg,b.joindate,b.status ,c1.cname astypename,c2.cname asctgname from users a inner join assign b on b.asno = a.asno left outer join comcode c1 on c1.ccode=b.astype left outer join comcode c2 on c2.ccode=b.asctg where a.status=1 and a.userno = ?param0] +2025-12-11 13:57:02,393 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.check.snsid] Prepared SQL: [select a.userno,a.usertype,a.jointype,a.snsid,a.userkind,a.userid,a.userpass,a.username,a.usernameeng,a.gender,a.birthday,a.email,a.isacceptemail,a.mobile,a.isacceptmobile ,a.telno,a.asno,a.pasname,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs,a.userpno,a.bankname,a.bankno,a.post,a.address1,a.address2,a.introhtml,a.status,a.exitreason ,a.logintime,a.loginkey,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime,a.kfcfyear,a.isassignuser,a.uduty,a.slevel,a.edus,a.remotekey,a.vssn,a.di,a.ci from users a where a.snsid= ?param0 and a.jointype= ?param1] +2025-12-11 13:57:02,393 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.councels] Prepared SQL: [select a.bno,a.qtext,a.atext ,a.bldgcat ,b.cname bldgcatname ,a.cdt,c.username coname,c.userid coid ,row_number() over(order by a.cdt desc) rno ,count(a.cno) over() pagetotalcount from councel a inner join users c on c.userno = a.cno left outer join comcode b on b.ccode = a.bldgcat where a.userno = ?param0 and a.isdel = 0 order by a.cdt desc] +2025-12-11 13:57:02,393 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.dormants] Prepared SQL: [select a.userno,username,usernameeng,a.email,a.isacceptemail ,a.mobile,a.telno,a.userpno,a.bankno,a.post,a.address1,a.address2 ,a.birthday from userdormant a where a.userno = ?param0] +2025-12-11 13:57:02,393 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.dormants.del] Prepared SQL: [select a.userno longval, regexp_replace(b.userid , '(?<=.{3}).','*') strval ,CAST(AES_DECRYPT(UNHEX(a.mobile),'np123@!') AS char) strval2 ,date_add(a.cdt, interval 335 day) time ,b.isacceptmobile intval from userdormant a inner join users b on b.userno = a.userno where date_format(date_add(a.cdt, interval 335 day),'%Y-%m-%d') = date_format(now(),'%Y-%m-%d')] +2025-12-11 13:57:02,393 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.dormants.save] Prepared SQL: [select a.userno longval, regexp_replace(a.userid , '(?<=.{3}).' , '*') strval ,CAST(AES_DECRYPT(UNHEX(a.mobile),'np123@!') AS char) strval2 ,date_add(a.logintime, interval 335 day) time ,a.isacceptmobile intval from users a where a.usertype =1 and a.status=1 and date_format(date_add(a.logintime, interval 366 day),'%Y-%m-%d') = date_format(now(),'%Y-%m-%d')] +2025-12-11 13:57:02,397 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (logsite,userno, loginstatus, logindata, cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , now(), ?param4 ,now(), ?param4 , ?param5 )] +2025-12-11 13:57:02,399 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.in] Prepared SQL: [insert into users(usertype,userkind,userid,userpass,username,usernameeng ,gender,email,isacceptemail,mobile,telno ,asno,pasname,depart,ccposition,ccpositionetc,fgnoprofile,ccjobs ,userpno,bankname,bankno ,post,address1,address2,introhtml,status,logintime,send335time,pwcalltime,pwcallno,eastereggkey,eetime,kfcfyear,isassignuser,edus ,isacceptmobile,uduty,slevel,jointype,birthday,snsid,di,ci,vssn,ischkatt,authplatform,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,gender,HEX(AES_ENCRYPT( ?param6 , 'np123@!')), ?param7 ,HEX(AES_ENCRYPT( ?param8 , 'np123@!')),HEX(AES_ENCRYPT( ?param9 , 'np123@!')) , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 ,HEX(AES_ENCRYPT( ?param17 , 'np123@!')), ?param18 ,HEX(AES_ENCRYPT( ?param19 , 'np123@!')) , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 ,now(),null,null,null,null,null, ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 ,HEX(AES_ENCRYPT( ?param32 , 'np123@!')), ?param33 , ?param34 , ?param35 , ?param36 , ?param37 , ?param38 ,now(), ?param39 ,now(), ?param39 , ?param40 );] +2025-12-11 13:57:02,401 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,401 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assign.in] Prepared SQL: [insert into assign (ascode,isjoin,joinyear,joinprice,asname,ceoname,brno,grno,btype,bkind,salesamount,homeurl,mcount,aday,astype,asctg,askey,post,address1,address2,fgnobno,fgnobank,joindate,exitdate,status,issite,subdomain,sitename,sitelogo,sitefooter,ismain,isdel, eino,mname,mphone,taxemail,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 ,0,null,null,null,null,0,0, ?param25 , ?param26 ,HEX(AES_ENCRYPT( ?param27 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param28 , 'np123@!')) ,now(), ?param29 ,now(), ?param29 , ?param30 );] +2025-12-11 13:57:02,401 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assign.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,401 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [councel.in] Prepared SQL: [insert into councel(userno,bldgcat,qtext,atext,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 );] +2025-12-11 13:57:02,401 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [councel.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,402 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.change.password] Prepared SQL: [UPDATE users SET userpass = ?param0 , udt = now() , status = (CASE WHEN status = 9 THEN 1 ELSE status END) , pwcalltime = null , pwcallno = null , uip = ?param1 , uno = ?param2 WHERE userid = ?param3 ; INSERT INTO userpasslog (userno, userpass, cdt, uip) SELECT ?param2 , ?param0 , NOW(), ?param1 FROM (SELECT 1) a LEFT OUTER JOIN userpasslog b ON b.userno = ?param2 WHERE b.userno IS NULL; UPDATE userpasslog SET userpass = ?param0 WHERE userno = ?param2 ;] +2025-12-11 13:57:02,403 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.dormant.insert] Prepared SQL: [insert into userdormant(userno,username,usernameeng,email,isacceptemail,mobile ,telno,userpno,bankno,post,address1,address2,birthday,cdt) select a.userno,a.username,a.usernameeng,a.email,a.isacceptemail,a.mobile ,a.telno,a.userpno,a.bankno,a.post,a.address1,a.address2, a.birthday,now() cdt from users a left outer join userdormant b on b.userno = a.userno where date_add(a.logintime,interval 1 year) < now(); and a.status != 99 update users set udt=now(),uno= ?param0 ,uip= ?param1 ,username='',usernameeng=null,email=null,mobile=null,telno=null,userpno=null,bankno=null,post=null,address1=null,address2=null,birthday=null,status=8 where date_add(a.logintime,interval 1 year) < now(); and a.status != 99] +2025-12-11 13:57:02,404 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginkey] Prepared SQL: [update users set loginkey= ?param0 ,logintime =now(),send335time = null where userno= ?param1] +2025-12-11 13:57:02,405 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginkey2] Prepared SQL: [update users set loginkey= ?param0 ,logintime =now(),send335time = null where userno= ?param1 ; insert into loginlog (logsite,userno, loginstatus, logindata, cdt,cno,udt,uno,uip) values ( ?param2 , ?param1 , ?param3 , ?param4 , now(), ?param5 ,now(), ?param5 , ?param6 )] +2025-12-11 13:57:02,405 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assign.del] Prepared SQL: [update assign set udt=now(),uno= ?param0 ,uip= ?param1 ,isdel=1,brno=null where asno= ?param2] +2025-12-11 13:57:02,405 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assignman.in] Prepared SQL: [insert into assignman (asno,mtype,jtype,depart,mname,position,telno,mobile,fax,email,post,address1,address2,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param8 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param9 , 'np123@!')) , ?param10 , ?param11 , ?param12 ,0,now(), ?param13 ,now(), ?param13 , ?param14 )] +2025-12-11 13:57:02,406 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assignman.up] Prepared SQL: [update assignman set udt=now(),uno= ?param0 ,uip= ?param1 ,mtype = ?param2 ,jtype = ?param3 ,depart = ?param4 ,mname = ?param5 ,position= ?param6 ,telno =HEX(AES_ENCRYPT( ?param7 , 'np123@!')) ,mobile =HEX(AES_ENCRYPT( ?param8 , 'np123@!')) ,fax =HEX(AES_ENCRYPT( ?param9 , 'np123@!')) ,email =HEX(AES_ENCRYPT( ?param10 , 'np123@!')) ,post = ?param11 ,address1= ?param12 ,address2= ?param13 where asmno= ?param14] +2025-12-11 13:57:02,406 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assignman.del] Prepared SQL: [update assignman set udt=now(),uno= ?param0 ,uip= ?param1 ,isdel = 1 where asmno= ?param2] +2025-12-11 13:57:02,406 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assignfee.in] Prepared SQL: [insert into assignfee (asno,fyear,fprice,fdate,fmemo,status,cdt,cno,udt,uno,uip) select ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,now(), ?param6 ,now(), ?param6 , ?param7 from (select 1 col1) a left outer join assignfee b on b.asno= ?param0 and b.fyear= ?param1 where b.asno is null] +2025-12-11 13:57:02,406 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assignfee.up] Prepared SQL: [update assignfee set udt=now(),uno= ?param0 ,uip= ?param1 ,fprice= ?param2 ,fdate = ?param3 ,fmemo = ?param4 ,status= ?param5 where asno= ?param6 and fyear= ?param7] +2025-12-11 13:57:02,406 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assignfee.del] Prepared SQL: [delete from assignfee where asno= ?param0 and fyear= ?param1] +2025-12-11 13:57:02,406 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assignsite.save] Prepared SQL: [update assign set udt=now(),uno= ?param0 ,uip= ?param1 ,issite= ?param2 ,subdomain= ?param3 ,sitename= ?param4 ,siteip= ?param5 ,sitelogo= ?param6 ,sitefooter= ?param7 where asno= ?param8] +2025-12-11 13:57:02,407 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.asno.save] Prepared SQL: [update users set asno= ?param0 where userno= ?param1] +2025-12-11 13:57:02,407 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1] +2025-12-11 13:57:02,407 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass = ?param0 , pwcalltime = null , pwcallno = null , status = (CASE WHEN status = 9 THEN 1 ELSE status END) where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()] +2025-12-11 13:57:02,407 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.exit] Prepared SQL: [UPDATE users SET udt=now(),uno= ?param0 ,uip= ?param1 , status = ?param2 WHERE userno= ?param3] +2025-12-11 13:57:02,407 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.leave.register] Prepared SQL: [INSERT INTO userleave ( userno, userid, status, levdate, uno, uip ) SELECT u.userno, u.userid, 0 AS status, NOW() AS levdate, u.uno, u.uip FROM users u WHERE u.status = ?param0 AND u.userno = ?param1] +2025-12-11 13:57:02,407 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.remotelogin.set] Prepared SQL: [update users a inner join assign b on b.asno=a.asno and b.siteip like concat('%', ?param0 ,'%') set a.remotekey= ?param1 where a.userid= ?param2 and a.status=1] +2025-12-11 13:57:02,407 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.snslink.up] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,snsid= ?param2 ,jointype= ?param3 where userno= ?param4] +2025-12-11 13:57:02,407 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [councel.up] Prepared SQL: [update councel set udt=now(),uno= ?param0 ,uip= ?param1 ,bldgcat = ?param2 ,qtext = ?param3 ,atext = ?param4 where bno= ?param5] +2025-12-11 13:57:02,408 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [councel.del] Prepared SQL: [update councel set udt=now(),uno= ?param0 ,uip= ?param1 ,isdel = 1 where bno = ?param2] +2025-12-11 13:57:02,408 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.up.asno] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,asno = ?param2 where userno= ?param3] +2025-12-11 13:57:02,408 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.dormant.del] Prepared SQL: [update users a left outer join userdormant b on b.userno = a.userno set set udt=now(),uno= ?param0 ,uip= ?param1 ,status = 99,username='',usernameeng=null,email=null,mobile=null,telno=null,userpno=null,bankno=null,post=null,address1=null,address2=null,birthday=null,di=null,ci=null,vssn=null,authplatform=0 where date_add(b.cdt,interval 1 year) < now(); delete from userdormant where date_add(cdt,interval 1 year) < now();] +2025-12-11 13:57:02,430 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.check.loginkey] Prepared SQL: [select a.userno dtype from users a where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0)] +2025-12-11 13:57:02,430 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.check.admin] Prepared SQL: [select a.userno dtype, a.udt time, count(b.mno) intval from users a left outer join memouser b on b.userno=a.userno and b.isread=0 and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0)] +2025-12-11 13:57:02,430 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.check.front] Prepared SQL: [select a.dtype,sum(a.intval) intval,sum(a.intval2) intval2 from ( select a.userno dtype,count(b.mno) intval,0 intval2 from users a left outer join memouser b on b.userno=a.userno and b.isread=0 and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) group by a.userno union all select a.userno dtype,0 intval,count(b.userno) intval2 from users a left outer join alarms b on b.userno=a.userno and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) group by a.userno ) a group by a.dtype] +2025-12-11 13:57:02,430 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.check.frontcroom] Prepared SQL: [select a.dtype,sum(a.intval) intval,sum(a.intval2) intval2,sum(a.intval3) intval3,sum(a.intval4) intval4,sum(a.intval5) intval5 ,sum(a.intval6) intval6,sum(a.intval7) intval7,sum(a.intval8) intval8,sum(a.intval9) intval9,sum(a.intval10) intval10 ,sum(a.intval11) intval11,sum(a.intval12) intval12 ,max(a.strval) strval,max(a.strval2) strval2,max(a.strval3) strval3 from ( select a.userno dtype,count(b.mno) intval,0 intval2,0 intval3,0 intval4,0 intval5 ,0 intval6,0 intval7,0 intval8,0 intval9,0 intval10 ,0 intval11,0 intval12 ,null strval,null strval2,null strval3 from users a left outer join memouser b on b.userno=a.userno and b.isread=0 and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) group by a.userno union all select a.userno dtype,0 intval,count(b.userno) intval2,0 intval3,0 intval4,0 intval5 ,0 intval6,0 intval7,0 intval8,0 intval9,0 intval10 ,0 intval11,0 intval12 ,null strval,null strval2,null strval3 from users a left outer join alarms b on b.userno=a.userno and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) union all select a.userno dtype,0 intval,0 intval2,c.tyear intval3,c.tseq intval4,b.classno intval5 ,b2.isplan intval6,b2.iscontent intval7,b2.isev intval8,b2.isrs intval9,b2.isgrade intval10 ,b.cmno intval11,b.cshape intval12 ,d.cgname strval,b.cname strval2 ,group_concat(case when f.bmno is null then null else concat(f.bmno,':',f.bmname,':',f.bmtype) end separator ';') strval3 from users a0 inner join lect a on a.lectno= ?param3 and a.userno=a0.userno and a.status=1 and a.ischanged=0 inner join cm b on b.cmno=a.cmno inner join cmmenu b2 on b2.cmno=b.cmno inner join term c on c.tmno=b.tmno inner join cg d on d.cgno=b.cgno left outer join cmmenubm e on e.cmno=b.cmno left outer join boardmaster f on f.bmno=e.bmno where a0.userno= ?param0 and (a0.loginkey= ?param1 or ?param2 =0) group by a.userno,b.cmno,c.tyear,c.tseq,b.classno ,b2.isplan,b2.iscontent,b2.isev,b2.isrs,b2.isgrade ,d.cgname,b.cname ) a group by a.dtype] +2025-12-11 13:57:02,431 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.check.frontcroom.subdomain] Prepared SQL: [select a.*,b.asname strval4,c.fileurl from ( select a.dtype,sum(a.intval) intval,sum(a.intval2) intval2,sum(a.intval3) intval3,sum(a.intval4) intval4,sum(a.intval5) intval5 ,sum(a.intval6) intval6,sum(a.intval7) intval7,sum(a.intval8) intval8,sum(a.intval9) intval9,sum(a.intval10) intval10 ,sum(a.intval11) intval11 ,max(a.strval) strval,max(a.strval2) strval2,max(a.strval3) strval3 from ( select a.userno dtype,count(b.mno) intval,0 intval2,0 intval3,0 intval4,0 intval5 ,0 intval6,0 intval7,0 intval8,0 intval9,0 intval10 ,0 intval11 ,null strval,null strval2,null strval3 from users a left outer join memouser b on b.userno=a.userno and b.isread=0 and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) group by a.userno union all select a.userno dtype,0 intval,count(b.userno) intval2,0 intval3,0 intval4,0 intval5 ,0 intval6,0 intval7,0 intval8,0 intval9,0 intval10 ,0 intval11 ,null strval,null strval2,null strval3 from users a left outer join alarms b on b.userno=a.userno and b.isdel=0 where a.userno= ?param0 and (a.loginkey= ?param1 or ?param2 =0) union all select a.userno dtype,0 intval,0 intval2,c.tyear intval3,c.tseq intval4,b.classno intval5 ,b2.isplan intval6,b2.iscontent intval7,b2.isev intval8,b2.isrs intval9,b2.isgrade intval10 ,b.cmno intval11 ,d.cgname strval,b.cname strval2 ,group_concat(case when f.bmno is null then null else concat(f.bmno,':',f.bmname,':',f.bmtype) end separator ';') strval3 from users a0 inner join lect a on a.lectno= ?param3 and a.userno=a0.userno and a.status=1 and a.ischanged=0 inner join cm b on b.cmno=a.cmno inner join cmmenu b2 on b2.cmno=b.cmno inner join term c on c.tmno=b.tmno inner join cg d on d.cgno=b.cgno left outer join cmmenubm e on e.cmno=b.cmno left outer join boardmaster f on f.bmno=e.bmno where a0.userno= ?param0 and (a0.loginkey= ?param1 or ?param2 =0) group by a.userno,b.cmno,c.tyear,c.tseq,b.classno ,b2.isplan,b2.iscontent,b2.isev,b2.isrs,b2.isgrade ,d.cgname,b.cname ) a group by a.dtype ) a inner join assign b on b.subdomain= ?param4 left outer join fileinfo c on c.fgno=b.sitelogo] +2025-12-11 13:57:02,431 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.basecomments] Prepared SQL: [select a.cmtno,a.pcmtno,a.tcmtno,a.baseno,a.cdepth,a.memo,a.memotype,a.fgno,a.cdt,a.udt, a.isdel,a.cno ,b.orgname, b.fileurl, b.fileno ,c.username from cmt a inner join users c on c.userno=a.cno left outer join fileinfo b on b.fgno=a.fgno and b.isdel=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt desc] +2025-12-11 13:57:02,431 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.get] Prepared SQL: [select a.sendno,a.ehtml,a.etitle from emailsend a left outer join emailban b on b.sendno=a.sendno where a.sendno= ?param0 and a.isdel=0] +2025-12-11 13:57:02,432 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.get2] Prepared SQL: [select a.sendno,a.etitle,a.rcvs,ifnull(a.sendeds, ' ') sendeds,ifnull(group_concat(b.email separator ';'), ' ') bans from emailsend a left outer join emailban b on b.sendno=a.sendno where a.sendno= ?param0 and a.isdel=0 group by a.sendno,a.rcvs,a.etitle,a.sendeds] +2025-12-11 13:57:02,432 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.list.rcvnot] Prepared SQL: [select count(a.mno) from memouser a where a.userno= ?param0 and and a.isread=0 and a.isdel=0] +2025-12-11 13:57:02,432 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.smssend.get] Prepared SQL: [select c.asname,b.usertype,b.username ,CAST(AES_DECRYPT(UNHEX(b.mobile), 'np123@!') AS char) mobile ,a.smstype,a.isok ,row_number() over(order by b.username) rno, count(a.cno) over() pagetotalcount from smsuser a inner join users b on b.userno=a.userno left outer join assign c on c.asno=b.asno where a.mno= ?param0 order by b.username] +2025-12-11 13:57:02,433 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.home] Prepared SQL: [select b.cnt intval ,c.cnt0 intval2 ,c.cnt1 intval3 ,d.cnt intval4 ,e.cnt intval5 ,f.cnt intval6 ,(SELECT COUNT(*) FROM userleave WHERE status = 0) intval7 from (select 1 col1) a left outer join (select count(mno) cnt from memouser where userno= ?param0 and isread=0 and isdel=0) b on 1=1 left outer join ( select sum(case when a.bmposition=0 then 1 else 0 end) cnt0,sum(case when a.bmposition=1 and b.cmno is not null then 1 else 0 end) cnt1 from boardmaster a inner join board b on b.bmno=a.bmno and b.pbno is null and b.isdel=0 and b.isopen=1 left outer join board c on c.pbno=b.bno and c.isdel=0 where a.bmtype=2 and a.isopen=1 and c.bno is null and a.disptype=0 ) c on 1=1 left outer join ( select count(a.rfdno) cnt from payrfd a left outer join pay b on b.payno = a.payno where a.rstatus=0 and b.rstatus=0 ) d on 1=1 left outer join ( select count(a.payno) cnt from paydvr a inner join pay b on b.payno=a.payno and b.pstatus=1 and b.rstatus=0 inner join payitem c on c.payno = b.payno inner join book bb on bb.bkno=c.itemno where a.dvrcode is null and a.isdvr=1 ) e on 1=1 left outer join ( select count(a.payno) cnt from paytax a where a.ischeck=0 ) f on 1=1] +2025-12-11 13:57:02,433 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.authkey] Prepared SQL: [select jobkey from authkey where authtype= ?param0 and userno= ?param1 and randkey= ?param2 and keytime > now()] +2025-12-11 13:57:02,433 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.authkey.check1] Prepared SQL: [select ctno intval,ismenu intval2,ctype intval3,ccode strval from ct where ctno= ?param0 and authkey= ?param1 ; update ct set authkey=null where ctno= ?param0] +2025-12-11 13:57:02,433 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.authkey.check2] Prepared SQL: [select qno intval from question where qno= ?param0 and authkey= ?param1 ; update question set authkey=null where qno= ?param0] +2025-12-11 13:57:02,433 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.sms.chk] Prepared SQL: [select authno intval,lectno intval2,latime time,lakey strval from smsauth where authno = ?param0] +2025-12-11 13:57:02,433 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.in] Prepared SQL: [insert into emailsend(etitle,semail,ehtml,fgno,cmno,rcvs,reademails,rcvcount,readcount,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,now(), ?param9 ,now(), ?param9 , ?param10 )] +2025-12-11 13:57:02,433 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,433 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.sms.in] Prepared SQL: [insert into sms(cmno,mcontents,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 );] +2025-12-11 13:57:02,433 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.sms.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,443 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.smsauth] Prepared SQL: [insert into smsauth(latime,lakey,lectno) values(now(), ?param0 , ?param1 );] +2025-12-11 13:57:02,443 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.smsauth.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,444 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.smsauth2] Prepared SQL: [insert into smsauth(latime,lakey,userno, lectno) values(now(), ?param0 , ?param1 , 0);] +2025-12-11 13:57:02,444 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.smsauth2.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,444 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.atalk.send] Prepared SQL: [insert into MTS_ATALK_MSG (TRAN_SENDER_KEY,TRAN_TMPL_CD,TRAN_CALLBACK,TRAN_PHONE,TRAN_SUBJECT,TRAN_MSG,TRAN_DATE,TRAN_TYPE,TRAN_STATUS,TRAN_REPLACE_TYPE,TRAN_REPLACE_MSG) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,now(),5,'1', ?param6 , ?param5 );] +2025-12-11 13:57:02,444 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update cmt set isdel=1 where cmtno= ?param0 and ( ?param1 is not null or cno= ?param2 );] +2025-12-11 13:57:02,444 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdel=0,readcount= ?param0 ,sendeds= ?param1 where sendno= ?param2] +2025-12-11 13:57:02,444 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdel=1,udt=now(),uno= ?param0 ,uip= ?param1 where userno= ?param0] +2025-12-11 13:57:02,444 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdel=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0] +2025-12-11 13:57:02,446 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.authkey.save] Prepared SQL: [update authkey set jobkey= ?param0 ,randkey= ?param1 ,keytime=date_add(now(), interval 1 minute) where authtype= ?param2 and userno= ?param3 ; insert into authkey (authtype,userno,jobkey,randkey,keytime) select a.authtype,a.userno,a.jobkey,a.randkey,date_add(now(), interval 1 minute) from (select ?param2 authtype, ?param3 userno, ?param0 jobkey, ?param1 randkey) a left outer join authkey b on b.authtype=a.authtype and b.userno=a.userno where b.authtype is null] +2025-12-11 13:57:02,446 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.sms.extend] Prepared SQL: [update smsauth set latime = now() where authno = ?param0] +2025-12-11 13:57:02,452 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg,userno) values( ?param0 , ?param1 )] +2025-12-11 13:57:02,478 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.list] Prepared SQL: [select a.menuno, a.menuname, a.pmenuno, a.menuurl, a.menulevel, a.menuorder, a.ccount, a.isuse, a.ishid ,concat('/',ifnull(b5.menuno, 0), '/', ifnull(b4.menuno, 0), '/', ifnull(b3.menuno, 0), '/', ifnull(b2.menuno, 0), '/', ifnull(b1.menuno, 0), '/', ifnull(a.menuno, 0), '/') menurout ,case a.menulevel when 0 then ' ' when 1 then b1.menuname when 2 then b2.menuname when 3 then b3.menuname when 4 then b4.menuname when 5 then b5.menuname end pmenuname from ( select a.menuno, a.menuname, a.pmenuno, a.menuurl, a.menulevel, a.menuorder, count(d.menuno) ccount, a.isuse, a.ishid from menu a left outer join menu d on d.pmenuno=a.menuno group by a.menuno, a.menuname, a.pmenuno, a.menuurl, a.menulevel, a.menuorder, a.isuse, a.ishid ) a left outer join menu b1 on b1.menuno=a.pmenuno left outer join menu b2 on b2.menuno=b1.pmenuno left outer join menu b3 on b3.menuno=b2.pmenuno left outer join menu b4 on b4.menuno=b3.pmenuno left outer join menu b5 on b5.menuno=b4.pmenuno order by case a.menulevel when 0 then a.menuorder when 1 then b1.menuorder when 2 then b2.menuorder when 3 then b3.menuorder when 4 then b4.menuorder else b5.menuorder end ,case a.menulevel when 0 then a.menuno when 1 then b1.menuno when 2 then b2.menuno when 3 then b3.menuno when 4 then b4.menuno else b5.menuno end ,case a.menulevel when 1 then a.menuorder when 2 then b1.menuorder when 3 then b2.menuorder when 4 then b3.menuorder when 5 then b4.menuorder else 0 end ,case a.menulevel when 1 then a.menuno when 2 then b1.menuno when 3 then b2.menuno when 4 then b3.menuno when 5 then b4.menuno else 0 end ,case a.menulevel when 2 then a.menuorder when 3 then b1.menuorder when 4 then b2.menuorder when 5 then b3.menuorder else 0 end ,case a.menulevel when 2 then a.menuno when 3 then b1.menuno when 4 then b2.menuno when 5 then b3.menuno else 0 end ,case a.menulevel when 3 then a.menuorder when 4 then b1.menuorder when 5 then b2.menuorder else 0 end ,case a.menulevel when 3 then a.menuno when 4 then b1.menuno when 5 then b2.menuno else 0 end ,case a.menulevel when 4 then a.menuorder when 5 then b1.menuorder else 0 end ,case a.menulevel when 4 then a.menuno when 5 then b1.menuno else 0 end ,case a.menulevel when 5 then a.menuorder else 0 end ,case a.menulevel when 5 then a.menuno else 0 end] +2025-12-11 13:57:02,479 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.authmenu] Prepared SQL: [select a.usertype, a.menuno from menuauth a where a.usertype= ?param0] +2025-12-11 13:57:02,480 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.get] Prepared SQL: [select a.fileno,a.fgno,a.orgname,a.fileurl,a.filesize,a.extension,a.dcount,a.cno,a.uno ,b.tablename,b.columnname from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdel = 0] +2025-12-11 13:57:02,480 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getall] Prepared SQL: [select a.fileno,a.fgno,a.orgname,a.fileurl,a.filesize,a.extension,a.dcount,a.cno,a.uno ,b.tablename,b.columnname from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0] +2025-12-11 13:57:02,481 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ncs.parents.u] Prepared SQL: [select 3 ndepth,v.ndno ncsno,v.dname ncsname,v.dcode ncscode,case when v.ndno=u.ndno then 1 else 0 end isact from ncsu u inner join ncsd d on d.ndno=u.ndno inner join ncsd v on v.nbno=d.nbno where u.nuno= ?param0 union all select 2 ndepth,v.nbno ncsno,v.bname ncsname,v.bcode ncscode,case when v.nbno=b.nbno then 1 else 0 end isact from ncsu u inner join ncsd d on d.ndno=u.ndno inner join ncsb b on b.nbno=d.nbno inner join ncsb v on v.nmno=b.nmno where u.nuno= ?param0 union all select 1 ndepth,v.nmno ncsno,v.mname ncsname,v.mcode ncscode,case when v.nmno=m.nmno then 1 else 0 end isact from ncsu u inner join ncsd d on d.ndno=u.ndno inner join ncsb b on b.nbno=d.nbno inner join ncsm m on m.nmno=b.nmno inner join ncsm v on v.ntno=m.ntno where u.nuno= ?param0 union all select 0 ndepth,v.ntno ncsno,v.tname ncsname,v.tcode ncscode,case when v.ntno=t.ntno then 1 else 0 end isact from ncsu u inner join ncsd d on d.ndno=u.ndno inner join ncsb b on b.nbno=d.nbno inner join ncsm m on m.nmno=b.nmno inner join ncst t on t.ntno=m.ntno inner join ncst v on v.ntype=t.ntype where u.nuno= ?param0 order by ndepth,ncscode] +2025-12-11 13:57:02,482 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ncs.parents.d] Prepared SQL: [select 2 ndepth,v.nbno ncsno,v.bname ncsname,v.bcode ncscode,case when v.nbno=b.nbno then 1 else 0 end isact from ncsd d inner join ncsb b on b.nbno=d.nbno inner join ncsb v on v.nmno=b.nmno where d.ndno= ?param0 union all select 1 ndepth,v.nmno ncsno,v.mname ncsname,v.mcode ncscode,case when v.nmno=m.nmno then 1 else 0 end isact from ncsd d inner join ncsb b on b.nbno=d.nbno inner join ncsm m on m.nmno=b.nmno inner join ncsm v on v.ntno=m.ntno where d.ndno= ?param0 union all select 0 ndepth,v.ntno ncsno,v.tname ncsname,v.tcode ncscode,case when v.ntno=t.ntno then 1 else 0 end isact from ncsd d inner join ncsb b on b.nbno=d.nbno inner join ncsm m on m.nmno=b.nmno inner join ncst t on t.ntno=m.ntno inner join ncst v on v.ntype=t.ntype where d.ndno= ?param0 order by ndepth,ncscode] +2025-12-11 13:57:02,482 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ncs.parents.b] Prepared SQL: [select 1 ndepth,v.nmno ncsno,v.mname ncsname,v.mcode ncscode,case when v.nmno=m.nmno then 1 else 0 end isact from ncsb b inner join ncsm m on m.nmno=b.nmno inner join ncsm v on v.ntno=m.ntno where b.nbno= ?param0 union all select 0 ndepth,v.ntno ncsno,v.tname ncsname,v.tcode ncscode,case when v.ntno=t.ntno then 1 else 0 end isact from ncsb b inner join ncsm m on m.nmno=b.nmno inner join ncst t on t.ntno=m.ntno inner join ncst v on v.ntype=t.ntype where b.nbno= ?param0 order by ndepth,ncscode] +2025-12-11 13:57:02,482 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ncs.parents.m] Prepared SQL: [select 0 ndepth,v.ntno ncsno,v.tname ncsname,v.tcode ncscode,case when v.ntno=t.ntno then 1 else 0 end isact from ncsm m inner join ncst t on t.ntno=m.ntno inner join ncst v on v.ntype=t.ntype where m.nmno= ?param0 order by ndepth,ncscode] +2025-12-11 13:57:02,483 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.sales.bycm] Prepared SQL: [select case b.ptype when 2 then 2 when 3 then 1 else 0 end dtype, 0 intval, case b.ptype when 2 then '' when 3 then '' else '' end strval,'' strval2 ,sum(case when month(a.payoktime)=1 then b.payamt else 0 end) longval ,sum(case when month(a.payoktime)=2 then b.payamt else 0 end) longval2 ,sum(case when month(a.payoktime)=3 then b.payamt else 0 end) longval3 ,sum(case when month(a.payoktime)=4 then b.payamt else 0 end) longval4 ,sum(case when month(a.payoktime)=5 then b.payamt else 0 end) longval5 ,sum(case when month(a.payoktime)=6 then b.payamt else 0 end) longval6 ,sum(case when month(a.payoktime)=7 then b.payamt else 0 end) longval7 ,sum(case when month(a.payoktime)=8 then b.payamt else 0 end) longval8 ,sum(case when month(a.payoktime)=9 then b.payamt else 0 end) longval9 ,sum(case when month(a.payoktime)=10 then b.payamt else 0 end) longval10 ,sum(case when month(a.payoktime)=11 then b.payamt else 0 end) longval11 ,sum(case when month(a.payoktime)=12 then b.payamt else 0 end) longval12 from pay a inner join payitem b on b.payno=a.payno and a.pstatus=1 where year(a.payoktime)= ?param0 and a.pstatus=1 group by b.ptype,month(a.payoktime) union all select case b.ptype when 2 then 2 when 3 then 1 else 0 end dtype, 1 intval, '','ȯ' strval ,(case when month(b.refundtime)=1 then b.refundamt else 0 end) * -1 longval ,(case when month(b.refundtime)=2 then b.refundamt else 0 end) * -1 longval2 ,(case when month(b.refundtime)=3 then b.refundamt else 0 end) * -1 longval3 ,(case when month(b.refundtime)=4 then b.refundamt else 0 end) * -1 longval4 ,(case when month(b.refundtime)=5 then b.refundamt else 0 end) * -1 longval5 ,(case when month(b.refundtime)=6 then b.refundamt else 0 end) * -1 longval6 ,(case when month(b.refundtime)=7 then b.refundamt else 0 end) * -1 longval7 ,(case when month(b.refundtime)=8 then b.refundamt else 0 end) * -1 longval8 ,(case when month(b.refundtime)=9 then b.refundamt else 0 end) * -1 longval9 ,(case when month(b.refundtime)=10 then b.refundamt else 0 end) * -1 longval10 ,(case when month(b.refundtime)=11 then b.refundamt else 0 end) * -1 longval11 ,(case when month(b.refundtime)=12 then b.refundamt else 0 end) * -1 longval12 from pay a inner join payitem b on b.payno=a.payno and a.pstatus=1 and b.rstatus > 0 and b.refundtime is not null and year(b.refundtime)= ?param0 where a.pstatus=1 and a.rstatus > 0 group by b.ptype,month(b.refundtime) order by dtype,intval] +2025-12-11 13:57:02,486 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcalc.print] Prepared SQL: [select a.cmno,a.feeloc,a.feebkpr,a.feebrt,a.feemat,a.feefoo,a.feeetc,a.prtcnt ,b.cname,b.classno,b.sstime,b.setime ,c.pfee ,d.username,CAST(AES_DECRYPT(UNHEX(d.userpno), 'np123@!') AS char) userpno,d.bankname,CAST(AES_DECRYPT(UNHEX(d.bankno), 'np123@!') AS char) bankno,d.post,d.address1,d.address2 ,row_number() over(order by d.username) rno from cmcalc a inner join cm b on b.cmno=a.cmno inner join cmprof c on c.cmno=b.cmno inner join users d on d.userno=c.userno where a.cmno= ?param0 order by rno] +2025-12-11 13:57:02,487 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.npsystem] Prepared SQL: [select count(b.daokey) from (select 1 col1) a left outer join npsystem b on b.daokey= ?param0] +2025-12-11 13:57:02,487 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.ncs.check.t] Prepared SQL: [select sum(intval) intval,sum(intval2) intval2 from ( select 0 intval, count(m.nmno) intval2 from ncst t left outer join ncsm m on m.ntno=t.ntno where t.ntno= ?param0 union all select 0 intval,count(b.nbno) intval2 from ncst t left outer join ncsm m on m.ntno=t.ntno left outer join ncsb b on b.nmno=m.nmno where t.ntno= ?param0 union all select count(cmd.cmno) intval,count(distinct d.ndno) intval2 from ncst t left outer join ncsm m on m.ntno=t.ntno left outer join ncsb b on b.nmno=m.nmno left outer join ncsd d on d.nbno=b.nbno left outer join cmncsd cmd on cmd.ndno=d.ndno where t.ntno= ?param0 union all select 0 intval,count(u.nuno) intval2 from ncst t left outer join ncsm m on m.ntno=t.ntno left outer join ncsb b on b.nmno=m.nmno left outer join ncsd d on d.nbno=b.nbno left outer join ncsu u on u.ndno=d.ndno where t.ntno= ?param0 ) a] +2025-12-11 13:57:02,487 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.ncs.check.m] Prepared SQL: [select sum(intval) intval,sum(intval2) intval2 from ( select 0 intval,count(b.nbno) intval2 from ncsm m left outer join ncsb b on b.nmno=m.nmno where m.nmno= ?param0 union all select count(cmd.cmno) intval,count(distinct d.ndno) intval2 from ncsm m left outer join ncsb b on b.nmno=m.nmno left outer join ncsd d on d.nbno=b.nbno left outer join cmncsd cmd on cmd.ndno=d.ndno where m.nmno= ?param0 union all select 0 intval,count(u.nuno) intval2 from ncsm m left outer join ncsb b on b.nmno=m.nmno left outer join ncsd d on d.nbno=b.nbno left outer join ncsu u on u.ndno=d.ndno where m.nmno= ?param0 ) a] +2025-12-11 13:57:02,487 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.ncs.check.b] Prepared SQL: [select sum(intval) intval,sum(intval2) intval2 from ( select count(cmd.cmno) intval,count(distinct d.ndno) intval2 from ncsb b left outer join ncsd d on d.nbno=b.nbno left outer join cmncsd cmd on cmd.ndno=d.ndno where b.nbno= ?param0 union all select 0 intval,count(u.nuno) intval2 from ncsb b left outer join ncsd d on d.nbno=b.nbno left outer join ncsu u on u.ndno=d.ndno where b.nbno= ?param0 ) a] +2025-12-11 13:57:02,487 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.ncs.check.d] Prepared SQL: [select sum(intval) intval,sum(intval2) intval2 from ( select count(cmd.cmno) intval,0 intval2 from ncsd d left outer join cmncsd cmd on cmd.ndno=d.ndno where d.ndno= ?param0 union all select 0 intval,count(u.nuno) intval2 from ncsd d left outer join ncsu u on u.ndno=d.ndno where d.ndno= ?param0 ) a] +2025-12-11 13:57:02,488 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(menuname,pmenuno,menuurl,menulevel,menuorder,isuse,ishid,cdt,cno,udt,uno,uip) select ?param0 , ?param1 ,ifnull( ?param2 ,''),ifnull(c.menulevel, -1) + 1, ?param3 , ?param4 , ?param5 ,now(), ?param6 ,now(), ?param6 , ?param7 from (select ?param8 menuno) a left outer join menu b on b.menuno=a.menuno left outer join menu c on c.menuno= ?param1 where b.menuno is null] +2025-12-11 13:57:02,488 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [select last_insert_id()] +2025-12-11 13:57:02,489 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (tablename,columnname, cdt,cno,udt,uno,uip) VALUES ( ?param0 , ?param1 , cdt,cno,udt,uno,uip)] +2025-12-11 13:57:02,489 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,489 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.okcert3.in] Prepared SQL: [insert into okcert3log (gubn, ret, reason, sn, rsltcd, rslt, dt) select ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , now()] +2025-12-11 13:57:02,489 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.okcert3.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,490 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.userauth.save] Prepared SQL: [insert into menuauth (usertype,authname,menuno,isdel,cdt,cno,udt,uno,uip) select max(usertype)+1, ?param0 ,1,0,now(), ?param1 ,now(), ?param1 , ?param2 from menuauth] +2025-12-11 13:57:02,490 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.authname.save] Prepared SQL: [update menuauth set authname= ?param0 where usertype= ?param1] +2025-12-11 13:57:02,490 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.userauth.del] Prepared SQL: [delete a from menuauth a left outer join( select count(userno) usercnt,usertype from users where usertype = ?param0 group by usertype )b on b.usertype = a.usertype where a.usertype = ?param0 and (b.usercnt < 1 or b.usercnt is null); insert into menuauth (usertype,authname,menuno,isdel,cdt,cno,udt,uno,uip) select * from ( select ?param0 usertype, ?param1 authname,1 menuno,0 isdel,now() cdt, ?param2 cno,now() udt, ?param2 uno, ?param3 uip ) a where not exists( select usertype,authname,menuno from menuauth where usertype = ?param0 and menuno = 1 ); update menuauth a left outer join ( select count(userno) usercnt,usertype from users where usertype = ?param0 and status=1 group by usertype ) b on b.usertype = a.usertype set isdel=1 where a.usertype= ?param0 and (b.usercnt < 1 or b.usercnt is null);] +2025-12-11 13:57:02,490 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.chageposition] Prepared SQL: [update menu a left outer join menu b on b.menuno= ?param0 left outer join menu c on c.menuno= ?param1 set a.pmenuno= ?param1 , a.menuorder = ifnull(b.menuorder, -1) + 1, a.menulevel=c.menulevel + 1 , a.udt=now(), a.uno= ?param2 , a.uip= ?param3 where a.menuno= ?param4] +2025-12-11 13:57:02,490 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.update] Prepared SQL: [update menu a left outer join (select menulevel from menu where menuno= ?param0 ) b on 1 = 1 set udt=now(), uno= ?param1 , uip= ?param2 ,menuname= ?param3 , pmenuno= ?param0 , menuurl=ifnull( ?param4 , ''),a.menulevel=b.menulevel + 1,menuorder= ?param5 ,isuse= ?param6 ,ishid= ?param7 where a.menuno= ?param8 ;] +2025-12-11 13:57:02,490 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.delete] Prepared SQL: [delete from menuauth where menuno= ?param0 ; delete from menu where menuno= ?param0] +2025-12-11 13:57:02,490 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0] +2025-12-11 13:57:02,491 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.del] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , isdel=1 where fileno= ?param2 and ( ?param3 = 1 or ?param1 = -999 or cno= ?param1 )] +2025-12-11 13:57:02,491 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.del2] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , isdel=1 where fgno= ?param2 and ( ?param3 = 1 or ?param1 = -999 or cno= ?param1 )] +2025-12-11 13:57:02,491 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ncst.in] Prepared SQL: [insert into ncst (ntype,tcode,tname,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )] +2025-12-11 13:57:02,491 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ncst.up] Prepared SQL: [update ncst set udt=now(),uno= ?param0 ,uip= ?param1 ,tcode= ?param2 ,tname= ?param3 where ntno= ?param4] +2025-12-11 13:57:02,492 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.actlog.set] Prepared SQL: [insert into actlog (logtype,logtarget,userno,logdata,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 )] +2025-12-11 13:57:02,493 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.authlog.set] Prepared SQL: [insert into authlog(logtype,userno,usertypeorg,usertypenew,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 )] +2025-12-11 13:57:02,493 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.authlog.set2] Prepared SQL: [insert into authlog(logtype,userno,usertypeorg,usertypenew,cdt,cno,udt,uno,uip) select ?param0 , ?param1 ,a.usertype, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from users a where a.userno= ?param1 and a.usertype <> ?param2] +2025-12-11 13:57:02,493 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.kcblog.in] Prepared SQL: [insert into kcblog (cdt,cp_cd,mobile,vssn,logmsg) values(now(), ?param0 ,case when ?param1 is not null then HEX(AES_ENCRYPT( ?param1 , 'np123@!')) else null end , ?param2 , ?param3 );] +2025-12-11 13:57:02,494 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [excellog.in] Prepared SQL: [INSERT INTO exceldownlog (userno, userid, username, actiontime, position, comment, userip) SELECT userno, userid, username, sysdate(), ?param0 , ?param1 , ?param2 FROM users where userno = ?param3] +2025-12-11 13:57:02,516 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.myterm] Prepared SQL: [select distinct c.tmno,c.tyear,c.tseq from cmprof a inner join cm b on b.cmno=a.cmno and b.ismaster=0 and b.isdel=0 inner join term c on c.tmno=b.tmno where a.userno= ?param0 order by c.tyear desc,c.tseq] +2025-12-11 13:57:02,517 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.term.ys] Prepared SQL: [select distinct tmno,tyear,tseq from term order by tyear desc,tseq] +2025-12-11 13:57:02,518 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmdatas] Prepared SQL: [select a.dtype,a.intval,a.intval2,a.intval3 ,a.strval,a.strval2 from( select 1 dtype ,a.userno intval,b.usertype intval2 ,row_number() over (order by b.username desc) intval3 ,b.username strval,null strval2 from cmprof a inner join users b on b.userno=a.userno where a.cmno= ?param0 order by b.username desc ) a union all select 2 ,b.bkno,0 ,row_number() over (order by b.bkno) intval3 ,b.bkname,null from cmbook a inner join book b on b.bkno=a.bkno where a.cmno= ?param0 union all select 3 dtype ,b.cmno,a.ispre ,row_number() over (order by b.cmno) intval3 ,b.cname,null from cmrelay a inner join cm b on b.cmno=a.rcmno where a.cmno= ?param0 union all select 4 ,b.ndno,0 ,row_number() over (order by b.ndno) intval3 ,b.dname,b.acode from cmncsd a inner join ncsd b on b.ndno=a.ndno where a.cmno= ?param0 order by dtype,intval3] +2025-12-11 13:57:02,518 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.datacreatecmbycmmaster] Prepared SQL: [select a.cmno,a.cname,row_number() over(order by a.udt desc) rno from cm a where a.ismaster=1 and a.isdel=0 and a.cgno= ?param0 order by rno] +2025-12-11 13:57:02,520 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminnigscd.exists] Prepared SQL: [select count(*) from cminning a inner join cminningscd b on a.cmino = b.cmino where cmno = ?param0] +2025-12-11 13:57:02,520 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmev] Prepared SQL: [select a.cmno,a.attend,a.attendcut,a.attendrfd,a.attendcutrfd,a.mid,a.midcut,a.midrfd,a.midcutrfd,a.final,a.finalcut,a.finalrfd,a.finalcutrfd,a.subject,a.subjectcut,a.subjectrfd ,a.subjectcutrfd,a.discuss,a.discusscut,a.discussrfd,a.discusscutrfd,a.etc,a.etccut,a.etcrfd,a.etccutrfd,a.cut,a.cutrfd,a.isoffabs ,b.scdtype ,c.cshape from cmev a inner join cm c on c.cmno = a.cmno left outer join cminning b on b.cmno = a.cmno and b.isscd = 1 where a.cmno= ?param0] +2025-12-11 13:57:02,521 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.est] Prepared SQL: [select 0 gubun,case when a.extype = 0 then 1 else 2 end estkind ,a.exno,a.cmno,a.extype,a.exname,a.edesc,a.etime,a.econdition,a.evtype,a.eqtype,a.israndq,a.israndqi,a.qcount,a.isblur,a.tpoint,a.relaylimit,a.isusebackup,a.isseq ,null sdno,null sdtype,null sdname,null sddesc,null sdcondition ,null rsno,null rscno,null rstype,null rsname,null rscondition , row_number() over(partition by a.extype order by a.cdt) rno ,null as iseq,null as teachername from cmex a where a.cmno= ?param0 and a.isdel=0 union all select 1 gubun,case when a.sdtype = 0 then 11 else 21 end estkind ,a.sdno exno,a.cmno,a.sdtype extype,a.sdname exname,a.sddesc edesc,null etime,a.sdcondition econdition,null evtype,null eqtype,null israndq,null israndqi,null qcount,null isblur,a.tpoint,null relaylimit,null isusebackup,null isseq ,a.sdno,a.sdtype,a.sdname,a.sddesc,a.sdcondition ,null rsno,null rscno,null rstype,null rsname,null rscondition , row_number() over(partition by a.sdtype order by a.cdt) rno ,null as iseq,null as teachername from cmsd a where a.cmno= ?param0 and a.isdel=0 union all select 2 gubun,case when a.rstype = 0 then 32 else 31 end estkind ,a.rsno exno,a.cmno,a.rstype extype,a.rsname exname,null edesc,null etime,a.rscondition econdition,null evtype,null eqtype,null israndq,null israndqi,null qcount,null isblur,null tpoint,null relaylimit,null isusebackup,null isseq ,null sdno,null sdtype,null sdname,null sddesc,null sdcondition ,a.rsno,a.rscno,a.rstype,a.rsname,a.rscondition , row_number() over(partition by a.rstype order by a.cdt) rno ,b.iseq,c.username as teachername from cmrs a left outer join cminning b on a.cmino = b.cmino left outer join users c on b.userno = c.userno where a.cmno= ?param0 and a.isdel=0 order by rsno] +2025-12-11 13:57:02,521 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmexqs] Prepared SQL: [select a.eqno,a.exno,a.qseq,a.qno,a.rpoint , b.qtextstring, b.dpoint, b.qdiff, b.cc1, b.cc2, b.cc3, b.cc4, b.cc5,b.atype , cc.cname qdiffname, cc1.cname ccname1, cc2.cname ccname2, cc3.cname ccname3, cc4.cname ccname4, cc5.cname ccname5 from cmexq a inner join question b on b.qno=a.qno left outer join comcode cc on cc.ccode = b.qdiff left outer join comcode cc1 on cc1.ccode = b.cc1 left outer join comcode cc2 on cc2.ccode = b.cc2 left outer join comcode cc3 on cc3.ccode = b.cc3 left outer join comcode cc4 on cc4.ccode = b.cc4 left outer join comcode cc5 on cc5.ccode = b.cc5 where a.exno= ?param0 order by a.qseq] +2025-12-11 13:57:02,521 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.exsave.valid] Prepared SQL: [select count(d.exno) from (select 1 as col1) a left outer join lectex d on d.exno= ?param0] +2025-12-11 13:57:02,521 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.sdsave.valid] Prepared SQL: [select sum(cnt) from ( select count(d.sdno) cnt from (select 1 as col1) a left outer join lectsd d on d.sdno= ?param0 union all select count(d.sdno) from (select 1 as col1) a left outer join lectsdboard d on d.sdno= ?param0 ) a] +2025-12-11 13:57:02,521 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.rssave.valid] Prepared SQL: [select count(d.rsno) from (select 1 as col1) a left outer join lectrs d on d.rsno= ?param0] +2025-12-11 13:57:02,521 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.rscsave.valid] Prepared SQL: [select count(d.rscno) from (select 1 as col1) a left outer join cmrs d on d.rscno= ?param0] +2025-12-11 13:57:02,521 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmexlayers] Prepared SQL: [select a.exno ,case when a.qdiff = 1 then null else a.qdiff end qdiff ,case when a.cc1 = 1 then null else a.cc1 end cc1 ,case when a.cc2 = 1 then null else a.cc2 end cc2 ,case when a.cc3 = 1 then null else a.cc3 end cc3 ,case when a.cc4 = 1 then null else a.cc4 end cc4 ,case when a.cc5 = 1 then null else a.cc5 end cc5 ,a.qcount,a.rpoint , cc.cname qdiffname, cc1.cname ccname1, cc2.cname ccname2, cc3.cname ccname3, cc4.cname ccname4, cc5.cname ccname5 from cmexlayer a left outer join comcode cc on cc.ccode = a.qdiff and cc.ccode > 0 left outer join comcode cc1 on cc1.ccode = a.cc1 and cc1.ccode > 0 left outer join comcode cc2 on cc2.ccode = a.cc2 and cc2.ccode > 0 left outer join comcode cc3 on cc3.ccode = a.cc3 and cc3.ccode > 0 left outer join comcode cc4 on cc4.ccode = a.cc4 and cc4.ccode > 0 left outer join comcode cc5 on cc5.ccode = a.cc5 and cc5.ccode > 0 where a.exno= ?param0 order by cc.corder, cc1.corder, cc2.corder] +2025-12-11 13:57:02,522 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmex.extype1count] Prepared SQL: [select count(b.exno) from (select 1 col1) a left outer join cmex b on b.cmno= ?param0 and b.isdel=0 and b.exno <> ?param1 and b.extype=1] +2025-12-11 13:57:02,522 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmrs.check] Prepared SQL: [select count(b.rsno) from (select 1 col1) a left outer join cmrs b on b.cmno= ?param0 and b.rsno <> ?param1 and b.rstype= ?param2 and b.isdel=0] +2025-12-11 13:57:02,522 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.questionusings] Prepared SQL: [select sum(cnt) from ( select 0 as cnt union all select count(qno) from cmexq where qno= ?param0 union all select count(qno) from rscq where qno= ?param0 ) a] +2025-12-11 13:57:02,523 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.questionitem.valid] Prepared SQL: [select sum(cnt) from ( select 0 as cnt union all select a.qno from ( select b.qno from questionitem a inner join cmexq b on b.qno=a.qno where a.qino= ?param0 limit 1) a union all select a.qno from ( select b.qno from questionitem a inner join rscq b on b.qno=a.qno where a.qino= ?param0 limit 1) a ) a] +2025-12-11 13:57:02,523 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmmenus] Prepared SQL: [select a.cmno,a.isplan,a.iscontent,a.isev,a.isrs,a.isgrade ,b.bmno from cmmenu a left outer join cmmenubm b on b.cmno=a.cmno where a.cmno= ?param0] +2025-12-11 13:57:02,523 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.rscqs] Prepared SQL: [select a.rscqno,a.rscno,a.qno,a.dseq , b.qtextstring, b.dpoint, b.qdiff, b.cc1, b.cc2, b.cc3, b.cc4, b.cc5,b.atype , cc.cname qdiffname, cc1.cname ccname1, cc2.cname ccname2, cc3.cname ccname3, cc4.cname ccname4, cc5.cname ccname5 ,row_number() over(order by a.dseq, a.rscqno) rno from rscq a inner join question b on b.qno=a.qno left outer join comcode cc on cc.ccode = b.qdiff left outer join comcode cc1 on cc1.ccode = b.cc1 left outer join comcode cc2 on cc2.ccode = b.cc2 left outer join comcode cc3 on cc3.ccode = b.cc3 left outer join comcode cc4 on cc4.ccode = b.cc4 left outer join comcode cc5 on cc5.ccode = b.cc5 where a.rscno= ?param0 order by rno] +2025-12-11 13:57:02,524 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminfile] Prepared SQL: [select 1 dtype,a.sdno intval,a.fgno longval,b.fileno longval2,0 longval4,b.fileurl strval from cmsd a inner join fileinfo b on b.fgno=a.fgno and b.isdel=0 where a.cmno= ?param0 union all select 0,exno,null,null,null,null from cmex where cmno= ?param0 and isdel=0 union all select 2,0,a.fgnotf,b.fileno,a.cmino,b.fileurl from cminning a inner join fileinfo b on b.fgno=a.fgnotf and b.isdel=0 where a.cmno= ?param0 union all select 3,a.cmno,a.fgnocm,b.fileno,0,b.fileurl from cm a inner join fileinfo b on b.fgno=a.fgnocm and b.isdel=0 where a.cmno= ?param0 order by dtype,intval,longval2] +2025-12-11 13:57:02,524 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.check.cmpcpay] Prepared SQL: [select count(b.pino) from (select 1 as col1) a left outer join payitem b on b.ptype=1 and b.pcno = ?param0] +2025-12-11 13:57:02,524 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ct.checkcmi] Prepared SQL: [select count(b.cmino) dcnt from ct a left outer join cminning b on b.ctno=a.ctno where a.ctno= ?param0 group by a.ctno] +2025-12-11 13:57:02,524 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.pcm.foras] Prepared SQL: [select distinct d.cmno value,d.cname text from users a inner join lect b on b.userno=a.userno and b.status<5 inner join cm c on c.cmno=b.cmno inner join cm d on d.cmno=c.pcmno where a.asno= ?param0 order by text,value] +2025-12-11 13:57:02,525 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cm.foras] Prepared SQL: [select distinct c.cmno value,concat(c.cname,'(',c.classno,')') text from users a inner join lect b on b.userno=a.userno and b.status<5 inner join cm c on c.cmno=b.cmno and c.pcmno= ?param0 where a.asno= ?param1 order by text,value] +2025-12-11 13:57:02,525 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.pcm.forall] Prepared SQL: [select a.cmno value,a.cname text from cm a where a.ismaster=1 and a.isuse=1 and a.isdel=0 order by text,value] +2025-12-11 13:57:02,525 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cm.forall] Prepared SQL: [select a.cmno value,concat(a.cname,'(',a.classno,')') text from cm a where a.pcmno= ?param0 and a.ismaster=1 and a.isuse=1 and a.isdel=0 order by text,value] +2025-12-11 13:57:02,525 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cms.forpay] Prepared SQL: [select c.cmno,case when b.isjoin=1 then c.infee else c.infee end fee, c.accommofee, b.isjoin,d.lectno lectnocheck from users a left outer join assign b on b.asno=a.asno inner join cm c on c.cmno= ?param0 left outer join lect d on d.userno=a.userno and d.cmno=c.cmno and d.status in (1,2,3,4,6) and d.ischanged=0 where a.userno= ?param1] +2025-12-11 13:57:02,525 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cms.forpaypc] Prepared SQL: [select c.cmno,case when b.isjoin=1 then c.infee else c.outfee end fee,b.isjoin from users a left outer join assign b on b.asno=a.asno inner join cmpc c on c.pcno= ?param0 where a.userno= ?param1] +2025-12-11 13:57:02,525 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcheck.forbuy] Prepared SQL: [select 1 rno,a.cmno,a.quota ,b.status lectstatus ,count(d.userno) countlect from cm a left outer join lect b on b.cmno=a.cmno and b.userno= ?param0 and b.status < 5 and b.ischanged=0 left outer join lect c on c.cmno=a.cmno and c.status < 5 and c.ischanged=0 left outer join users d on d.userno=c.userno and d.status=1 where a.cmno= ?param1 and a.ismaster=0 and a.rstime < now() and a.retime > now() and a.isuse=1 and a.isdel=0 group by a.cmno,a.quota,b.status union all select 2,a.cmno,0 ,b.status ,0 from cm a inner join lect b on b.cmno <> a.cmno and b.userno= ?param0 and b.status < 5 inner join cm c on c.cmno=b.cmno and c.pcmno=a.pcmno where a.cmno = ?param1] +2025-12-11 13:57:02,527 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.assign.applyedu.byasno] Prepared SQL: [select a.asno,a.ascode,a.isjoin,a.joinyear,a.joinprice,a.asname,a.ceoname,a.brno,a.eino,a.grno,a.btype,a.bkind,a.salesamount,a.homeurl,a.mcount,a.aday,a.astype,a.asctg,a.askey,a.post ,a.address1,a.address2,a.fgnobno,a.fgnobank,a.joindate,a.exitdate,a.status,a.issite,a.subdomain,a.sitename,a.sitelogo,a.sitefooter,a.siteip,a.ismain,a.mname,a.isdel ,CAST(AES_DECRYPT(UNHEX(a.mphone), 'np123@!') AS char) mphone ,CAST(AES_DECRYPT(UNHEX(a.taxemail), 'np123@!') AS char) taxemail from assign a where a.asno= ?param0 and a.isdel=0] +2025-12-11 13:57:02,527 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminningscdcheck] Prepared SQL: [select a.quota - (select count(z.lectno) cnt from lect z where a.cmisno = z.cmisno and z.status in (1,2) and z.ischanged=0) from cminningscd a where a.cmisno = ?param0] +2025-12-11 13:57:02,531 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmin] Prepared SQL: [insert into cm(ismaster,cgno,pcmno,cname,kname,tmno,classno,rstime,retime,sstime,setime,gstime,getime,cshape ,infee,outfee,accommofee,quota ,introhtml,targethtml,goalhtml,contenthtml,studyplace,studytime ,certcc,certgradecc,jobcc,jobpositiongrade,difficulty,isrefund,isuse,isdel,isseq,fgnocm,typeman,typeedu,typegrade,typejob,typejobitem,iscertificate,ischkatt,isaccommodation,daylectinninglimit,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 ,0, ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 , ?param37 , ?param38 , ?param39 , ?param40 ,10,now(), ?param41 ,now(), ?param41 , ?param42 );] +2025-12-11 13:57:02,531 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,532 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminnings.in] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into cminning (cmno,week,iseq,isonline,ititle,icontent,idate,iday,ist,iet,fgnotf,ctno,istaste,sttime,atime,mstime,metime,userno,isscd,scdtype,cdt,cno,udt,uno,uip) select ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 ,now(), ?param20 ,now(), ?param20 , ?param21 from (select 1 col1) a left outer join cminning b on b.cmno= ?param0 and b.iseq= ?param2 where b.cmino is null] +2025-12-11 13:57:02,533 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminnings.in.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,534 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminningscd.in] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into cminningscd(cmino,estart,eend,quota,studyplace,sseq,comment,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 ,now(), ?param7 ,now(), ?param7 , ?param8 )] +2025-12-11 13:57:02,534 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminningscd.in.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,536 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmex.in] Prepared SQL: [INSERT INTO cmex (cmno,extype,exname,edesc,etime,econdition,evtype,eqtype,israndq,israndqi,qcount,isblur,tpoint,relaylimit,isusebackup,isseq,isreexamable,isresultopen,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 ,0,now(), ?param18 ,now(), ?param18 , ?param19 )] +2025-12-11 13:57:02,536 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmex.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,537 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.question.in] Prepared SQL: [INSERT INTO question (cmno, qdiff, cc1, cc2, cc3, cc4, cc5, isuse, atype, dpoint, qtext, qtextstring, qdesc, rightcount,ispassspace,isignorecase, cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , now(), ?param16 ,now(), ?param16 , ?param17 );] +2025-12-11 13:57:02,538 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.question.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,538 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmsd.in] Prepared SQL: [insert into cmsd(sdtype,cmno,sdname,sddesc,tpoint,sdcondition,fgno,isdel,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 ,0,now(), ?param7 ,now(), ?param7 , ?param8 );] +2025-12-11 13:57:02,538 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmsd.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,538 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmrs.in] Prepared SQL: [insert into cmrs(rstype,cmno,rsname,rscondition,rscno,isdel,cmino,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 ,now(), ?param6 ,now(), ?param6 , ?param7 );] +2025-12-11 13:57:02,538 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmrs.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,538 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.rsc.in] Prepared SQL: [insert into rsc(rstype,rscname,isuse,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 );] +2025-12-11 13:57:02,538 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.rsc.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,538 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy0] Prepared SQL: [insert into cm(ismaster,cgno,pcmno,cname,kname,tmno,classno,rstime,retime,sstime,setime,gstime,getime,cshape,typeman,typeedu,typegrade,typejob,typejobItem,infee,outfee,accommofee,quota,introhtml,targethtml,goalhtml,contenthtml,studyplace,studytime ,certcc,certgradecc,jobcc,jobpositiongrade,difficulty,isrefund,isuse,isseq,iscertificate,isdel,studydays,isaccommodation,daylectinninglimit,cdt,cno,udt,uno,uip) select ?param0 ,cgno,case when a.ismaster = 1 and ?param0 = 0 then a.cmno else a.pcmno end,ifnull( ?param1 , concat('纻_', cname)),a.kname, ?param2 ,case when ?param2 is null then null else ifnull(b.classno,0)+1 end ,t.rstime ,case when date_format(a.retime,'%Y-%m-%d')='2099-12-31' then '2099-12-31 23:59:59' else date_format(t.retime,'%Y-%m-%d 23:59:59') end ,case when date_format(a.retime,'%Y-%m-%d')='2099-12-31' then null else t.sstime end ,case when date_format(a.retime,'%Y-%m-%d')='2099-12-31' then null else date_format(t.setime,'%Y-%m-%d 23:59:59') end ,case when date_format(a.retime,'%Y-%m-%d')='2099-12-31' then null else t.gstime end ,case when date_format(a.retime,'%Y-%m-%d')='2099-12-31' then null else date_format(t.getime,'%Y-%m-%d 23:59:59') end ,a.cshape,a.typeman,a.typeedu,a.typegrade,a.typejob, a.typejobItem,infee,outfee,accommofee,quota,introhtml,targethtml,goalhtml,contenthtml,studyplace,studytime ,certcc,certgradecc,jobcc,jobpositiongrade,difficulty,isrefund,1,isseq,a.iscertificate,0,studydays,isaccommodation,daylectinninglimit,now(), ?param3 ,now(), ?param3 , ?param4 from cm a left outer join ( select max(b.classno) classno from cm a inner join cm b on b.ismaster=0 and b.pcmno=case when a.ismaster=1 then a.cmno else a.pcmno end and b.isdel=0 and b.tmno=ifnull( ?param2 ,0) where a.cmno= ?param5 ) b on b.classno is not null left outer join term t on t.tmno= ?param2 where a.cmno= ?param5 ;] +2025-12-11 13:57:02,539 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy0.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,539 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy.ex0] Prepared SQL: [insert into cmex (cmno,extype,exname,edesc,etime,econdition,evtype,eqtype,israndq,israndqi,qcount,isblur,tpoint,relaylimit,isusebackup,isseq,isresultopen,isreexamable,isdel,cdt,cno,udt,uno,uip) select ?param0 ,extype,exname,edesc,etime,econdition,evtype,eqtype,israndq,israndqi,qcount,isblur,tpoint,relaylimit,isusebackup,isseq,isresultopen,isreexamable,0,now(), ?param1 ,now(), ?param1 , ?param2 from cmex a where a.exno= ?param3 ;] +2025-12-11 13:57:02,539 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy.ex0.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,539 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmpcin] Prepared SQL: [insert into cm (ismaster,cgno,pcmno,cname,tmno,classno,rstime,retime,sstime,setime,gstime,getime,cshape,infee,outfee,quota,introhtml,targethtml,goalhtml,contenthtml,studyplace,studytime ,certcc,certgradecc,jobcc,jobpositiongrade,difficulty,isrefund,isuse,isseq,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 ,null, ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 ,1,0,0,now(), ?param27 ,now(), ?param27 , ?param28 );] +2025-12-11 13:57:02,539 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmpcin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,541 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ct.in] Prepared SQL: [INSERT INTO ct (cmno,qdiff,cc1,cc2,cc3,cc4,cc5,ctype,ccode,ccodedel,ctname,fgnothumb,fgnotf,tfurl,ismenu,isdel,isuse,isoversize,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,0, ?param14 , ?param15 ,now(), ?param16 ,now(), ?param16 , ?param17 );] +2025-12-11 13:57:02,541 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ct.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,541 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.pplog.applyedu.in] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into pplog ( userno,cmno,isready,cgcode,cshape,typeman,typeedu,typegrade,typejob,typejobItem,cgno,cmisno,isrebate,rbankname,rbankacc,rbankowner,asname,brno,ceoname,post,address1,address2,btype,bkind,eino,mname ,mphone,taxemail,userpno,mobile,email,upost,uaddress1,uaddress2,isassignuser,uduty,slevel,isaccommodation,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,HEX(AES_ENCRYPT( ?param14 , 'np123@!')) , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 ,HEX(AES_ENCRYPT( ?param26 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param27 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param28 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param29 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param30 , 'np123@!')) , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 , ?param37 ,now(), ?param38 ,now(), ?param38 , ?param39 )] +2025-12-11 13:57:02,541 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.pplog.applyedu.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,541 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.term.in] Prepared SQL: [insert into term (tyear,tseq,rstime,retime,sstime,setime,gstime,getime,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 ,now(), ?param8 ,now(), ?param8 , ?param9 )] +2025-12-11 13:57:02,541 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.term.up] Prepared SQL: [update term set udt=now(),uno= ?param0 ,uip= ?param1 ,tyear = ?param2 ,tseq = ?param3 ,rstime= ?param4 ,retime= ?param5 ,sstime= ?param6 ,setime= ?param7 ,gstime= ?param8 ,getime= ?param9 where tmno= ?param10] +2025-12-11 13:57:02,541 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cg.in] Prepared SQL: [insert into cg (pcgno,cgname,cgcode,isuse,iscover,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0,now(), ?param5 ,now(), ?param5 , ?param6 )] +2025-12-11 13:57:02,542 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmup] Prepared SQL: [update cm set udt=now(),uno= ?param0 ,uip= ?param1 ,cgno = ?param2 ,pcmno = ?param3 ,cname = ?param4 ,kname = ?param5 ,rstime = ?param6 ,retime = ?param7 ,sstime = ?param8 ,setime = ?param9 ,gstime = ?param10 ,getime = ?param11 ,cshape = ?param12 ,infee = ?param13 ,outfee = ?param14 ,accommofee = ?param15 ,quota = ?param16 ,introhtml = ?param17 ,targethtml = ?param18 ,goalhtml = ?param19 ,contenthtml = ?param20 ,studyplace = ?param21 ,studytime = ?param22 ,certcc = ?param23 ,certgradecc = ?param24 ,jobcc = ?param25 ,jobpositiongrade = ?param26 ,difficulty = ?param27 ,isrefund = ?param28 ,isuse = ?param29 ,fgnocm = ?param30 ,typeman = ?param31 ,typeedu = ?param32 ,typegrade = ?param33 ,typejob = ?param34 ,typejobitem = ?param35 ,iscertificate = ?param36 ,ischkatt = ?param37 ,studydays = ?param38 ,isaccommodation = ?param39 where cmno= ?param40] +2025-12-11 13:57:02,542 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.profclear] Prepared SQL: [update cminning a inner join ( select a.cmino from cminning a left outer join cmprof b on b.cmno=a.cmno and a.userno=b.userno where a.cmno= ?param0 and b.userno is null ) b on b.cmino=a.cmino set a.userno=null where a.cmno= ?param0] +2025-12-11 13:57:02,542 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.del] Prepared SQL: [delete from cminning where cmino = ( select a.cmino from ( select case when count(c.lectno) < 1 then ?param0 else 0 end cmino from (select 1 col1) a left outer join cminning b on b.cmino= ?param0 left outer join lect c on c.cmno=b.cmno) a )] +2025-12-11 13:57:02,542 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.del2] Prepared SQL: [delete from cminning where cmino = ?param0] +2025-12-11 13:57:02,542 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.del3] Prepared SQL: [delete from cminning where cmino = ( select a.cmino from ( select case when count(b.cmino) < 1 then ?param0 else 0 end cmino from (select 1 col1) a left outer join cminningscd b on b.cmino= ?param0 ) a )] +2025-12-11 13:57:02,543 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminningscd.del] Prepared SQL: [delete from cminningscd where cmisno = ( select a.cmisno from ( select case when count(c.lectno) < 1 then ?param0 else 0 end cmisno from (select 1 col1) a left outer join cminningscd b on b.cmisno= ?param0 left outer join lect c on c.cmisno=b.cmisno and c.status=1 and c.ischanged=0 ) a )] +2025-12-11 13:57:02,543 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmseqsave] Prepared SQL: [update cm set isseq= ?param0 ,udt=now(),uno= ?param1 ,uip= ?param2 where cmno= ?param3] +2025-12-11 13:57:02,543 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.bookin] Prepared SQL: [insert into book(bkname,author,publisher,pubdate,fgnothumb,fgno,price,introhtml,contents,isuse,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )] +2025-12-11 13:57:02,543 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.bookup] Prepared SQL: [update book set udt=now(),uno= ?param0 ,uip= ?param1 ,bkname = ?param2 ,author = ?param3 ,publisher = ?param4 ,pubdate = ?param5 ,fgnothumb = ?param6 ,fgno = ?param7 ,price = ?param8 ,introhtml = ?param9 ,contents = ?param10 ,isuse = ?param11 where bkno= ?param12] +2025-12-11 13:57:02,543 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.bookdel] Prepared SQL: [delete from book where not bkno in ( select distinct(a.bkno) from cmbook a ) and bkno = ?param0] +2025-12-11 13:57:02,543 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminningscd.up] Prepared SQL: [update cminningscd a set udt=now(),uno= ?param0 ,uip= ?param1 ,cmino= ?param2 ,estart= ?param3 ,eend= ?param4 ,quota= ?param5 ,studyplace= ?param6 ,sseq= ?param7 ,comment= ?param8 where a.cmisno= ?param9] +2025-12-11 13:57:02,544 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminnings.up] Prepared SQL: [update cminning a left outer join ( select cmino, cmno from cminning where cmino <> ?param0 and cmno= ?param1 and iseq= ?param2 ) b on b.cmno=a.cmno set udt=now(),uno= ?param3 ,uip= ?param4 ,week = ?param5 ,iseq = ?param2 ,isonline = ?param6 ,ititle = ?param7 ,icontent = ?param8 ,idate= ?param9 ,iday = ?param10 ,ist = ?param11 ,iet = ?param12 ,fgnotf= ?param13 ,ctno = ?param14 ,istaste = ?param15 ,sttime= ?param16 ,atime = ?param17 ,mstime = ?param18 ,metime = ?param19 ,userno = ?param20 ,isscd = ?param21 ,scdtype= ?param22 where a.cmino= ?param0 and b.cmino is null] +2025-12-11 13:57:02,544 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminningscd.clear] Prepared SQL: [update cminningscd a set udt=now(),uno= ?param0 ,uip= ?param1 ,quota=99999,studyplace=null where a.cmino = ?param2] +2025-12-11 13:57:02,544 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminningscd.up.lect] Prepared SQL: [update lect a left outer join cminningscd b on b.cmisno = a.cmisno set a.edate = date_format(b.eend,'%Y-%m-%d 23:59:59') where a.cmisno = ?param0 ;] +2025-12-11 13:57:02,544 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmev.clear] Prepared SQL: [update cmev a set udt=now(),uno= ?param0 ,uip= ?param1 ,isoffabs=null where a.cmno = ?param2] +2025-12-11 13:57:02,544 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminnings.istasteclear] Prepared SQL: [update cminning set istaste=0 where cmno= ?param0 and cmino <> ?param1] +2025-12-11 13:57:02,544 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmevsave] Prepared SQL: [insert into cmev (cmno,attend,attendcut,attendrfd,attendcutrfd,mid,midcut,midrfd,midcutrfd,final,finalcut,finalrfd,finalcutrfd,subject,subjectcut,subjectrfd,subjectcutrfd,discuss,discusscut,discussrfd,discusscutrfd,etc,etccut,etcrfd,etccutrfd,cut,cutrfd,isoffabs,cdt,cno,udt,uno,uip) select ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 ,now(), ?param28 ,now(), ?param28 , ?param29 from (select 1 col1) a left outer join cmev b on b.cmno= ?param0 where b.cmno is null; update cmev set udt=now(),uno= ?param28 ,uip= ?param29 ,attend = ?param1 ,attendcut = ?param2 ,attendrfd = ?param3 ,attendcutrfd = ?param4 ,mid = ?param5 ,midcut = ?param6 ,midrfd = ?param7 ,midcutrfd = ?param8 ,final = ?param9 ,finalcut = ?param10 ,finalrfd = ?param11 ,finalcutrfd = ?param12 ,subject = ?param13 ,subjectcut = ?param14 ,subjectrfd = ?param15 ,subjectcutrfd = ?param16 ,discuss = ?param17 ,discusscut = ?param18 ,discussrfd = ?param19 ,discusscutrfd = ?param20 ,etc = ?param21 ,etccut = ?param22 ,etcrfd = ?param23 ,etccutrfd = ?param24 ,cut = ?param25 ,cutrfd = ?param26 ,isoffabs = ?param27 where ?param0 > 0 and cmno= ?param0] +2025-12-11 13:57:02,545 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmex.savetop] Prepared SQL: [UPDATE cmex SET udt=now(),uno= ?param0 ,uip= ?param1 ,exname= ?param2 ,edesc= ?param3 ,econdition= ?param4 ,isblur= ?param5 ,isusebackup= ?param6 ,isseq= ?param7 ,isreexamable= ?param8 ,isresultopen= ?param9 ,etime= ?param10 where exno= ?param11] +2025-12-11 13:57:02,545 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmex.up] Prepared SQL: [update cmex set udt=now(),uno= ?param0 ,uip= ?param1 ,extype = ?param2 ,exname = ?param3 ,edesc = ?param4 ,etime = ?param5 ,econdition = ?param6 ,evtype = ?param7 ,eqtype = ?param8 ,israndq = ?param9 ,israndqi = ?param10 ,qcount = ?param11 ,isblur = ?param12 ,tpoint = ?param13 ,relaylimit = ?param14 ,isusebackup = ?param15 ,isseq = ?param16 ,isreexamable = ?param17 ,isresultopen= ?param18 where exno= ?param19] +2025-12-11 13:57:02,545 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmexq.deleteall] Prepared SQL: [delete from cmexq where exno= ?param0] +2025-12-11 13:57:02,545 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmexlayer.del] Prepared SQL: [delete from cmexlayer where exno= ?param0] +2025-12-11 13:57:02,545 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmex.del] Prepared SQL: [update cmex set isdel=1 where exno= ?param0] +2025-12-11 13:57:02,545 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmsd.del] Prepared SQL: [update cmsd set isdel=1 where sdno= ?param0] +2025-12-11 13:57:02,545 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmrs.del] Prepared SQL: [update cmrs set isdel=1 where rsno= ?param0] +2025-12-11 13:57:02,546 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.questionitem.del] Prepared SQL: [update question a inner join questionitem b on b.qino= ?param0 and b.qno=a.qno set a.rightcount = a.rightcount - b.isright; update questionitem set udt=now(),uno= ?param1 ,uip= ?param2 ,isdel=1 where qino= ?param0] +2025-12-11 13:57:02,546 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.question.up] Prepared SQL: [UPDATE question SET udt=now(),uno= ?param0 ,uip= ?param1 ,cmno= ?param2 ,qdiff= ?param3 ,cc1= ?param4 ,cc2= ?param5 ,cc3= ?param6 ,cc4= ?param7 ,cc5= ?param8 ,isuse= ?param9 ,dpoint= ?param10 ,qtext= ?param11 ,qtextstring= ?param12 ,qdesc= ?param13 ,rightcount= ?param14 ,ispassspace= ?param15 ,isignorecase= ?param16 where qno= ?param17] +2025-12-11 13:57:02,546 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.question.uptop] Prepared SQL: [UPDATE question SET udt=now(),uno= ?param0 ,uip= ?param1 ,cmno= ?param2 ,isuse= ?param3 ,qtext= ?param4 ,qtextstring= ?param5 ,qdesc= ?param6 ,rightcount= ?param7 where qno= ?param8] +2025-12-11 13:57:02,547 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.questionitem.up] Prepared SQL: [UPDATE questionitem SET udt=now(),uno= ?param0 ,uip= ?param1 ,fgno= ?param2 ,isright= ?param3 ,qitext= ?param4 where qino= ?param5] +2025-12-11 13:57:02,547 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmsd.up] Prepared SQL: [update cmsd set udt=now(),uno= ?param0 ,uip= ?param1 ,sdtype = ?param2 ,sdname = ?param3 ,sddesc = ?param4 ,tpoint = ?param5 ,sdcondition = ?param6 ,fgno = ?param7 where sdno= ?param8] +2025-12-11 13:57:02,547 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmsd.uplock] Prepared SQL: [update cmsd set udt=now(),uno= ?param0 ,uip= ?param1 ,sdname = ?param2 ,sddesc = ?param3 ,tpoint = ?param4 ,sdcondition = ?param5 ,fgno = ?param6 where sdno= ?param7] +2025-12-11 13:57:02,547 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmrs.up] Prepared SQL: [update cmrs set udt=now(),uno= ?param0 ,uip= ?param1 ,rstype = ?param2 ,rsname = ?param3 ,rscondition = ?param4 ,rscno = ?param5 ,cmino = ?param6 where rsno= ?param7] +2025-12-11 13:57:02,547 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmrs.uplock] Prepared SQL: [update cmrs set udt=now(),uno= ?param0 ,uip= ?param1 ,rsname = ?param2 ,rscondition = ?param3 where rsno= ?param4] +2025-12-11 13:57:02,548 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmev.in] Prepared SQL: [insert into cmev (cmno,attend,attendcut,attendrfd,attendcutrfd,mid,midcut,midrfd,midcutrfd,final,finalcut,finalrfd,finalcutrfd,subject,subjectcut,subjectrfd ,subjectcutrfd,discuss,discusscut,discussrfd,discusscutrfd,etc,etccut,etcrfd,etccutrfd,cut,cutrfd,cdt,cno,udt,uno,uip) values ( ?param0 ,100,100,100,100,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0,0,0,0,100,100,now(), ?param1 ,now(), ?param1 , ?param2 )] +2025-12-11 13:57:02,548 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmmenu.in] Prepared SQL: [insert into cmmenu (cmno,isplan,iscontent,isev,isrs,isgrade,cdt,cno,udt,uno,uip) values( ?param0 ,1,1,1,1,1,now(), ?param1 ,now(), ?param1 , ?param2 ); insert into cmmenubm (cmno,bmno,cdt,cno,udt,uno,uip) select ?param0 ,a.bmno,now(), ?param1 ,now(), ?param1 , ?param2 from boardmaster a where a.bmposition=1 and a.isopen=1 and a.isdefault=1] +2025-12-11 13:57:02,550 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy] Prepared SQL: [create temporary table if not exists temp_cminning_mapping ( old_cmino bigint, new_cmino bigint ); insert into cminning(cmno, week, iseq, isonline, ititle, icontent, iday, idate, ist, iet, ctno, istaste, sttime, atime, mstime, metime, userno, isscd, scdtype, cdt,cno,udt,uno,uip) select ?param0 , week, iseq, isonline, ititle, icontent, iday, idate, ist, iet, ctno, istaste, sttime, atime, mstime, metime, userno, isscd, scdtype, now(), ?param1 ,now(), ?param1 , ?param2 from cminning where cmno = ?param3 ; insert into temp_cminning_mapping(old_cmino, new_cmino) select old_cmino, new_cmino from ( select a.cmino as old_cmino, b.cmino as new_cmino from cminning a inner join cminning b on a.cmno = ?param3 and b.cmno = ?param0 and a.week = b.week and a.iseq = b.iseq ) t; insert into cmrs(cmno, rscno, rstype, rsname, rscondition, isdel, cmino, cdt,cno,udt,uno,uip) select ?param0 , rscno, rstype, rsname, rscondition, 0, t.new_cmino, now(), ?param1 ,now(), ?param1 , ?param2 from cmrs a inner join temp_cminning_mapping t on a.cmino = t.old_cmino where a.cmno = ?param3 and a.isdel = 0; insert into cmprof(cmno, userno, pfee, cdt,cno,udt,uno,uip) select ?param0 , userno, 0, now(), ?param1 ,now(), ?param1 , ?param2 from cmprof where cmno = ?param3 ; insert into cmbook(cmno, bkno, cdt,cno,udt,uno,uip) select ?param0 , bkno, now(), ?param1 ,now(), ?param1 , ?param2 from cmbook where cmno = ?param3 ; insert into cmrelay(cmno, rcmno, ispre, cdt,cno,udt,uno,uip) select ?param0 , rcmno, ispre, now(), ?param1 ,now(), ?param1 , ?param2 from cmrelay where cmno = ?param3 ; insert into cmncsd(cmno, ndno, cdt,cno,udt,uno,uip) select ?param0 , ndno, now(), ?param1 ,now(), ?param1 , ?param2 from cmncsd where cmno = ?param3 ; insert into cminningscd(cmino, estart, eend, quota, studyplace, sseq, cdt,cno,udt,uno,uip) select t.new_cmino, estart, eend, quota, studyplace, sseq, now(), ?param1 ,now(), ?param1 , ?param2 from cminningscd a inner join temp_cminning_mapping t on a.cmino = t.old_cmino where a.cmino in (select old_cmino from temp_cminning_mapping); insert into cmev(cmno, attend, attendcut, attendrfd, attendcutrfd, mid, midcut, midrfd, midcutrfd, final, finalcut, finalrfd, finalcutrfd, subject, subjectcut, subjectrfd, subjectcutrfd, discuss, discusscut, discussrfd, discusscutrfd, etc, etccut, etcrfd, etccutrfd, cut, cutrfd, isoffabs, cdt,cno,udt,uno,uip) select ?param0 , attend, attendcut, attendrfd, attendcutrfd, mid, midcut, midrfd, midcutrfd, final, finalcut, finalrfd, finalcutrfd, subject, subjectcut, subjectrfd, subjectcutrfd, discuss, discusscut, discussrfd, discusscutrfd, etc, etccut, etcrfd, etccutrfd, cut, cutrfd, isoffabs, now(), ?param1 ,now(), ?param1 , ?param2 from cmev where cmno = ?param3 ; insert into cmsd(sdtype, cmno, sdname, sddesc, tpoint, sdcondition, fgno, isdel, orgsdno, cdt,cno,udt,uno,uip) select sdtype, ?param0 , sdname, sddesc, tpoint, sdcondition, null, 0, sdno, now(), ?param1 ,now(), ?param1 , ?param2 from cmsd where cmno = ?param3 and isdel = 0; insert into cmmenu(cmno, isplan, iscontent, isev, isrs, isgrade, cdt,cno,udt,uno,uip) select ?param0 , isplan, iscontent, isev, isrs, isgrade, now(), ?param1 ,now(), ?param1 , ?param2 from cmmenu where cmno = ?param3 ; insert into cmmenubm(cmno, bmno, cdt,cno,udt,uno,uip) select ?param0 , bmno, now(), ?param1 ,now(), ?param1 , ?param2 from cmmenubm where cmno = ?param3 ; drop temporary table if exists temp_cminning_mapping;] +2025-12-11 13:57:02,551 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy.ex] Prepared SQL: [insert into cmexlayer(exno,qdiff,cc1,cc2,cc3,cc4,cc5,qcount,rpoint,cdt,cno,udt,uno,uip) select ?param0 ,qdiff,cc1,cc2,cc3,cc4,cc5,qcount,rpoint,now(), ?param1 ,now(), ?param1 , ?param2 from cmexlayer a where a.exno= ?param3 ; insert into cmexq(exno,qseq,qno,rpoint,cdt,cno,udt,uno,uip) select ?param0 ,qseq,qno,rpoint,now(), ?param1 ,now(), ?param1 , ?param2 from cmexq a where a.exno= ?param3 ;] +2025-12-11 13:57:02,551 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmsd.fgnoup] Prepared SQL: [update cmsd set fgno= ?param0 where cmno= ?param1 and orgsdno= ?param2] +2025-12-11 13:57:02,551 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.fgnoup] Prepared SQL: [update cminning set fgnotf= ?param0 where cmno= ?param1 and orgcmino= ?param2] +2025-12-11 13:57:02,551 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cm.fgnocmup] Prepared SQL: [update cm set fgnocm= ?param0 where cmno= ?param1] +2025-12-11 13:57:02,551 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmpcup] Prepared SQL: [update cm set udt=now(),uno= ?param0 ,uip= ?param1 ,cgno = ?param2 ,cname = ?param3 ,sstime = ?param4 ,setime = ?param5 ,introhtml = ?param6 where cmno= ?param7] +2025-12-11 13:57:02,551 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ctpdel] Prepared SQL: [update ctpage a inner join ( select a.ctno,count(b.cmino) dcnt from ct a left outer join cminning b on b.ctno=a.ctno where a.ctno= ?param0 group by a.ctno ) b on b.ctno=a.ctno and b.dcnt = 0 set a.isdel=1,udt=now(),uno= ?param1 ,uip= ?param2 where a.cpno= ?param3] +2025-12-11 13:57:02,551 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ct.del] Prepared SQL: [update ct a inner join ( select a.ctno,count(b.cmino) dcnt from ct a left outer join cminning b on b.ctno=a.ctno where a.ctno= ?param0 group by a.ctno ) b on b.ctno=a.ctno and b.dcnt=0 set udt=now(),uno= ?param1 ,uip= ?param2 ,a.ccode=null,a.isdel=1 where b.dcnt=0 and a.ctno= ?param0] +2025-12-11 13:57:02,552 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.fgno] Prepared SQL: [update cminning set fgno= ?param0 where cmino= ?param1] +2025-12-11 13:57:02,552 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.fgnooff] Prepared SQL: [update cminning set fgnooff= ?param0 where cmino= ?param1] +2025-12-11 13:57:02,552 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.lectcmisno.up] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,cmisno =case when ?param2 is not null then ?param2 else cmisno end where lectno= ?param3 ; update pplog a left outer join ( select a.lectno,a.payno,b.pplno,a.cmisno from lect a inner join pay b on b.payno = a.payno where a.lectno = ?param3 ) b on b.pplno = a.pplno set a.cmisno = case when b.cmisno is not null then b.cmisno else a.cmisno end where b.lectno = ?param3 ; update lect a left outer join cminningscd b on b.cmisno = a.cmisno left outer join cm c on a.cmno = c.cmno set a.edate = case when b.eend is not null then date_format(b.eend,'%Y-%m-%d 23:59:59') else a.edate end ,a.sdate = (case when b.estart is not null then date_format(b.estart,'%Y-%m-%d 00:00:00') else a.sdate end) where a.lectno = ?param3 and c.cshape = 1; update lect a left outer join cminningscd b on b.cmisno = a.cmisno left outer join cm c on a.cmno = c.cmno set a.edate = case when b.eend is not null then date_format(b.eend,'%Y-%m-%d 23:59:59') else a.edate end where a.lectno = ?param3 and c.cshape <> 1;] +2025-12-11 13:57:02,597 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.cmforchange] Prepared SQL: [select b.cmno,b.cname,b.classno,b.cshape ,t.tyear,t.tseq from cm a inner join cm b on b.ismaster=0 and b.pcmno=a.pcmno and b.cmno <> ?param0 and b.setime is not null and b.setime > now() and b.isuse=1 and b.isdel=0 inner join term t on t.tmno=b.tmno left outer join lect c on c.cmno=b.cmno and c.status in (1,3,4) and c.ischanged=0 where a.cmno= ?param0 group by b.cmno,b.cname,b.classno,b.quota,b.cshape ,t.tyear,t.tseq having b.quota = 0 or b.quota > count(c.lectno) order by b.cname,b.classno,b.setime] +2025-12-11 13:57:02,597 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.scdlects] Prepared SQL: [select a.scdno,a.dday,a.dtime,a.istalk,a.isemail,a.issms,a.isuse from scdlect a order by a.scdno] +2025-12-11 13:57:02,599 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.encourages] Prepared SQL: [insert into alarms (userno,atime,scdno,cmexno,dday,isdel,cdt,cno,udt,uno,uip) select a.userno,now(),a.scdno,a.cmexno,a.dday,0,now(), ?param0 ,now(), ?param0 , ?param1 from ( select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.attrate < 80 and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 where a.scdno < 3 and a.isuse=1 and a.dtime= ?param2 union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmex e on e.cmno=c.cmno and e.extype=case when a.scdno=3 then 0 else 1 end and e.isdel=0 left outer join lectex f on f.lectno=c.lectno and f.exno=e.exno where a.scdno > 2 and a.scdno < 5 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmsd e on e.cmno=c.cmno and e.sdtype=0 and e.isdel=0 left outer join lectsd f on f.lectno=c.lectno and f.sdno=e.sdno where a.scdno=5 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmsd e on e.cmno=c.cmno and e.sdtype=1 and e.isdel=0 left outer join lectsd f on f.lectno=c.lectno and f.sdno=e.sdno where a.scdno=6 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmrs e on e.cmno=c.cmno and e.rstype=0 and e.isdel=0 left outer join lectrs f on f.lectno=c.lectno and f.rsno=e.rsno where a.scdno=7 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,c.sdate stime ,c.edate etime,e.cname studyplace,b.studytime days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char),CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) from scdlect a inner join cm b on b.ismaster=0 and b.cshape =1 and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.sdate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 left outer join comcode e on e.ccode = b.studyplace where a.scdno=8 and a.isuse=1 and a.dtime= ?param2 union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.exno cmexno,b.exname cname,b.estime stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char),CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) from scdlect a inner join exam b on date_format(b.estime,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') and b.isopen=1 inner join examuser c on c.exno=b.exno and c.status=1 and c.pstatus=1 inner join users d on d.userno=c.userno and d.status=1 where a.scdno=9 and a.isuse=1 and a.dtime= ?param2 ) a; select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.attrate < 80 and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 where a.scdno < 3 and a.isuse=1 and a.dtime= ?param2 union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmex e on e.cmno=c.cmno and e.extype=case when a.scdno=3 then 0 else 1 end and e.isdel=0 left outer join lectex f on f.lectno=c.lectno and f.exno=e.exno where a.scdno > 2 and a.scdno < 5 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmsd e on e.cmno=c.cmno and e.sdtype=0 and e.isdel=0 left outer join lectsd f on f.lectno=c.lectno and f.sdno=e.sdno where a.scdno=5 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmsd e on e.cmno=c.cmno and e.sdtype=1 and e.isdel=0 left outer join lectsd f on f.lectno=c.lectno and f.sdno=e.sdno where a.scdno=6 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,null stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) mobile from scdlect a inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 inner join cmrs e on e.cmno=c.cmno and e.rstype=0 and e.isdel=0 left outer join lectrs f on f.lectno=c.lectno and f.rsno=e.rsno where a.scdno=7 and a.isuse=1 and a.dtime= ?param2 and f.lectno is null union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.cmno cmexno,b.cname,c.sdate stime ,c.edate etime,e.cname studyplace,b.studytime days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char),CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) from scdlect a inner join cm b on b.ismaster=0 and b.cshape =1 and b.isuse=1 and b.isdel=0 inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.sdate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') inner join users d on d.userno=c.userno and d.status=1 left outer join comcode e on e.ccode = b.studyplace where a.scdno=8 and a.isuse=1 and a.dtime= ?param2 union all select a.scdno,a.dday,a.istalk,a.isemail,a.issms ,d.userno,d.username ,b.exno cmexno,b.exname cname,b.estime stime ,null etime,null studyplace,null days ,CAST(AES_DECRYPT(UNHEX(d.email), 'np123@!') AS char),CAST(AES_DECRYPT(UNHEX(d.mobile), 'np123@!') AS char) from scdlect a inner join exam b on date_format(b.estime,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d') and b.isopen=1 inner join examuser c on c.exno=b.exno and c.status=1 and c.pstatus=1 inner join users d on d.userno=c.userno and d.status=1 where a.scdno=9 and a.isuse=1 and a.dtime= ?param2] +2025-12-11 13:57:02,599 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.cmrs] Prepared SQL: [select a.rsno,a.rstype,a2.rscno,a2.rscname,b.cshape,b.cname,b.classno,b.rstime,b.retime,b.sstime,b.setime ,c.tyear,c.tseq ,count(distinct d.lectno) countlect,count(distinct e.lectno) countok ,g.username as teachername from cmrs a inner join rsc a2 on a2.rscno=a.rscno inner join cm b on b.cmno=a.cmno inner join term c on c.tmno=b.tmno inner join lect d on d.cmno=b.cmno and d.status=1 and d.ischanged=0 left outer join lectrs e on e.lectno=d.lectno and e.rsno=a.rsno left outer join cminning f on a.cmino = f.cmino left outer join users g on g.userno = f.userno where a.rsno= ?param0 group by a.rsno,a.rstype,a2.rscno,a2.rscname,b.cshape,b.cname,b.classno,b.rstime,b.retime,b.sstime,b.setime,c.tyear,c.tseq] +2025-12-11 13:57:02,600 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.cmrscqs] Prepared SQL: [select a.rsno ,b.rscqno ,c.qno,c.qtext,c.atype ,d.qino,d.qitext ,sum(case when concat(',',e.atext,',') like concat('%,',d.qino,',%') then 1 else 0 end) scount ,count(e.atext) acount ,group_concat(e.atext order by e.cdt separator '
    ') atext from cmrs a inner join rscq b on b.rscno=a.rscno inner join question c on c.qno=b.qno left outer join questionitem d on d.qno=c.qno and d.isdel=0 left outer join lectrs e on e.rsno=a.rsno and e.rscqno=b.rscqno where a.rsno= ?param0 group by a.rsno ,b.rscqno ,c.qno,c.qtext,c.atype ,d.qino,d.qitext order by b.dseq,b.qno,d.qino] +2025-12-11 13:57:02,600 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.rscq] Prepared SQL: [select a.rscqno,a.qno,q.atype,qi.qino,row_number() over(partition by qi.qno order by qi.qino) rno from rscq a inner join question q on q.qno=a.qno left outer join questionitem qi on qi.qno=q.qno and qi.isdel=0 where a.rscno= ?param0 order by a.dseq] +2025-12-11 13:57:02,600 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectrss] Prepared SQL: [select a.rsno,b.lectno,c.rscno,c.rscqno,u.username,u.userid,uc.cname ccpositionname,b.isrebate,c.cdt,c.atext from cmrs a inner join lect b on b.cmno=a.cmno and b.status=1 and b.ischanged=0 inner join users u on u.userno=b.userno left outer join assign ua on ua.asno=u.asno left outer join comcode uc on uc.ccode=u.ccposition inner join lectrs c on c.lectno=b.lectno and c.rsno=a.rsno inner join rscq rq on rq.rscqno=c.rscqno inner join question q on q.qno=rq.qno where a.rsno= ?param0 order by u.username,u.userno,rq.dseq,rq.rscqno] +2025-12-11 13:57:02,601 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.attoffs] Prepared SQL: [select c.tyear,c.tseq ,a.cmno,a.cname,a.classno ,b.cmino,b.week,b.iseq,b.ititle,b.idate,b.ist,b.iet ,d.username from cm a inner join cminning b on b.cmno=a.cmno and b.isonline=0 and b.idate= ?param0 inner join term c on c.tmno=a.tmno left outer join users d on d.userno=b.userno where a.ismaster=0 and a.sstime <= ?param0 and a.setime >= ?param0 and a.isuse=1 and a.isdel=0 order by b.iet,a.cname] +2025-12-11 13:57:02,601 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.cminning] Prepared SQL: [select c.tyear,c.tseq ,b.cshape,b.cname,b.classno ,a.cmino,a.ititle,a.idate,a.ist,a.iet from cminning a inner join cm b on b.cmno=a.cmno inner join term c on c.tmno=b.tmno where a.cmino= ?param0] +2025-12-11 13:57:02,601 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectinnings.foratt] Prepared SQL: [select a.cmino,b.lectno,c.userno ,ca.asname,c.username,c.userid,d.stime,d.etime,d.istatus ,row_number() over(order by d.udt desc,c.username) rno ,count(a.cdt) over() pagetotalcount from cminning a inner join lect b on b.cmno=a.cmno and b.status=1 and b.ischanged=0 inner join users c on c.userno=b.userno and c.status=1 left outer join assign ca on ca.asno=c.asno left outer join lectinning d on d.lectno=b.lectno and d.cmino=a.cmino where a.cmino= ?param0 order by rno] +2025-12-11 13:57:02,605 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.pagelogs_page] Prepared SQL: [select a.cdt,a.uip,b.pagename,a.loginfo from menupage b inner join ( select cdt, uip, loginfo, pno from pagelog a where a.userno= ?param0 and a.logsite= ?param1 and a.cdt between ?param2 and ?param3 ) a on b.pno=a.pno] +2025-12-11 13:57:02,608 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.reexam.log] Prepared SQL: [select a.* from ( select a.estart,eend,eip ,row_number() over(order by a.cdt desc) rno ,count(a.cno) over() pagetotalcount from lectexrelog a where a.lectno= ?param0 and a.exno= ?param1 ) a order by a.rno] +2025-12-11 13:57:02,611 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectexq] Prepared SQL: [select a.lectno,a.exno,a.eqno,a.atext,a.qinos,a.cpoint,a.dpoint,a.iscorrect,a.qseq ,c.qno,c.atype,c.qtext from lectexq a inner join cmexq b on b.eqno=a.eqno inner join question c on c.qno=b.qno where a.lectno= ?param0 and a.exno= ?param1 order by a.qseq] +2025-12-11 13:57:02,613 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectsdfiles] Prepared SQL: [select d.orgname,d.fileurl,c.userno,c.userid,c.username from lectsd a inner join lect b on b.lectno=a.lectno and b.status=1 and b.ischanged=0 inner join users c on c.userno=b.userno inner join fileinfo d on d.fgno=a.fgno and d.isdel=0 where a.sdno= ?param0] +2025-12-11 13:57:02,613 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectdiscuss] Prepared SQL: [select a.sdno,a.tpoint sdtpoint ,b.lectno,b.cpoint,b.feedb,b.submittime,b.checktime ,c.userno,c.username,c.userid ,d.asname from cmsd a inner join lect b2 on b2.lectno= ?param0 inner join users c on c.userno=b2.userno left outer join assign d on d.asno=c.asno left outer join lectsd b on b.lectno=b2.lectno and b.sdno=a.sdno where a.sdno= ?param1] +2025-12-11 13:57:02,615 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.mydata] Prepared SQL: [select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,a.intval9 ,a.longval,a.longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,a.time3,a.time4 ,a.time5,a.time6 ,a.rno ,a.iscomplete ,a.studytime ,a.studyplacename studyplacename, a.studyplace ,a.cshape from( select 1 dtype ,d.tyear intval,d.tseq intval2,c.cshape intval3,a.pstatus intval4,case when e.rfdno is null then 0 else 1 end intval5,a.isrebate intval6,a.itemno intval7 ,case when (case when l.sdate is null then c.sstime else l.sdate end) < now() and (case when l.edate is null then c.setime else l.edate end) > now() then 1 else 0 end intval8 ,c.studydays intval9 ,l.lectno longval,a.payno longval2 ,c.cname strval,null strval2,null strval3 ,c.rstime time,c.retime time2 ,b.cdt time3,f.estart time4 ,CASE WHEN l.sdate IS NULL then (case when c.cshape ='1' then f.estart else l.cdt end) ELSE l.sdate end AS time5 ,case when l.edate is null then f.eend else l.edate end time6 ,case when b.pstatus = 1 then 99 else b.pstatus end as sortpstatus ,row_number() over(order by sortpstatus, c.retime, b.payno,a.pino) rno ,l.iscomplete ,c.studytime, cc.cname studyplacename, cmis.studyplace, l.cdt ,c.cshape from payitem a inner join pay b on b.payno=a.payno and b.pstatus in (21,22,51,55) and b.rstatus < 2 inner join cm c on c.cmno=a.itemno and c.rstime < now() and c.retime > now() inner join lect l on l.cmno=c.cmno and (l.status < 5 or l.status = 6) and l.ischanged=0 and l.userno=b.userno inner join term d on d.tmno=c.tmno left outer join payrfd e on e.payno=a.payno and e.payno=a.payno and e.rstatus=0 left outer join cminningscd f on f.cmisno = l.cmisno LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = l.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.ptype in (0,1,4) and a.userno= ?param0 and a.pstatus in (21,22,51,55) and a.rstatus=0 and 1 = case when c.retime = '2099-12-31 23:59:59' and l.stime is not null then 0 else 1 end order by sortpstatus,l.cdt desc, c.retime desc, b.payno,a.pino ) a union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,a.time3,a.time4 ,a.time5,a.time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 2 dtype ,c.tyear intval,c.tseq intval2,b.cshape intval3,0 intval4,0 intval5,a.isrebate intval6,a.cmno intval7,0 intval8 ,a.lectno longval,0 longval2 ,b.cname strval,null strval2,null strval3 ,case WHEN a.sdate IS NULL then (case when b.cshape ='1' then d.estart else a.cdt end) ELSE a.sdate end AS time ,case when a.edate is null then d.eend else a.edate end time2 ,d.estart time3,d.eend time4 ,e.cdt time5,null time6 ,row_number() over(order by b.setime desc) rno ,case when d.eend is not null then d.eend else a.edate end as sortedate ,a.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from lect a inner join pay e on e.payno = a.payno inner join cm b on b.cmno=a.cmno inner join term c on c.tmno=b.tmno left outer join cminningscd d on a.cmisno = d.cmisno LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.status=1 and a.ischanged=0 and (case when a.sdate is null then b.setime else a.edate end) >= now() order by case when time2 > now() then 1 else 0 end asc ,sortedate asc, time2 asc ) a union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 3 dtype ,1 intval,c.iseq intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,a.lectno longval ,b.cname strval,null strval2,null strval3 ,case when a.sdate is null then b.sstime else a.sdate end as time ,case when a.edate is null then b.setime else a.edate end as time2 ,row_number() over(partition by a.cmno order by c.iseq) rno2 ,row_number() over(order by b.setime) rno ,a.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from lect a inner join cm b on b.cmno=a.cmno inner join cminning c on c.cmno=b.cmno and c.isonline=1 and c.isscd = 0 left outer join lectinning d on d.lectno=a.lectno and d.cmino=c.cmino and d.istatus=2 LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.status=1 and a.ischanged=0 and d.lectno is null and a.sdate < now() and a.edate > now() ) a where a.rno2=1 union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 3 dtype ,2 intval,c.iseq intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,a.lectno longval ,b.cname strval,bc.cname strval2,concat(date_format(c.idate,'%m/%d'),' ',left(c.ist,2),':',right(c.ist,2),' ~ ',left(c.iet,2),':',right(c.iet,2)) strval3 ,case when a.sdate is null then b.sstime else a.sdate end as time ,case when a.edate is null then b.setime else a.edate end as time2 ,row_number() over(partition by a.cmno order by c.iseq) rno2 ,row_number() over(order by b.setime) rno ,a.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from lect a inner join cm b on b.cmno=a.cmno left outer join comcode bc on bc.ccode=b.studyplace inner join cminning c on c.cmno=b.cmno and c.isonline=0 and c.isscd = 0 LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.status=1 and a.ischanged=0 and a.sdate < now() and a.edate > now() ) a where a.rno2=1 union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 3 dtype ,3 intval,0 intval2,b.classno intval3,c.extype intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,a.lectno longval ,b.cname strval,bc.cname strval2,null strval3 ,case when a.sdate is null then b.sstime else a.sdate end as time ,case when a.edate is null then b.setime else a.edate end as time2 ,row_number() over(partition by a.cmno order by c.extype,c.cdt) rno2 ,row_number() over(order by b.setime) rno ,a.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from lect a inner join cm b on b.cmno=a.cmno left outer join comcode bc on bc.ccode=b.studyplace inner join cmex c on c.cmno=b.cmno and c.isdel=0 and c.econdition <= a.attrate LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' left outer join lectex d on d.lectno=a.lectno and d.exno=c.exno and d.eend is not null where a.userno= ?param0 and a.status=1 and a.ischanged=0 and d.lectno is null and a.sdate < now() and a.edate > now() ) a where a.rno2=1 union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 3 dtype ,4 intval,0 intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,a.lectno longval ,b.cname strval,bc.cname strval2,null strval3 ,case when a.sdate is null then b.sstime else a.sdate end as time ,case when a.edate is null then b.setime else a.edate end as time2 ,row_number() over(partition by a.cmno order by c.cdt) rno2 ,row_number() over(order by b.setime) rno ,a.iscomplete ,b.studytime, cc.cname as studyplacename, cmis.studyplace ,b.cshape from lect a inner join cm b on b.cmno=a.cmno left outer join comcode bc on bc.ccode=b.studyplace inner join cmsd c on c.sdtype=0 and c.cmno=b.cmno and c.isdel=0 and c.sdcondition <= a.attrate left outer join lectsd d on d.lectno=a.lectno and d.sdno=c.sdno and d.submittime is not null LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.status=1 and a.ischanged=0 and d.lectno is null and a.sdate < now() and a.edate > now() ) a where a.rno2=1 union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,0 longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 3 dtype ,5 intval,0 intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,a.lectno longval ,b.cname strval,bc.cname strval2,null strval3 ,case when a.sdate is null then b.sstime else a.sdate end as time ,case when a.edate is null then b.setime else a.edate end as time2 ,row_number() over(partition by a.cmno order by c.cdt) rno2 ,row_number() over(order by b.setime) rno ,a.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from lect a inner join cm b on b.cmno=a.cmno left outer join comcode bc on bc.ccode=b.studyplace inner join cmsd c on c.sdtype=1 and c.cmno=b.cmno and c.isdel=0 and c.sdcondition <= a.attrate left outer join lectsdboard d on d.lectno=a.lectno and d.sdno=c.sdno and d.isdel=0 LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = a.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.status=1 and a.ischanged=0 and d.lectno is null and a.sdate < now() and a.edate > now() ) a where a.rno2=1 union all select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9 ,a.longval,a.longval2 ,a.strval,a.strval2,a.strval3 ,a.time,a.time2 ,null time3, null time4 ,null time5, null time6 ,a.rno ,a.iscomplete ,a.studytime, a.studyplacename studyplacename, a.studyplace ,a.cshape from ( select 4 dtype ,a.scdno intval,a.dday intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,b.cmno intval7,0 intval8 ,c.lectno longval,a.alno longval2 ,b.cname strval,null strval2,null strval3 ,a.atime time,c.edate time2 ,row_number() over(order by a.atime desc) rno ,c.iscomplete ,b.studytime, cc.cname studyplacename, cmis.studyplace ,b.cshape from alarms a inner join cm b on b.cmno=a.cmexno inner join lect c on c.cmno=b.cmno and c.userno=a.userno and c.status=1 and c.ischanged=0 LEFT OUTER JOIN cminningscd cmis ON cmis.cmisno = c.cmisno LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace' where a.userno= ?param0 and a.scdno < 9 and a.isdel=0 order by a.atime desc limit 5 ) a] +2025-12-11 13:57:02,619 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.myexamrenews] Prepared SQL: [select a.exno,a.userno,a.certtime,a.certdate,a.certindate,a.renewreason,a.isfirst,a.certidx ,b.username cnoname from examuserrenew a left outer join users b on b.userno=a.cno where a.exno= ?param0 and a.userno= ?param1 order by a.certdate desc] +2025-12-11 13:57:02,619 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.myexamrenewlects] Prepared SQL: [select a.*,b.cmno,b.oktime,b.iscomplete from ( select distinct(c.cmno),c.cname,c.cshape from examuser a inner join exam b on b.exno=a.exno inner join cm c on c.certcc=b.certcc and c.certgradecc=b.certgradecc and c.isdel=0 and c.isuse=1 inner join cg d on d.cgno = c.cgno and d.isuse=1 and d.isdel=0 and d.iscover=1 where a.exno= ?param0 and a.userno= ?param1 )a inner join lect b on b.cmno=a.cmno where b.status=1 and b.iscomplete=1 and b.ischanged=0 and b.userno= ?param1 group by a.cmno,a.cname,a.cshape,b.oktime,b.iscomplete limit 3] +2025-12-11 13:57:02,619 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.myalarm] Prepared SQL: [select 4 dtype,a.scdno intval,a.dday intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,b.cmno intval7 ,c.lectno longval,a.alno longval2 ,b.cname strval,null strval2,null strval3 ,a.atime time,null time2 from alarms a inner join cm b on b.cmno=a.cmexno inner join lect c on c.cmno=b.cmno and c.userno=a.userno and c.status=1 and c.ischanged=0 where a.userno= ?param0 and date_add(a.atime, interval 3 month) > now() and a.scdno < 9 and a.isdel=0 order by a.atime desc] +2025-12-11 13:57:02,619 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectex.result] Prepared SQL: [select a.etime,a.exname,a.tpoint fullpoint,a.isresultopen ,b.estart,b.eend,b.tpoint, b.udt from cmex a inner join lectex b on b.lectno= ?param0 and b.exno=a.exno inner join lect c on c.lectno=b.lectno and c.userno= ?param1 where a.exno= ?param2] +2025-12-11 13:57:02,619 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectexq.result] Prepared SQL: [select d.atype,b.cpoint,b.dpoint,d.qtext,b.atext,d.qdesc,b.iscorrect,c.qno,b.eqno,b.qseq from lectex a inner join lect a2 on a2.lectno=a.lectno and a2.userno= ?param0 inner join lectexq b on b.lectno=a.lectno and b.exno=a.exno inner join cmexq c on c.eqno=b.eqno inner join question d on d.qno=c.qno where a.lectno= ?param1 and a.exno= ?param2 order by b.qseq] +2025-12-11 13:57:02,619 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectexresult.selectrate] Prepared SQL: [select a.eqno,sum(case when a.atext = b.atext then 1 else 0 end) / count(b.eqno) * 100 selectrate from lectexq a inner join lect a2 on a2.lectno=a.lectno and a2.userno= ?param0 inner join lectexq b on b.exno=a.exno and b.eqno=a.eqno where a.lectno= ?param1 and a.exno= ?param2 group by a.eqno] +2025-12-11 13:57:02,620 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.myrecomm] Prepared SQL: [select c.tyear,c.tseq,a.cmno,b.cshape,b.cname,b.rstime,b.retime,e.cgcode,b.isrefund from ( select a.* from ( select distinct b.ispre idx,c.cmno from lect a inner join cmrelay b on b.cmno=a.cmno inner join cm c on c.ismaster=0 and c.pcmno=b.rcmno and c.rstime < now() and c.retime > now() left outer join lect d on d.userno=a.userno and d.cmno=c.cmno where a.userno= ?param0 and a.status=1 and a.ischanged=0 and d.lectno is null order by b.ispre,c.retime limit 2 ) a union all select a.* from ( select 2 idx,c.cmno from users a inner join comcode b on b.ccode=a.ccposition inner join cm c on c.ismaster=0 and c.rstime < now() and c.retime > now() and c.jobpositiongrade like concat('%',b.refcode,'%') left outer join lect d on d.userno=a.userno and d.cmno=c.cmno where a.userno= ?param0 and d.lectno is null order by c.retime limit 2 ) a ) a inner join cm b on b.cmno=a.cmno inner join term c on c.tmno=b.tmno inner join cg d on d.cgno=b.cgno inner join cg e on e.cgno=d.pcgno order by a.idx,b.retime limit 2] +2025-12-11 13:57:02,620 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.attcert.check] Prepared SQL: [select ifnull(a.isattcheck,0) intval,b.ischkatt intval2,c.ischkatt intval3 ,CAST(AES_DECRYPT(UNHEX(b.mobile), 'np123@!') AS char) strval from lect a inner join users b on b.userno = a.userno inner join cm c on c.cmno = a.cmno where a.lectno = ?param0] +2025-12-11 13:57:02,623 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectinning.attcert.check] Prepared SQL: [select ifnull(d.isattcheck,0) intval,b.ischkatt intval2,c.ischkatt intval3 ,CAST(AES_DECRYPT(UNHEX(b.mobile), 'np123@!') AS char) strval ,b.authplatform strval2 from lect a inner join users b on b.userno = a.userno inner join cm c on c.cmno = a.cmno left outer join lectinning d on d.lectno = a.lectno and d.cmino = ?param0 where a.lectno = ?param1 and a.userno = ?param2] +2025-12-11 13:57:02,624 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lecture.document.past] Prepared SQL: [select no lectno,substr(a.cshape,1,3) cshapename2,a.cgname cname,a.ssdate sstime,a.sedate setime ,case when a.rprice> 0 then 1 else 0 end isrebate from docprintpast a inner join users b on b.userpno= a.userpno where userno = ?param0] +2025-12-11 13:57:02,624 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectinning.new] Prepared SQL: [select a.logno longval ,a.lectno intval,a.cmino intval2,max(a.intval+a.intval2) intval3 ,a.strval,a.strval2,a.intval3 intval4 from( select a.logno,a.lectno,a.cmino ,case when b.edate < now() then 0 when b.status <> 1 then 0 else case when a.stime = a.etime then 1 else 0 end end intval ,case when b.edate < now() then 0 when b.status <> 1 then 0 else case when (timestampdiff(second,a.stime,a.etime)%300) = 0 then 1 else 0 end end intval2 ,c.cname strval,d.ititle strval2,d.iseq intval3 from lectinningpage a inner join lect b on b.lectno = a.lectno inner join cm c on c.cmno = b.cmno inner join cminning d on d.cmino = a.cmino where b.userno = ?param0 order by a.cdt desc limit 1 ) a] +2025-12-11 13:57:02,625 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.count.user2] Prepared SQL: [select max(lectCnt) * min(checkNum) from ( select count(t1.lectno) as lectCnt, 1 as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno inner join pay t4 on t1.payno = t4.payno inner join pplog t5 on t1.cmno= t5.cmno and t1.userno = t5.userno and t4.pplno = t5.pplno where (t1.status = 1 or t1.status = 2) and (t4.pstatus= 1 or t4.pstatus=22) and t3.cgcode in (103,104,105) and t5.typegrade = ?param0 and t5.typeedu = ?param1 and t1.userno = ?param2 and t5.typeman = 28 union select 0 as lectCnt, (case when count(t1.lectno) > 0 then -1 else 1 end) as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno where (t1.status = 1 or t1.status = 2) and t2.isdel= 0 and t2.isuse= 1 and t2.ismaster = 0 and t1.userno = ?param2 and t2.pcmno = ?param3 )t] +2025-12-11 13:57:02,625 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.count.user3] Prepared SQL: [select max(lectCnt) * min(checkNum) from ( select count(t1.lectno) as lectCnt, 1 as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno inner join pay t4 on t1.payno = t4.payno inner join pplog t5 on t1.cmno= t5.cmno and t1.userno = t5.userno and t4.pplno = t5.pplno where (t1.status = 1 or t1.status = 2) and (t4.pstatus= 1 or t4.pstatus=22) and t3.cgcode in (103,104) and t5.typeedu = 30 and t1.userno = ?param0 and t5.typeman = 28 union select 0 as lectCnt, (case when count(t1.lectno) > 0 then -1 else 1 end) as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno where (t1.status = 1 or t1.status = 2) and t2.isdel= 0 and t2.isuse= 1 and t2.ismaster = 0 and t1.userno = ?param0 and t2.pcmno = ?param1 )t] +2025-12-11 13:57:02,625 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.count.user4] Prepared SQL: [select count(t1.lectno) from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno where (t1.status = 1 or t1.status = 2) and t2.isdel= 0 and t2.isuse= 1 and t2.ismaster = 0 and t1.userno = ?param0 and t2.pcmno = ?param1] +2025-12-11 13:57:02,625 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.count.user5] Prepared SQL: [select max(lectCnt) * min(checkNum) from ( select count(t1.lectno) as lectCnt, 1 as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno inner join pay t4 on t1.payno = t4.payno inner join pplog t5 on t1.cmno= t5.cmno and t1.userno = t5.userno and t4.pplno = t5.pplno where (t1.status = 1 or t1.status = 2) and (t4.pstatus= 1 or t4.pstatus=22) and t3.cgcode in (103,104) and t5.typeedu = ?param0 and t1.userno = ?param1 and t5.typeman = 28 union select 0 as lectCnt, (case when count(t1.lectno) > 0 then -1 else 1 end) as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno where (t1.status = 1 or t1.status = 2) and t2.isdel= 0 and t2.isuse= 1 and t2.ismaster = 0 and t1.userno = ?param1 and t2.pcmno = ?param2 )t] +2025-12-11 13:57:02,626 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.count.user6] Prepared SQL: [select (max(lectCnt1) + max(lectCnt2)) * min(checkNum) from ( select count(t1.lectno) as lectCnt1, 0 as lectCnt2, 1 as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno inner join pay t4 on t1.payno = t4.payno inner join pplog t5 on t1.cmno= t5.cmno and t1.userno = t5.userno and t4.pplno = t5.pplno where (t1.status = 1 or t1.status = 2) and (t4.pstatus= 1 or t4.pstatus=22) and t3.cgcode in (102,103,104,105) and t5.typeedu = 35 and t1.userno = ?param0 and t5.typeman = 28 and t5.typegrade in (38,39) union select 0 as lectCnt1, count(t1.lectno) as lectCnt2,(case when count(t1.lectno) > 0 then -1 else 1 end) as checkNum from lect t1 inner join cm t2 on t1.cmno = t2.cmno inner join cg t3 on t2.cgno= t3.cgno where (t1.status = 1 or t1.status = 2) and t2.isdel= 0 and t2.isuse= 1 and t2.ismaster = 0 and t1.userno = ?param0 and t2.pcmno = ?param1 )t] +2025-12-11 13:57:02,626 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.pplog.get] Prepared SQL: [select l.lectno, l.cmno, l.payno, pp.cshape, cc.cname zstring1, cc2.cname zstring2, cc3.cname zstring3, cc4.cname zstring4, cc5.cname zstring5 from lect l inner join pay p on l.payno = p.payno and l.userno = p.userno inner join pplog pp on p.pplno = pp.pplno left outer join comcode cc on cc.ccode = pp.typeman left outer join comcode cc2 on cc2.ccode = pp.typeedu left outer join comcode cc3 on cc3.ccode = pp.typegrade left outer join comcode cc4 on cc4.ccode = pp.typejob left outer join comcode cc5 on cc5.ccode = pp.typejobitem where l.lectno = ?param0 and l.userno = ?param1] +2025-12-11 13:57:02,626 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.enroll.get] Prepared SQL: [SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; SELECT a.USERNO , b.lectno , b.ISCOMPLETE , b.completeno , c.cmno , c.CNAME , d.PCGNO , e.PAYNO , e.PSTATUS , f.CSHAPE , f.TYPEMAN , f.TYPEEDU , f.TYPEGRADE , f.TYPEJOB , d.CGCODE , d.CGNAME , f.CMISNO FROM users a INNER JOIN lect b ON a.USERNO = b.USERNO INNER JOIN cm c ON b.CMNO = c.CMNO INNER JOIN cg d ON c.cgno = d.cgno INNER JOIN pay e ON b.payno = e.PAYNO INNER JOIN pplog f ON b.USERNO = e.USERNO AND b.CMNO = f.CMNO AND e.PPLNO = f.PPLNO WHERE b.STATUS = 1 AND (e.PSTATUS = 1 OR e.PSTATUS = 22) AND b.USERNO = ?param0 ;] +2025-12-11 13:57:02,627 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.sedate.change] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,sdate = ?param2 ,edate= ?param3 where lectno= ?param4 and status = 1] +2025-12-11 13:57:02,630 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectchange] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,ischanged=1 where lectno= ?param2 ; insert into lect (cmno,payno,pino,userno,status,iscomplete,orgcmno,attrate,isrebate,ispc,isjoin,fgno,ischanged,cdt,cno,udt,uno,uip) select ?param3 ,payno,pino,userno,status,null,cmno,0,isrebate,ispc,isjoin,fgno,0,now(), ?param0 ,now(), ?param0 , ?param1 from lect a where a.lectno= ?param2] +2025-12-11 13:57:02,635 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectsd.save] Prepared SQL: [update lectsd set udt=now(),uno= ?param0 ,uip= ?param1 ,iscopy= ?param2 ,cpoint= ?param3 ,feedb= ?param4 ,memo= ?param5 ,checktime=case when ?param3 is not null or ?param4 is not null then now() else checktime end ,checkip=case when ?param3 is not null or ?param4 is not null then ?param1 else checkip end ,fgno= ?param6 where lectno= ?param7 and sdno= ?param8 ; insert into lectsd (lectno,sdno,atext,fgno,copyrate,iscopy,cpoint,feedb,memo,submittime,submitip,checktime,checkip,cdt,cno,udt,uno,uip) select ?param7 , ?param8 ,null, ?param6 ,null, ?param2 , ?param3 , ?param4 , ?param5 ,null,null ,case when ?param3 is not null or ?param4 is not null then now() else null end ,case when ?param3 is not null or ?param4 is not null then ?param1 else null end ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join lectsd b on b.lectno= ?param7 and b.sdno= ?param8 where b.lectno is null] +2025-12-11 13:57:02,636 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectsd.save2] Prepared SQL: [update lectsd set udt=now(),uno= ?param0 ,uip= ?param1 ,iscopy= ?param2 ,cpoint= ?param3 ,feedb= ?param4 ,memo= ?param5 ,checktime=case when ?param3 is not null or ?param4 is not null then now() else checktime end ,checkip=case when ?param3 is not null or ?param4 is not null then ?param1 else checkip end ,submittime=case when ?param6 = 'T' then now() else submittime end ,submitip=case when ?param6 = 'T' then ?param1 else submitip end ,fgno= ?param7 where lectno= ?param8 and sdno= ?param9 ; insert into lectsd (lectno,sdno,atext,fgno,copyrate,iscopy,cpoint,feedb,memo,submittime,submitip,checktime,checkip,cdt,cno,udt,uno,uip) select ?param8 , ?param9 ,null, ?param7 ,null, ?param2 , ?param3 , ?param4 , ?param5 ,case when ?param6 = 'T' then now() else null end ,case when ?param6 = 'T' then ?param1 else null end ,case when ?param3 is not null or ?param4 is not null then now() else null end ,case when ?param3 is not null or ?param4 is not null then ?param1 else null end ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join lectsd b on b.lectno= ?param8 and b.sdno= ?param9 where b.lectno is null; update lect l inner join ( select l.lectno, round(avg(ifnull(ls.cpoint,0)),1) as avgtpoint, round(((round(avg(ifnull(ls.cpoint,0)),1) * ce.subject / 100) ),1) spoint from lect l inner join cmsd cs on l.cmno = cs.cmno and cs.sdtype = 0 and cs.isdel = 0 left outer join lectsd ls on l.lectno = ls.lectno and cs.sdno = ls.sdno and ls.sdno= ?param9 inner join cmev ce on l.cmno = ce.cmno where l.status = 1 and l.lectno = ?param8 group by l.lectno )t on l.lectno = t.lectno set l.spoint = t.spoint , l.subjectpoint = t.avgtpoint , l.udt = now() , l.uno = ?param0 , l.uip= ?param1 where l.status = 1 and l.lectno = ?param8 ; update lect l inner join ( select l.lectno, round(avg(ifnull(ls.cpoint,0)),1) as avgtpoint, round(((round(avg(ifnull(ls.cpoint,0)),1) * ce.discuss / 100)),1) dpoint from lect l inner join cmsd cs on l.cmno = cs.cmno and cs.sdtype = 1 and cs.isdel = 0 left outer join lectsd ls on l.lectno = ls.lectno and cs.sdno = ls.sdno and ls.sdno= ?param9 inner join cmev ce on l.cmno = ce.cmno where l.status = 1 and l.lectno = ?param8 group by l.lectno )t on l.lectno = t.lectno set l.dpoint = t.dpoint , l.discusspoint = t.avgtpoint , l.udt = now() , l.uno = ?param0 , l.uip= ?param1 where l.status = 1 and l.lectno = ?param8 ;] +2025-12-11 13:57:02,639 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectsd2.save] Prepared SQL: [update lectsd set udt=now(),uno= ?param0 ,uip= ?param1 ,cpoint= ?param2 ,feedb= ?param3 ,checktime=case when ?param2 is not null or ?param3 is not null then now() else checktime end ,checkip=case when ?param2 is not null or ?param3 is not null then ?param1 else checkip end where lectno= ?param4 and sdno= ?param5 ; insert into lectsd (lectno,sdno,atext,fgno,copyrate,iscopy,cpoint,feedb,submittime,submitip,checktime,checkip,cdt,cno,udt,uno,uip) select ?param4 , ?param5 ,null,null,null,0, ?param2 , ?param3 ,null,null ,case when ?param2 is not null or ?param3 is not null then now() else null end ,case when ?param2 is not null or ?param3 is not null then ?param1 else null end ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join lectsd b on b.lectno= ?param4 and b.sdno= ?param5 where b.lectno is null] +2025-12-11 13:57:02,641 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.edub2b] Prepared SQL: [insert into edub2b (etype,userno,edate,esubject,etarget,ecount,eplace,ecomment,compname,ceoname,brno,addr,btype,bkind,manname,email,telno,fgno,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,HEX(AES_ENCRYPT( ?param15 , 'np123@!')),HEX(AES_ENCRYPT( ?param16 , 'np123@!')), ?param17 ,now(), ?param18 ,now(), ?param18 , ?param19 )] +2025-12-11 13:57:02,642 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.alarm.del] Prepared SQL: [update alarms set isdel=1 where alno= ?param0 and userno= ?param1] +2025-12-11 13:57:02,642 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.completetime.change] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,completetime= ?param2 where lectno= ?param3 and iscomplete=1;] +2025-12-11 13:57:02,642 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.drop2day] Prepared SQL: [update pay a inner join lect b on b.payno = a.payno and b.cmno = ?param0 and b.ischanged=0 and ifnull(b.isready,0) = 1 and b.status = 4 and DATE_ADD(b.oktime, INTERVAL 2 DAY) < now() set a.pstatus = 52, a.udt = now(), a.uno = ?param1 , a.uip = ?param2 ; update payitem a inner join pay b on b.payno = a.payno and b.pstatus = 52 inner join lect c on c.payno = b.payno and c.cmno = ?param0 and c.ischanged=0 and ifnull(c.isready,0) = 1 and c.status = 4 and DATE_ADD(c.oktime, INTERVAL 2 DAY) < now() set a.pstatus = b.pstatus, a.udt = now(), a.uno = ?param1 , a.uip = ?param2 ; update lect set status = 5, oktime = now(), udt = now(), uno = ?param1 , uip = ?param2 where cmno = ?param0 and ifnull(isready,0) = 1 and ischanged=0 and status = 4 and DATE_ADD(oktime, INTERVAL 2 DAY) < now()] +2025-12-11 13:57:02,643 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.isatt.in] Prepared SQL: [update lect set isattcheck = 1, lakey = ?param0 , latime = now() where lectno = ?param1] +2025-12-11 13:57:02,643 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectinning.isatt.in] Prepared SQL: [update lectinning a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 set a.isattcheck = ?param1 ,a.udt=now(),a.uno= ?param2 ,a.uip= ?param3 where a.lectno= ?param4 and a.cmino= ?param5 ; insert into lectinning (lectno,cmino,totstudy,stime,etime,istatus,finishtime,sip,eip,ispcs,ispce,pseq,psec,isattcheck,cdt,cno,udt,uno,uip) select ?param4 ,a.cmino,0,now(),now(),case when a.atime=0 then 2 else 0 end,case when a.atime=0 then now() else null end, ?param3 , ?param3 ,1,null,ctp.pseq,0, ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from cminning a inner join ctpage ctp on ctp.ctno=a.ctno and ctp.isdel=0 and ctp.pseq=1 left outer join lectinning b on b.lectno= ?param4 and b.cmino= ?param5 where a.cmino= ?param5 and b.lectno is null;] +2025-12-11 13:57:02,643 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.cmisno.up] Prepared SQL: [update lect set cmisno = ?param0 where lectno = ?param1 ; update pplog a left outer join ( select a.lectno,a.payno,b.pplno,a.cmisno from lect a inner join pay b on b.payno = a.payno where a.lectno = ?param1 ) b on b.pplno = a.pplno set a.cmisno = b.cmisno where b.lectno = ?param1 ; update lect a left outer join cminningscd b on b.cmisno = a.cmisno left outer join cm c on a.cmno = c.cmno set a.edate = (case when b.eend is not null then date_format(b.eend,'%Y-%m-%d 23:59:59') else a.edate end) ,a.sdate = (case when b.estart is not null then date_format(b.estart,'%Y-%m-%d 00:00:00') else a.sdate end) where a.lectno = ?param1 and c.cshape = 1; update lect a left outer join cminningscd b on b.cmisno = a.cmisno left outer join cm c on a.cmno = c.cmno set a.edate = case when b.eend is not null then date_format(b.eend,'%Y-%m-%d 23:59:59') else a.edate end where a.lectno = ?param1 and c.cshape <> 1;] +2025-12-11 13:57:02,643 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [lect.lectsd.del] Prepared SQL: [update lectsd set udt=now(),uno= ?param0 ,uip= ?param1 ,submittime=null ,submitip=null ,fgno=null where lectno= ?param2 and sdno= ?param3 ;] +2025-12-11 13:57:02,678 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.bmos] Prepared SQL: [select a.opno,a.bmno,a.opname,a.isuse,a.dsort ,a.opno value,a.opname text from boardmasteropening a where a.bmno= ?param0 and a.isdel=0 order by a.dsort,a.cdt] +2025-12-11 13:57:02,679 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.get] Prepared SQL: [select e.asname ,c.bmno,c.bmname,c.isuseopening,c.isreply,c.disptype,c.bmtype ,f.opname ,b.bno,b.pbno,b.subject,b.istop,b.issecr,b.cdt,d.username cnoname,b.rcount,b.fgno,b.fgnothumb,b.opno,b.contents,b.isopen ,b2.subject psubject ,g.cmno,g.cname,g.classno ,h.tmno,h.tyear,h.tseq ,count(b3.bno) ccount from board b inner join boardmaster c on c.bmno=b.bmno inner join users d on d.userno=b.cno left outer join board b2 on b2.bno=b.pbno and b2.isdel=0 left outer join board b3 on b3.pbno=b.bno and b3.isdel=0 left outer join assign e on e.asno=c.asno left outer join boardmasteropening f on f.opno=b.opno left outer join cm g on g.cmno=b.cmno left outer join term h on h.tmno=g.tmno where b.bno= ?param0 group by e.asname ,c.bmno,c.bmname,c.isuseopening,c.isreply,c.disptype,c.bmtype ,f.opname ,b.bno,b.pbno,b.subject,b.istop,b.issecr,b.cdt,d.username,b.rcount,b.fgno,b.fgnothumb,b.opno,b.contents,b.isopen ,b2.subject ,g.cmno,g.cname,g.classno ,h.tmno,h.tyear,h.tseq] +2025-12-11 13:57:02,679 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.boardcmts] Prepared SQL: [select a.bcno,a.bno,a.ctext,a.isdel,a.cdt,a.udt,a.cno ,b.username cnoname,b.usertype from boardcmt a inner join users b on b.userno=a.cno where a.bno= ?param0 and a.isdel=0 order by a.cdt desc] +2025-12-11 13:57:02,680 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.bs.forqna] Prepared SQL: [select a.bno,a.pbno,a.subject,a.contents,a.cdt,a.fgno,f.opname,a.cdt,b.usertype,a.rcount from board a inner join users b on b.userno=a.cno left outer join boardmasteropening f on f.opno=a.opno where a.bno= ?param0 and (a.cno= ?param1 or b.usertype in (91,92)) union all select a.bno,a.pbno,a.subject,a.contents,a.cdt,a.fgno,f.opname,a.cdt,b.usertype,a.rcount from board a inner join users b on b.userno=a.cno left outer join boardmasteropening f on f.opno=a.opno where a.pbno= ?param0] +2025-12-11 13:57:02,681 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.bm.in] Prepared SQL: [insert into boardmaster (bmcode,bmposition,bmname,bmdesc,bmtype,disptype,isuseopening,isreply,isopen,isdefault,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,0,now(), ?param9 ,now(), ?param9 , ?param10 );] +2025-12-11 13:57:02,681 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.bm.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,683 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.in] Prepared SQL: [insert into board (pbno,bmno,opno,subject,contents,fgno,fgnothumb,cmno,rcount,rpcount,isdel,istop,issecr,isopen,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 ,0,0,0, ?param8 , ?param9 , ?param10 ,now(), ?param11 ,now(), ?param11 , ?param12 );] +2025-12-11 13:57:02,683 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,685 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.inp] Prepared SQL: [insert into board (pbno,bmno,opno,subject,contents,fgno,fgnothumb,cmno,rcount,rpcount,isdel,istop,issecr,isopen,cdt,cno,udt,uno,uip) select bno,bmno,opno, ?param0 , ?param1 , ?param2 , ?param3 ,cmno,0,0,0,0, ?param4 , ?param5 ,now(), ?param6 ,now(), ?param6 , ?param7 from board where bno= ?param8 ;] +2025-12-11 13:57:02,686 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.inp.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,686 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.boardcmt.in] Prepared SQL: [update board set rpcount = rpcount+1 where bno= ?param0 ; insert into boardcmt (bno,ctext,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 ,0,now(), ?param2 ,now(), ?param2 , ?param3 );] +2025-12-11 13:57:02,687 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.boardcmt.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,687 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.bm.up] Prepared SQL: [update boardmaster set udt=now(),uno= ?param0 ,uip= ?param1 ,bmname = ?param2 ,bmdesc = ?param3 ,bmtype =case when isdefault>0 then bmtype else ?param4 end ,disptype =case when isdefault>0 then disptype else ?param5 end ,isuseopening = ?param6 ,isreply = ?param7 ,isopen =case when isdefault>0 then isopen else ?param8 end where bmno= ?param9] +2025-12-11 13:57:02,687 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.bd.read] Prepared SQL: [update board set rcount = rcount +1 where bno= ?param0] +2025-12-11 13:57:02,687 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.bmassign.save] Prepared SQL: [update boardmaster set udt=now(),uno= ?param0 ,uip= ?param1 ,isopen=1 where bmno in (select bmno from (select bmno from boardmaster where asno= ?param2 and isdefault=3) a); insert into boardmaster (bmcode,bmposition,bmname,bmdesc,bmtype,disptype,isuseopening,isreply,isopen,isdefault,asno,cdt,cno,udt,uno,uip) select concat('assignnotice_', ?param2 ),0,'',null,0,0,0,1,1,3, ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join boardmaster b on b.asno= ?param2 and b.isdefault=3 where b.bmno is null;] +2025-12-11 13:57:02,687 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.bmassign.save2] Prepared SQL: [update boardmaster set udt=now(),uno= ?param0 ,uip= ?param1 ,isopen=0 where bmno in (select bmno from (select bmno from boardmaster where asno= ?param2 and isdefault=3) a)] +2025-12-11 13:57:02,688 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.up] Prepared SQL: [update board set udt=now(),uno= ?param0 ,uip= ?param1 ,opno =case when pbno is null then ?param2 else opno end ,subject = ?param3 ,contents = ?param4 ,fgno = ?param5 ,fgnothumb = ?param6 ,istop =case when pbno is null then ?param7 else istop end ,issecr = ?param8 ,isopen = ?param9 where bno= ?param10] +2025-12-11 13:57:02,716 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.insert] Prepared SQL: [update comcode a inner join ( select ccode, ?param0 + row_number() over(order by corder) rno from comcode where cgroup= ?param1 and corder >= ?param0 ) b on b.ccode=a.ccode set a.corder=b.rno where a.cgroup= ?param1 ; insert into comcode (cname, cgroup, cgroupname, isuse, corder,cdt,cno,udt,uno,uip) select ?param2 , ?param1 , a.cgroupname, ?param3 , ?param0 ,now(), ?param4 ,now(), ?param4 , ?param5 from comcode a where a.cgroup= ?param1 limit 1] +2025-12-11 13:57:02,716 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1] +2025-12-11 13:57:02,717 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.banner.save] Prepared SQL: [update banner set udt=now(),uno= ?param0 ,uip= ?param1 ,btitle= ?param2 ,bdesc= ?param3 ,burl= ?param4 ,ismain=0,bseq= ?param5 ,isopen= ?param6 ,fgno= ?param7 ,fgno2= ?param8 where ?param9 > 0 and bno= ?param9 ; insert into banner(bno,btitle,fgno,fgno2,bdesc,burl,ismain,bseq,isopen,cdt,cno,udt,uno,uip) select ?param9 , ?param2 , ?param7 , ?param8 , ?param3 , ?param4 , ?param10 , ?param5 , ?param6 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param9 = 0] +2025-12-11 13:57:02,717 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.popup.save] Prepared SQL: [update popup set udt=now(),uno= ?param0 ,uip= ?param1 ,ptitle = ?param2 ,pcontents= ?param3 ,toppx= ?param4 ,leftpx= ?param5 ,pwidth= ?param6 ,pheight= ?param7 ,purl= ?param8 ,zindex= ?param9 ,isopen= ?param10 where ?param11 > 0 and pno= ?param11 ; insert into popup (ptitle,pcontents,toppx,leftpx,pwidth,pheight,purl,zindex,isopen,cdt,cno,udt,uno,uip) select ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param11 = 0] +2025-12-11 13:57:02,717 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.menupage.save] Prepared SQL: [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,pdepth = ?param2 ,pagetype= ?param3 ,bmno= ?param4 ,porder = ?param5 ,pagename= ?param6 ,pagedesc= ?param7 ,pageurl = ?param8 ,pagehtml= ?param9 ,isopen = ?param10 ,usertype= ?param11 ,refcode= ?param12 ,imagecode= ?param13 ,bgtitle= ?param14 ,bgdesc= ?param15 where ?param16 > 0 and pno = ?param16 ; insert into menupage (pno,ppno,pdepth,pagetype,bmno,porder,pagename,pagedesc,pageurl,pagehtml,isopen,usertype,refcode,imagecode,bgtitle,bgdesc,cdt,cno,udt,uno,uip) select ?param16 , ?param17 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param16 < 1] +2025-12-11 13:57:02,749 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payitems.forexampay] Prepared SQL: [select 3 ptype,b.exno itemno,b.exname itemname,0 isrebate,1 pcnt ,b.outfee orgamt ,case when ua.isjoin=1 then b.outfee-b.infee else 0 end discamt ,case when ua.isjoin=1 then b.infee else b.outfee end payamt ,case when ua.isjoin=1 then b.infee else b.outfee end payamt2 ,b.rstime,b.retime from examuser a inner join exam b on b.exno=a.exno and b.rstime < now() and b.retime > now() inner join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno where a.exno= ?param0 and a.userno= ?param1 and a.status=1 and a.pstatus=4] +2025-12-11 13:57:02,750 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payitems.forcertpay] Prepared SQL: [update payitem a inner join pay b on b.payno=a.payno and b.userno= ?param0 and b.pstatus=21 inner join users u on u.userno=b.userno left outer join assign ua on ua.asno=u.asno left outer join cm c on a.ptype=4 and c.cmno=a.itemno left outer join book d on a.ptype=2 and d.bkno=a.itemno set a.orgamt=case when a.ptype=4 then c.outfee else d.price * a.pcnt end ,a.discamt=case when a.ptype=4 and ua.isjoin=1 then c.outfee-c.infee else 0 end ,a.payamt=case when a.ptype=4 then case when ua.isjoin=1 then c.infee else c.outfee end else d.price * a.pcnt end where a.payno= ?param1 and a.ptype in (2,4) and a.pstatus in(21,50); update pay a inner join ( select a.payno,sum(b.orgamt) orgamt,sum(b.discamt) discamt,sum(b.payamt) payamt from pay a inner join payitem b on b.payno=a.payno where a.payno= ?param1 and a.userno= ?param0 and a.pstatus=21 group by a.payno ) b on b.payno=a.payno set a.orgamt=b.orgamt,a.discamt=b.discamt,a.payamt=b.payamt where a.payno= ?param1 and a.userno= ?param0 and a.pstatus=21; select b.ptype,b.itemno,case when b.ptype=4 then c.cname else d.bkname end itemname,b.isrebate,b.pcnt ,b.orgamt,b.discamt,b.payamt payamt2,case when b.ptype=4 then b.payamt else d.price end payamt,datediff(c.setime, c.sstime)+1 days ,c.rstime,c.retime from pay a inner join payitem b on b.payno=a.payno and b.ptype in(2,4) and b.pstatus in(21,50) left outer join cm c on b.ptype=4 and c.cmno=b.itemno left outer join book d on b.ptype=2 and d.bkno=b.itemno inner join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno where a.payno= ?param1 and a.userno= ?param0 and a.pstatus=21] +2025-12-11 13:57:02,751 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.cmcheck.forgrouppay] Prepared SQL: [select a.cmno,a.cname,a.quota,a.rstime,a.retime ,b.userno,b.status,c.username ,case when ?param0 like concat('%,',b.userno,',%') then 1 else 0 end ispaied ,a.infee,a.outfee,case when ua.isjoin=1 then a.infee else a.outfee end payamt from cm a inner join users u on u.userno= ?param1 left outer join assign ua on ua.asno=u.asno left outer join lect b on b.cmno=a.cmno and b.status < 5 and b.ischanged=0 left outer join users c on c.userno=b.userno and c.status=1 where a.cmno= ?param2 and a.ismaster=0 and a.rstime < now() and a.retime > now() and a.isuse=1 and a.isdel=0] +2025-12-11 13:57:02,752 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payitems] Prepared SQL: [select a0.payno,a0.isgroup,a0.isexam,a0.isdvr,a0.payamt tpayamt,a0.paylimit,a0.ptype,a0.udt,a0.deliamt,a0.pgkey ,ad.rcvname ,CAST(AES_DECRYPT(UNHEX(ad.mobile), 'np123@!') AS char) mobile ,CAST(AES_DECRYPT(UNHEX(ad.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(ad.email), 'np123@!') AS char) email ,ad.post,ad.address1,ad.address2 ,a.ptype ptype2,a.payamt,a.pcnt,a.isrebate,a.itemno ,b.cmno,b.cshape,b.sstime,b.setime ,b1.rsno ,b2.username,cc.cname ccpositionname,b2.isassignuser ,CAST(AES_DECRYPT(UNHEX(b2.email), 'np123@!') AS char) email2 ,CAST(AES_DECRYPT(UNHEX(b2.telno), 'np123@!') AS char) telno2 ,b2.depart,b2.kfcfyear,b2.edus ,c.bkno ,case a.ptype when 0 then b.cname when 4 then b.cname when 2 then c.bkname when 3 then e.exname else '-' end itemname ,cg2.cgcode ,CAST(AES_DECRYPT(UNHEX(pd.vactnum), 'np123@!') AS char) vactnum,pd.vactbankname,pd.vactname ,t.lectno,t.status ,ad.isdvr isdvr2 from pay a0 left outer join paydvr ad on ad.payno=a0.payno left outer join paydata pd on pd.payno=a0.payno inner join payitem a on a.payno=a0.payno left outer join cm b on a.ptype in(0,4) and b.cmno=a.itemno left outer join lect t on t.cmno=b.cmno and t.userno=a.userno and t.status=1 left outer join cg cg1 on cg1.cgno=b.cgno left outer join cg cg2 on cg2.cgno=cg1.pcgno left outer join cmrs b1 on b1.cmno=b.cmno and b1.rstype=1 and b1.isdel=0 left outer join users b2 on b2.userno=a.userno left outer join comcode cc on cc.ccode=b2.ccposition left outer join book c on a.ptype=2 and c.bkno=a.itemno left outer join examuser d on a.ptype=3 and d.exno=a.itemno and d.userno=a0.userno and d.payno=a0.payno left outer join exam e on e.exno=d.exno where a0.payno= ?param0] +2025-12-11 13:57:02,752 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paylect.get] Prepared SQL: [select a.fgno ,b.cshape,b.cname,b.rstime,b.retime,b.sstime,b.setime ,b2.cname certgradeccname ,c.username ,CAST(AES_DECRYPT(UNHEX(c.email), 'np123@!') AS char) email ,CAST(AES_DECRYPT(UNHEX(c.mobile), 'np123@!') AS char) mobile ,CAST(AES_DECRYPT(UNHEX(c.telno), 'np123@!') AS char) telno ,c.depart ,c2.cname ccpositionname ,d.asname from lect a inner join cm b on b.cmno=a.cmno left outer join comcode b2 on b2.ccode=b.certgradecc inner join users c on c.userno=a.userno left outer join comcode c2 on c2.ccode=c.ccposition left outer join assign d on d.asno=c.asno where a.payno= ?param0] +2025-12-11 13:57:02,752 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.carts] Prepared SQL: [select a.pcno,a.ptype,a.itemno,a.isrefund,a.cmno,a.userno,a.pcnt,a.fgno ,case when a.ptype=0 then b.cname else c.bkname end itemname,b.cshape,b.sstime,b.setime ,case when a.ptype = 0 then case when ua.isjoin=1 then b.infee else b.outfee end else c.price end payamt ,case when a.ptype = 0 then b.outfee else c.price end orgamt from paycart a inner join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno left outer join cm b on a.ptype=0 and b.cmno=a.itemno left outer join book c on a.ptype in (2,9) and c.bkno=a.itemno where a.status=1 and a.userno= ?param0 order by a.cdt desc] +2025-12-11 13:57:02,753 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payitems.forcartpay] Prepared SQL: [select case when a.ptype = 9 then 2 else a.ptype end ptype,a.itemno,case when a.ptype=0 then b.cname else c.bkname end itemname,case when a.ptype=0 then a.isrefund else 0 end isrebate,a. pcnt ,case when a.ptype=0 then b.outfee else c.price end orgamt ,case when a.ptype=0 then case when ua.isjoin=1 then b.outfee-b.infee else 0 end else 0 end discamt ,case when a.ptype=0 then case when ua.isjoin=1 then b.infee else b.outfee end else c.price end payamt ,case when a.ptype=0 then case when ua.isjoin=1 then b.infee else b.outfee end else c.price end * a.pcnt payamt2 ,b.rstime,b.retime,b.sstime,b.setime,b.cshape,datediff(b.setime, b.sstime)+1 days from paycart a left outer join cm b on a.ptype=0 and b.cmno=a.itemno and b.rstime < now() and b.retime > now() left outer join book c on a.ptype in (2,9) and c.bkno=a.itemno inner join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno where a.userno= ?param0 and a.status=1 and a.ispay=1;] +2025-12-11 13:57:02,753 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.mypay] Prepared SQL: [select a.payno,a.ptype,a.ispg,a.isgroup,a.isexam,a.userno,a.pstatus,a.rstatus,a.rstatustime,a.refunding,a.paylimit,a.payoktime,a.isrefunddvr,a.refundamt,a.payamt,a.deliamt,a.isdvr,a.cdt,a.pgkey ,b.dvrcode,b.isdvr isdvr2,b.rcvname,b.post,b.address1,b.address2 ,CAST(AES_DECRYPT(UNHEX(b.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(b.email), 'np123@!') AS char) email ,CAST(AES_DECRYPT(UNHEX(b.mobile), 'np123@!') AS char) mobile ,c.vactbankname,CAST(AES_DECRYPT(UNHEX(c.vactnum), 'np123@!') AS char) vactnum,c.vactname from pay a left outer join paydvr b on b.payno=a.payno left outer join paydata c on c.payno=a.payno where a.payno= ?param0 and a.userno= ?param1 and a.pstatus in (1,22,41,42,43)] +2025-12-11 13:57:02,756 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.mypayitem] Prepared SQL: [select a.ptype,c0.cshape,a.isrebate,a.payamt,a.pcnt,a.rstatus,a.userno,a.pstatus,a.pino,c0.infee,c0.outfee,c0.rstime,c0.retime ,case a.ptype when 0 then c0.cname when 2 then c2.bkname when 4 then c0.cname when 3 then c3.exname else '-' end itemname ,c0.sstime,c0.setime,datediff(c0.setime, c0.sstime)+1 days ,u.username,uc.cname ccpositionname,u.isassignuser ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.email), 'np123@!') AS char) email ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,u.kfcfyear,u.edus,u.depart ,rs.rsno,t.lectno ,a2.taxno ,case when t.sdate is null then c0.sstime else t.sdate end as sdate ,case when t.edate is null then c0.setime else t.edate end as edate ,p.cdt,csd.estart ,c0.studydays from payitem a inner join pay p on p.payno = a.payno left outer join paytax a3 on a3.payno = a.payno and (a3.iscancel is null or a3.iscancel <> 1) left outer join paytaxitem a2 on a2.pino=a.pino and a3.taxno = a2.taxno left outer join cm c0 on a.ptype in (0,1,4) and c0.cmno=a.itemno left outer join book c2 on a.ptype=2 and c2.bkno=a.itemno left outer join exam c3 on a.ptype=3 and c3.exno=a.itemno left outer join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno left outer join comcode uc on uc.ccode=u.ccposition left outer join cmrs rs on rs.cmno=c0.cmno and rs.rstype=1 and rs.isdel=0 left outer join lect t on a.ptype in (0,1,4) and t.cmno=c0.cmno and t.payno=a.payno and t.pino=a.pino and t.userno=a.userno left outer join cminningscd csd on csd.cmisno = t.cmisno where a.payno= ?param0] +2025-12-11 13:57:02,757 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paytax.fornew] Prepared SQL: [select a.payno,a.isgroup,a.ptype,a.ispg ,ua.asname,ua.ceoname,ua.brno,ua.grno,ua.btype,ua.bkind,ua.post,ua.address1,ua.address2 ,ua.mname manname ,CAST(AES_DECRYPT(UNHEX(ua.mphone), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(ua.taxemail), 'np123@!') AS char) email ,sum(case when b.taxdate is not null then 0 else b.taxamt end) taxamtsum ,sum(b.taxamt) taxamt from pay a inner join users u on u.userno=a.userno left outer join assign ua on ua.asno=u.asno left outer join paytax b on b.payno=a.payno and (b.iscancel is null or b.iscancel <> 1) where a.payno= ?param0 and a.userno= ?param1 and a.rstatus < 2 and (a.pstatus=1 or a.pstatus=22) group by a.payno,a.isgroup,ua.asname,ua.ceoname,ua.brno,ua.grno,ua.btype,ua.bkind] +2025-12-11 13:57:02,757 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paytax.fornewitem] Prepared SQL: [select a.payno,a.isgroup ,ifnull(c.taxno,0) taxno,b.pino,b.ptype,b.rstatus ,case b.ptype when 0 then c0.cname when 4 then c0.cname when 2 then c2.bkname when 3 then c3.exname else '-' end itemname ,b.pcnt,b.payamt from pay a inner join payitem b on b.payno=a.payno and (b.pstatus=1 or b.pstatus=22) left outer join cm c0 on b.ptype in (0,4) and c0.cmno=b.itemno left outer join book c2 on b.ptype=2 and c2.bkno=b.itemno left outer join exam c3 on b.ptype=3 and c3.exno=b.itemno left outer join paytax c4 on c4.payno = a.payno and (c4.iscancel is null or c4.iscancel <> 1) left outer join paytaxitem c on c.pino=b.pino and c.taxno = c4.taxno where a.payno= ?param0 and a.userno= ?param1 and a.rstatus < 2 and (a.pstatus=1 or a.pstatus=22) order by ifnull(c.taxno,0),b.pino] +2025-12-11 13:57:02,757 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payitem.forrefund] Prepared SQL: [select distinct a.payno,b.pino,b.pstatus,b.rstatus,b.payamt,b.ptype,b.pcnt ,case b.ptype when 0 then c0.cname when 4 then c0.cname when 2 then c2.bkname when 3 then c3.exname else '-' end itemname ,case when b.ptype in (0,1,4) then case when date_add(c0.retime, interval 1 day) < now() then 1 else 0 end else case when b.ptype=3 then case when date_add(c3.retime, interval 1 day) < now() then 1 else 0 end else 0 end end ispast ,u.username ,max(d.rfdno) rfdno ,max(ifnull(case when c.rstatus=1 then -1 else c.rstatus end,-2)) rfdrstatus from pay a inner join payitem b on b.payno=a.payno and b.pstatus=1 left outer join users u on a.isgroup=1 and b.ptype=0 and u.userno=b.userno left outer join cm c0 on b.ptype in (0,4) and c0.cmno=b.itemno left outer join book c2 on b.ptype=2 and c2.bkno=b.itemno left outer join exam c3 on b.ptype=3 and c3.exno=b.itemno left outer join payrfditem d on d.pino=b.pino left outer join payrfd c on c.rfdno=d.rfdno and c.payno=a.payno and c.rstatus in (0,2) where a.payno= ?param0 and a.userno= ?param1 and a.pstatus=1 and a.rstatus < 2 group by a.payno,b.pino,b.pstatus,b.rstatus,b.payamt,b.ptype,b.pcnt ,c0.cname,c2.bkname,c3.exname,c0.retime,c3.retime,u.username order by d.rfdno,b.rstatus,ispast,b.pino] +2025-12-11 13:57:02,758 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payresult] Prepared SQL: [select a.payno,a.payamt,a.ptype,a.pstatus ,b.itemno ,b.pino from pay a inner join payitem b on b.payno=a.payno where a.payno= ?param0 and a.userno= ?param1 and a.pstatus in (1,21,22,51,55)] +2025-12-11 13:57:02,758 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.lectready] Prepared SQL: [select count(a.userno) from lect a where a.cmno= ?param0 and a.isready=1 and a.status=6] +2025-12-11 13:57:02,758 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pplogs.bypay] Prepared SQL: [select a.pplno,a.isready,a.cmno,a.cmisno,a.isrebate,a.rbankname,CAST(AES_DECRYPT(UNHEX(a.rbankacc), 'np123@!') AS char) rbankacc,a.rbankowner,a.isaccommodation,a.cshape ,b.payno,b.pstatus from pay b inner join pplog a on a.pplno=b.pplno where b.payno= ?param0 and a.userno= ?param1] +2025-12-11 13:57:02,760 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pay.in] Prepared SQL: [insert into pay(ptype,ispg,isgroup,userno,username,isexam,pstatus,rstatus,refunding,paylimit,payoktime,pgkey ,orgamt,discamt,deliamt,isrefunddvr,payamt,refundamt,pplno,isbill,iscashrct,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , ?param7 , ?param8 ,case when ?param9 is not null then now() else ?param10 end, ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 ,now(), ?param21 ,now(), ?param21 , ?param22 );] +2025-12-11 13:57:02,761 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pay.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,763 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payitem.in] Prepared SQL: [insert into payitem (payno,ptype,pcno,itemno,userno,pstatus,rstatus,pcnt,orgamt,discamt,payamt,payamtcash,payamtcard,refundamt,refundtime,refundtimereal,refundinfo,isrebate,rbank,rbankaccnum,tbankuser,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 ,now(), ?param21 ,now(), ?param21 , ?param22 );] +2025-12-11 13:57:02,763 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payitem.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,763 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.lect.in] Prepared SQL: [insert into lect (cmno,payno,pino,userno,status,isready,iscomplete,orgcmno,attrate,isrebate,ispc,pcno,isjoin,fgno,ischanged,cmisno,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,null,null,0, ?param6 , ?param7 , ?param8 , ?param9 ,null,0, ?param10 ,now(), ?param11 ,now(), ?param11 , ?param12 );] +2025-12-11 13:57:02,763 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.lect.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,764 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pay.pgin] Prepared SQL: [insert into pay(ptype,ispg,isgroup,isexam,userno,username,pstatus,rstatus ,refunding,paylimit,payoktime,pgkey,orgamt,discamt,deliamt,isrefunddvr,payamt,refundamt,isdvr,iscashrct,cashrcthp,pplno,isbill,cdt,cno,udt,uno,uip) select ?param0 , ?param1 , ?param2 , ?param3 ,a.userno,a.username,case when ?param0 = 6 then 1 else 0 end,0 , ?param4 , ?param5 ,case when ?param0 = 6 then now() else ?param6 end, ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 ,HEX(AES_ENCRYPT( ?param16 , 'np123@!')), ?param17 , ?param18 ,now(), ?param19 ,now(), ?param19 , ?param20 from users a where a.userno= ?param21] +2025-12-11 13:57:02,764 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pay.pgin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,764 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.certpay] Prepared SQL: [insert into pay(ptype,ispg,isgroup,userno,pstatus,rstatus,refunding,orgamt,discamt,deliamt,isrefunddvr,payamt,refundamt,isdvr,isexam,cdt,cno,udt,uno,uip) values (0,1,0, ?param0 ,51,0,0,0,0,0,0,0,0,0,0,now(), ?param1 ,now(), ?param1 , ?param2 )] +2025-12-11 13:57:02,764 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.certpay.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,765 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paytax.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,767 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payrfd.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,767 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.standbypay.admin] Prepared SQL: [insert into pay(ptype,ispg,isgroup,userno,username,isexam,pstatus,rstatus,refunding,orgamt,discamt,deliamt,isrefunddvr,payamt,refundamt,pplno,isbill,iscashrct,cdt,cno,udt,uno,uip) values ( ?param0 ,0,0, ?param1 , ?param2 ,0,21,0,0,0,0,0,0,0,0, ?param3 ,0,0,now(), ?param4 ,now(), ?param4 , ?param5 );] +2025-12-11 13:57:02,767 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.standbypay.admin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,768 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.lect.sedate.save] Prepared SQL: [update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') ,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno = ?param2 ;] +2025-12-11 13:57:02,768 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paydvr.dvrcode] Prepared SQL: [update paydvr set udt=now(),uno= ?param0 ,uip= ?param1 ,dvrcode= ?param2 ,codetime=now() where payno= ?param3] +2025-12-11 13:57:02,768 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paydvr.in] Prepared SQL: [delete from paydvr where payno= ?param0 ; insert into paydvr (payno,dvrcode,codetime,isdvr,rcvname,telno,mobile,email,post,address1,address2,dmemo,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'np123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'np123@!')) , ?param8 , ?param9 , ?param10 , ?param11 ,now(), ?param12 ,now(), ?param12 , ?param13 )] +2025-12-11 13:57:02,768 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.freeok] Prepared SQL: [insert into lect (cmno,payno,pino,userno,status,attrate,isrebate,ispc,isjoin,ischanged,fgno2,cmisno,cdt,cno,udt,uno,uip) select b.itemno,a.payno,b.pino,case when a.isgroup=1 then b.userno else a.userno end,1,0,b.isrebate,0,case when ua.isjoin=1 then 1 else 0 end,0,b.fgno,l.cmisno,now(), ?param0 ,now(), ?param0 , ?param1 from pay a inner join payitem b on b.payno=a.payno and b.ptype=0 inner join users u on u.userno=a.userno inner join pplog l on a.pplno = l.pplno left outer join assign ua on ua.asno=u.asno where a.payno= ?param2 ; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on a.cmisno = d.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') where a.payno = ?param2 ;] +2025-12-11 13:57:02,769 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paydvr.save] Prepared SQL: [update paydvr set udt=now(),uno= ?param0 ,uip= ?param1 ,dvrcode= ?param2 ,rcvname= ?param3 ,post= ?param4 ,address1= ?param5 ,address2= ?param6 ,dmemo= ?param7 ,codetime=case when codetime is null and ?param2 is not null then now() else codetime end ,telno=HEX(AES_ENCRYPT( ?param8 , 'np123@!')) ,mobile=HEX(AES_ENCRYPT( ?param9 , 'np123@!')) where payno= ?param10] +2025-12-11 13:57:02,769 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paycert.paystart] Prepared SQL: [update pay a inner join users b on b.userno=a.userno set a.ptype= ?param0 ,a.paylimit= ?param1 ,a.orgamt= ?param2 ,a.payamt= ?param3 ,a.isbill= ?param4 ,a.pstatus = case when ?param0 = 6 then 1 else a.pstatus end ,a.payoktime = case when ?param0 = 6 then now() else a.payoktime end where a.payno= ?param5 and a.userno= ?param6 and a.pstatus=21; update payitem a inner join users b on b.userno=a.userno set a.orgamt= ?param2 ,a.payamt= ?param3 ,a.pstatus = case when ?param0 = 6 then 1 else a.pstatus end ,a.rstatus = 0 where a.payno= ?param5 and a.userno= ?param6 and a.pstatus=21; update lect a inner join users b on b.userno = a.userno set a.status = case when ?param0 = 6 then 1 else a.status end where a.payno= ?param5 and a.userno = ?param6 ; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') where a.payno = ?param5 ;] +2025-12-11 13:57:02,770 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paylect] Prepared SQL: [update pay set udt=now(),uno= ?param0 ,uip= ?param1 ,pstatus=case when ptype=3 then 22 else 1 end ,payoktime=case when ptype=3 then null else now() end ,pgkey= ?param2 where payno= ?param3 ; insert into paydata(payno,payresult,payresultmsg,vactnum,vactbankcode,vactbankname,vactname,vactinname,cshrrcode,cshrtype,cshrauthno,cardquota,cardquotatype,cardeventcode,cardnum,iscardpoint,cardcode,cardbankcode,cardprtccode,checkflag,ocbnum,ocbappno,ocbprice,gsnum,gsremain,gsprice,unum,upoint,uprice,cdt,cno,udt,uno,uip) values ( ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'np123@!')), ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 ,HEX(AES_ENCRYPT( ?param17 , 'np123@!')), ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 ,now(), ?param0 ,now(), ?param0 , ?param1 ); update payitem a inner join pay b on b.payno=a.payno set a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 ,a.pstatus=case when b.ptype=3 then 22 else 1 end where a.payno= ?param3 ; insert into lect (cmno,payno,pino,userno ,status,iscomplete,orgcmno,attrate,isrebate ,ispc,isjoin,fgno,apoint,mpoint ,fpoint,spoint,dpoint,tpoint,ischanged ,stime,etime,sip,eip,ispcs ,ispce,fgno2,cmisno,cdt,cno,udt,uno,uip) select a.itemno,a.payno,a.pino,case when b.isgroup=1 then a.userno else b.userno end ,case when b.ptype=3 then 2 else 1 end,null,null,0,a.isrebate ,0,ifnull(d.isjoin, 0),null,null,null ,null,null,null,null,0 ,null,null,null,null,null ,null,a.fgno,e.cmisno,now(), ?param0 ,now(), ?param0 , ?param1 from payitem a inner join pay b on b.payno=a.payno inner join users c on c.userno=b.userno left outer join assign d on d.asno=c.asno left outer join pplog e on e.pplno=b.pplno left outer join lect f on f.payno=a.payno and f.pino=a.pino and f.status=4 and f.isready=1 where a.payno= ?param3 and a.ptype=0 and f.lectno is null; update lect a inner join pay b on b.payno=a.payno and b.pstatus in (22,1) inner join payitem c on c.payno=b.payno and c.itemno=a.cmno and c.pstatus=b.pstatus set a.status=case when b.pstatus=22 then 2 else 1 end,a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param3 and a.status=4; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 23:59:59') where a.payno = ?param3 ;] +2025-12-11 13:57:02,770 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pay.fail] Prepared SQL: [update pay set pstatus= ?param0 where payno= ?param1 and pstatus != 1 and pstatus != 22; insert into paydata(payno,payresult,payresultmsg,vactnum,vactbankcode,vactbankname,vactname,vactinname,cshrrcode,cshrtype,cshrauthno,cardquota,cardquotatype,cardeventcode,cardnum,iscardpoint,cardcode,cardbankcode,cardprtccode,checkflag,ocbnum,ocbappno,ocbprice,gsnum,gsremain,gsprice,unum,upoint,uprice,cdt,cno,udt,uno,uip) values ( ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'np123@!')), ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 ,HEX(AES_ENCRYPT( ?param15 , 'np123@!')), ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 ,now(), ?param29 ,now(), ?param29 , ?param30 );] +2025-12-11 13:57:02,771 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paylect.vbankin] Prepared SQL: [insert into payvbankin (payno,pgkey,inbankcode,indeal,inymd,inhms,msgseq,transseq,vacct,inamt,checkamt,isclose,typemsg,frombank,fromname,fromymd,calcymd,tranymd,transcode,korcode,cshrymd,cshrhms,cshrcode,cshrpgkey,cshramt,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 ,now(), ?param25 ,now(), ?param25 , ?param26 ); update pay set udt=now(),uno= ?param25 ,uip= ?param26 ,pstatus=1 ,payoktime=now() where payno= ?param0 and pstatus=22 ; update payitem a inner join pay b on b.payno=a.payno set a.udt=now(),a.uno= ?param25 ,a.uip= ?param26 ,a.pstatus=1 where a.payno= ?param0 and a.pstatus=22; update lect a inner join pay b on b.isexam <> 1 and b.payno=a.payno and b.pstatus=1 set a.udt=now(),a.uno= ?param25 ,a.uip= ?param26 ,a.status=1 where a.payno= ?param0 ; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 23:59:59') where a.payno = ?param0 ;] +2025-12-11 13:57:02,771 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paycancel] Prepared SQL: [update pay set udt=now(),uno= ?param0 ,uip= ?param1 ,pstatus=case when pstatus=22 then 43 else 41 end where payno= ?param2 and userno= ?param3 and pstatus in (51,55,21,22); update payitem a inner join pay b on b.payno=a.payno and b.userno= ?param3 and b.pstatus in (41,43) set a.pstatus=b.pstatus,a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 and a.pstatus in (21,22); update lect a inner join pay b on b.payno=a.payno and b.userno= ?param3 and b.pstatus in (41,43) set a.status=9 where a.payno= ?param2 ; update examuser a inner join pay b on b.payno=a.payno and b.userno=a.userno and b.pstatus in (41,43) set a.pstatus=9 where a.payno= ?param2 and a.userno= ?param3] +2025-12-11 13:57:02,771 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.cart.clear] Prepared SQL: [update paycart set status=2,udt=now(),uno= ?param0 ,uip= ?param1 where userno= ?param2 and status=1 and date_add(cdt, interval 7 day) < now(); update paycart a inner join cm b on b.cmno=a.itemno and b.udt > a.cdt set a.status=2,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.userno= ?param2 and a.status=1 and a.ptype=0; update paycart a inner join book b on b.bkno=a.itemno and b.udt > a.cdt set a.status=2,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.userno= ?param2 and a.status=1 and a.ptype in (2,9); update paycart a left outer join cm b on b.cmno=a.itemno and b.rstime < now() and b.retime > now() set a.status=2,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.userno= ?param2 and a.status=1 and a.ptype=0 and b.cmno is null; update paycart a left outer join paycart b on b.ptype =0 and b.userno= ?param2 and b.status=1 and b.itemno=a.cmno set a.status=2,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.userno= ?param2 and a.status=1 and a.ptype=9 and b.pcno is null] +2025-12-11 13:57:02,772 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payrfd.up] Prepared SQL: [update payrfd set fgnor= ?param0 ,fgnob= ?param1 ,udt=now(),uno= ?param2 ,uip= ?param3 where rfdno= ?param4 and payno= ?param5] +2025-12-11 13:57:02,772 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payrfdcancel.up] Prepared SQL: [delete from payrfditem where rfdno= ?param0 ; update payrfd set rstatus= ?param1 ,udt=now(),uno= ?param2 ,uip= ?param3 where rfdno= ?param0 and payno= ?param4] +2025-12-11 13:57:02,772 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.unpay] Prepared SQL: [update examuser a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null and b.userno=a.userno inner join payitem c on c.payno=b.payno and c.ptype=3 and c.itemno=a.exno and c.pino=a.pino set a.pstatus=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 and a.pstatus=2; update lect a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null inner join payitem c on c.payno=b.payno and c.ptype in(0,4) and c.itemno=a.cmno and c.userno=a.userno and c.pino=a.pino set a.status=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 and a.status=2 and a.ischanged=0; update payitem a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null set a.pstatus=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 ; update pay set pstatus=1,isunpay=1,udt=now(),uno= ?param0 ,uip= ?param1 where payno= ?param2 and pstatus=22 and ptype=3 and ispg=1 and isunpay is null; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') where a.payno = ?param2 ;] +2025-12-11 13:57:02,773 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.abspay] Prepared SQL: [update examuser a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null and b.userno=a.userno inner join payitem c on c.payno=b.payno and c.ptype=3 and c.itemno=a.exno and c.pino=a.pino set a.pstatus=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 and a.pstatus=2; update lect a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null inner join payitem c on c.payno=b.payno and c.ptype in(0,4) and c.itemno=a.cmno and c.userno=a.userno and c.pino=a.pino set a.status=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 and a.status=2 and a.ischanged=0; update payitem a inner join pay b on b.payno=a.payno and b.pstatus=22 and b.ptype=3 and b.ispg=1 and b.isunpay is null set a.pstatus=1,a.udt=now(),a.uno= ?param0 ,a.uip= ?param1 where a.payno= ?param2 ; update pay set ptype= ?param3 ,payoktime=now(),pstatus=1,isunpay=3,udt=now(),uno= ?param0 ,uip= ?param1 where payno= ?param2 and pstatus=22 and ptype=3 and ispg=1 and isunpay is null; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') where a.payno = ?param2 ;] +2025-12-11 13:57:02,773 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.unpaymoney] Prepared SQL: [update pay set isunpay=2,payoktime= ?param0 ,udt=now(),uno= ?param1 ,uip= ?param2 where payno= ?param3 and isunpay=1; update lect a inner join cm b on a.cmno = b.cmno left outer join cminningscd d on d.cmisno = a.cmisno set a.sdate = case when b.cshape = 1 then date_format(d.estart,'%Y-%m-%d 00:00:00') else date_format(a.cdt,'%Y-%m-%d 00:00:00') end , a.edate = date_format(d.eend,'%Y-%m-%d 00:00:00') where a.payno = ?param3 ;] +2025-12-11 13:57:02,773 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pplogtype.up] Prepared SQL: [update pplog set typeman = ?param0 ,typejob = ?param1 ,typeedu = ?param2 ,typegrade = ?param3 ,typejobitem = ?param4 where pplno = ?param5] +2025-12-11 13:57:02,773 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.untax] Prepared SQL: [insert into untaxlog (payno,logtime,cdt,cno,udt,uno,uip) values( ?param0 ,now(),now(), ?param1 ,now(), ?param1 , ?param2 ); update pay set iscashrct = null where payno = ?param0 ;] +2025-12-11 13:57:02,773 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.standbypayitem.admin] Prepared SQL: [insert into payitem (payno,ptype,itemno,userno,pstatus,rstatus,pcnt ,orgamt,discamt,payamt,payamtcash,payamtcard,refundamt,isrebate,cdt,cno,udt,uno,uip) values( ?param0 ,0, ?param1 , ?param2 ,21,0,1 ,0,0,0,0,0,0, ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 ); insert into lect(cmno,payno,pino,userno,status,attrate,isrebate,ispc,isjoin,ischanged,isready,cmisno,cdt,cno,udt,uno,uip) select ?param1 , ?param0 ,LAST_INSERT_ID(),a.userno,4,0, ?param3 ,0,ifnull(b.isjoin,0),0,1, ?param6 ,now(), ?param4 ,now(), ?param4 , ?param5 from users a left outer join assign b on b.asno=a.asno where a.userno= ?param2 ;] +2025-12-11 13:57:02,799 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [exam.exam.in] Prepared SQL: [insert into exam (cgno,exname,infee,outfee ,certcc,certgradecc,rstime,retime,estime,eetime ,elocation,certdate,certindate,introhtml ,isopen,isresultopen,isscored,fgno,isdel ,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,0, ?param15 , ?param16 ,0 ,now(), ?param17 ,now(), ?param17 , ?param18 )] +2025-12-11 13:57:02,800 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [exam.exam.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,800 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [exam.exam.up] Prepared SQL: [update exam set udt=now(),uno= ?param0 ,uip= ?param1 ,exname = ?param2 ,infee = ?param3 ,outfee = ?param4 ,certcc = ?param5 ,certgradecc = ?param6 ,rstime = ?param7 ,retime = ?param8 ,estime = ?param9 ,eetime = ?param10 ,elocation = ?param11 ,certdate = ?param12 ,certindate = ?param13 ,introhtml = ?param14 ,isopen = ?param15 ,fgno = ?param16 where exno= ?param17] +2025-12-11 13:57:02,801 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [exam.del] Prepared SQL: [update exam a inner join ( select count(userno) cntuser, exno from examuser where exno = ?param0 group by exno ) b on b.exno=a.exno set a.uip= ?param1 ,a.uno= ?param2 ,a.isdel = 1 where a.exno= ?param0 and b.cntuser=0 and a.isdel=0;] +2025-12-11 13:57:02,801 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [exam.examuser.save] Prepared SQL: [insert ignore into examuser(exno,userno,status,pstatus,avrg,certdate,certindate,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 ,now(), ?param7 ,now(), ?param7 , ?param8 )] +2025-12-11 13:57:02,801 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [exam.examopen] Prepared SQL: [update exam set udt=now(),uno= ?param0 ,uip= ?param1 ,isresultopen= ?param2 where exno= ?param3 ;] +2025-12-11 13:57:02,801 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [exam.examuser.renew] Prepared SQL: [update examuser set udt=now(),uno= ?param0 ,uip= ?param1 ,certdate= ?param2 ,certindate= ?param3 where exno= ?param4 and userno= ?param5 ; insert into examuserrenew (exno,userno,certtime,certdate,certindate,renewreason,isfirst,certidx,cdt,cno,udt,uno,uip) select a.exno, ?param5 ,now(), ?param2 , ?param3 , ?param6 ,0,max(a.certidx),now(), ?param0 ,now(), ?param0 , ?param1 from( select a.exno,ifnull(max(d.certidx), 0)+1 certidx from examuser a inner join exam a2 on a2.exno=a.exno left outer join exam c on c.certcc=a2.certcc and c.certgradecc=a2.certgradecc left outer join examuserrenew d on d.exno=c.exno and year(d.certtime)=year(a.certdate) where a.exno= ?param4 group by a.exno,a.userno,a.certdate,a.certindate ) a] +2025-12-11 13:57:02,840 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [grade.lectcomplete.cancel] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,iscomplete=0 ,completetime=null where lectno= ?param2 and ifnull(iscomplete,0) <> 1] +2025-12-11 13:57:02,840 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [grade.lectcomplete.cancel2] Prepared SQL: [update lect set udt=now(),uno= ?param0 ,uip= ?param1 ,iscomplete=0 ,completetime=null where lectno= ?param2 and ifnull(iscomplete,0)] +2025-12-11 13:57:02,861 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [att.att.in] Prepared SQL: [update lectinning set udt=now(),uno= ?param0 ,uip= ?param1 ,lectno= ?param2 ,cmino= ?param3 ,totstudy=0 ,stime=now(),etime=null ,istatus=1,statustime=null,statusreason=null where lectno= ?param2 and cmino= ?param3 and istatus is null; insert into lectinning (lectno,cmino,totstudy,stime,etime,istatus,statustime,statusreason,sip,eip,ispcs,ispce,cdt,cno,udt,uno,uip) select ?param2 , ?param3 ,0,now(),null,1,null,null, ?param1 ,null,1,null,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join lectinning b on b.lectno= ?param2 and b.cmino= ?param3 where b.lectno is null; update lect set stime = case when stime is null then now() else stime end ,sip = case when sip is null then ?param1 else sip end ,ispcs = case when ispcs is null then 1 else ispcs end where lectno= ?param2] +2025-12-11 13:57:02,861 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [att.att.out] Prepared SQL: [update lectinning set udt=now(),uno= ?param0 ,uip= ?param1 ,totstudy=timestampdiff(SECOND, stime, now()) ,etime=now() ,eip= ?param1 ,ispce=1 ,istatus=2 where lectno= ?param2 and cmino= ?param3 and istatus=1; update lect a inner join ( select a.lectno,convert(100*count(c.lectno)/count(b.cmino), int) attrate from lectinning a inner join cminning b on b.cmino=a.cmino and ifnull(b.isscd,0)=0 left outer join lectinning c on c.lectno=a.lectno and c.cmino=b.cmino and c.istatus=2 where a.lectno= ?param2 and a.cmino= ?param3 and a.istatus=2 group by a.lectno ) b on b.lectno=a.lectno set a.attrate=b.attrate ,a.etime=now(),a.eip= ?param1 ,a.ispce=1] +2025-12-11 13:57:02,861 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [att.abs] Prepared SQL: [update lectinning set istatus=2 ,stime=case when stime is null then now() else stime end ,etime=case when etime is null then now() else etime end ,sip=case when sip is null then ?param0 else sip end ,eip=case when eip is null then ?param0 else eip end ,ispcs=case when ispcs is null then 1 else ispcs end ,ispce=case when ispce is null then 1 else ispce end ,statustime=now() ,statusreason= ?param1 ,statususerno= ?param2 where lectno= ?param3 and cmino= ?param4 and (istatus is null or istatus<2); insert into lectinning(lectno,cmino,totstudy,stime,etime,istatus,statustime,statusreason,statususerno,cdt,cno,udt,uno,uip) select a.lectno, ?param4 ,0,now(),now(),2,now(), ?param1 , ?param2 ,now(), ?param2 ,now(), ?param2 , ?param0 from lect a left outer join lectinning b on b.lectno=a.lectno and b.cmino= ?param4 where a.lectno= ?param3 and a.status=1 and a.ischanged=0 and b.lectno is null; update lect a inner join ( select a.lectno,convert(100*count(c.lectno)/count(b.cmino), int) attrate from lectinning a inner join lect a2 on a2.lectno=a.lectno inner join cminning b on b.cmno=a2.cmno and ifnull(b.isscd,0)=0 left outer join lectinning c on c.lectno=a.lectno and c.cmino=b.cmino and c.istatus=2 where a.lectno= ?param3 and a.cmino= ?param4 and a.istatus=2 group by a.lectno ) b on b.lectno=a.lectno set a.attrate=b.attrate ,a.stime=case when a.stime is null then now() else a.stime end ,a.etime=case when a.etime is null then now() else a.etime end ,a.sip=case when a.sip is null then ?param0 else a.sip end ,a.eip=case when a.eip is null then ?param0 else a.eip end ,a.ispcs=case when a.ispcs is null then 1 else a.ispcs end ,a.ispce=case when a.ispce is null then 1 else a.ispce end where a.lectno= ?param3] +2025-12-11 13:57:02,887 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.ctps] Prepared SQL: [select a.cmino,a.iseq,a.ititle,a.atime,a.mstime,a.metime ,a2.isokmid ,b.ctno,b.ctype,b.ccode,b.ismenu,b.isoversize ,c.cpno,c.pseq,c.cpname,c.srcp,c.srcm ,a2.pseq lastpseq,a2.psec from cminning a inner join lectinning a2 on a2.lectno= ?param0 and a2.cmino=a.cmino inner join ct b on b.ctno=a.ctno and b.isdel=0 inner join ctpage c on c.ctno=b.ctno and c.isdel=0 where a.cmino= ?param1 order by a.iseq] +2025-12-11 13:57:02,887 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.getprogress] Prepared SQL: [select case when b.atime=0 or ifnull(us.no,0) > 0 then 100 else case when floor(a.totstudy / (b.sttime * 60) * 100) > 100 then 100 else floor(a.totstudy / (b.sttime * 60) * 100) end end from lectinning a inner join cminning b on b.cmino=a.cmino inner join lect c on a.lectno = c.lectno left outer join userstatus us on c.userno = us.userno and us.playbar = 1 where a.lectno= ?param0 and a.cmino= ?param1] +2025-12-11 13:57:02,887 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.checklectdate] Prepared SQL: [select a.lectno,a.sdate,a.edate from lect a where a.lectno= ?param0] +2025-12-11 13:57:02,887 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.inningchange.pre] Prepared SQL: [select a.cmino,b.isseq,c.istatus,d.istatus preistatus,a.isrebate,a.iseq,a2.cmino precmino from ( select a.lectno,a.cmno,a.isrebate,b.cmino,b.iseq,max(c.iseq) preiseq from ( select a.lectno,b.cmno,b.isrebate,max(d.iseq) iseq from lectinning a inner join lect b on b.lectno=a.lectno inner join cminning c on c.cmino=a.cmino inner join cminning d on d.cmno=c.cmno and d.iseq < c.iseq and d.isonline=1 where a.lectno= ?param0 and a.cmino= ?param1 group by a.lectno,b.cmno,b.isrebate ) a inner join cminning b on b.cmno=a.cmno and b.iseq=a.iseq left outer join cminning c on c.cmno=b.cmno and c.iseq < b.iseq and c.isonline=1 group by a.lectno,a.cmno,a.isrebate,b.cmino,b.iseq ) a inner join cm b on b.cmno=a.cmno left outer join cminning a2 on a2.cmno=b.cmno and a2.iseq=a.preiseq left outer join lectinning c on c.lectno=a.lectno and c.cmino=a.cmino left outer join lectinning d on d.lectno=a.lectno and d.cmino=a2.cmino] +2025-12-11 13:57:02,887 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.inningchange.next] Prepared SQL: [select a.cmino,b.isseq,c.istatus,d.istatus preistatus,a.isrebate,a.iseq,a2.cmino precmino from ( select a.lectno,a.cmno,a.isrebate,b.cmino,b.iseq,min(c.iseq) preiseq from ( select a.lectno,b.cmno,b.isrebate,min(d.iseq) iseq from lectinning a inner join lect b on b.lectno=a.lectno inner join cminning c on c.cmino=a.cmino inner join cminning d on d.cmno=c.cmno and d.iseq > c.iseq and d.isonline=1 where a.lectno= ?param0 and a.cmino= ?param1 group by a.lectno,b.cmno,b.isrebate ) a inner join cminning b on b.cmno=a.cmno and b.iseq=a.iseq left outer join cminning c on c.cmno=b.cmno and c.iseq > b.iseq and c.isonline=1 group by a.lectno,a.cmno,a.isrebate,b.cmino,b.iseq ) a inner join cm b on b.cmno=a.cmno left outer join cminning a2 on a2.cmno=b.cmno and a2.iseq=a.preiseq left outer join lectinning c on c.lectno=a.lectno and c.cmino=a.cmino left outer join lectinning d on d.lectno=a.lectno and d.cmino=a2.cmino] +2025-12-11 13:57:02,888 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.mycmrs] Prepared SQL: [select distinct a.lectno,a.attrate ,b.rsno,b.cmno,b.rscno,b.rstype,b.rsname,b.rscondition ,case when c.lectno is null then 0 else 1 end isrsok ,a.edate ,d.istatus,e.iseq from lect a inner join cmrs b on b.cmno=a.cmno and b.isdel=0 left outer join lectrs c on c.lectno=a.lectno and c.rsno=b.rsno left outer join lectinning d on d.lectno=a.lectno and b.cmino = d.cmino left outer join cminning e on b.cmino = e.cmino where a.lectno= ?param0 and a.userno= ?param1 order by b.rsno] +2025-12-11 13:57:02,888 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.mycmrsq] Prepared SQL: [select b.rscno,b.rscqno ,c.qno,c.atype,c.qtext,c.rightcount,a.username as teachername from ( select distinct b.rscno,e.username from lect a inner join cmrs b on b.rsno= ?param0 and b.cmno=a.cmno and b.isdel=0 left outer join lectrs c on c.lectno=a.lectno and c.rsno=b.rsno left outer join cminning d on b.cmino = d.cmino left outer join users e on d.userno = e.userno where a.lectno= ?param1 and a.userno= ?param2 and c.lectno is null ) a inner join rscq b on b.rscno=a.rscno inner join question c on c.qno=b.qno order by b.dseq] +2025-12-11 13:57:02,888 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.mycmrsqi] Prepared SQL: [select b.rscqno ,c.qno ,d.qino,d.qitext ,e.fileurl from ( select distinct b.rscno from lect a inner join cmrs b on b.rsno= ?param0 and b.cmno=a.cmno and b.isdel=0 left outer join lectrs c on c.lectno=a.lectno and c.rsno=b.rsno where a.lectno= ?param1 and a.userno= ?param2 and c.lectno is null ) a inner join rscq b on b.rscno=a.rscno inner join question c on c.qno=b.qno inner join questionitem d on d.qno=c.qno and d.isdel=0 left outer join fileinfo e on e.fgno=d.fgno and e.isdel=0 order by b.dseq,d.qino] +2025-12-11 13:57:02,889 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectex] Prepared SQL: [select a.lectno,a.attrate,a.iscomplete,a.sdate,a.edate ,b.sstime,b.setime ,c.exno,c.exname,c.extype,c.edesc,c.econdition,c.etime,c.evtype,c.eqtype,c.israndq,c.israndqi,c.qcount,c.isblur,c.tpoint,ifnull(c.relaylimit,999) relaylimit,c.isusebackup,c.isseq,c.isreexamable,c.isresultopen ,d.lectno exlectno,d.estart,d.eend,d.tpoint,d.recount,d.rechecktime,ifnull(d.entercount,0) entercount,d.cblock ,case when a.etime = 0 then 99999999 else TIMESTAMPDIFF(MINUTE, now(), date_add(ifnull(d.estart, now()), interval c.etime MINUTE)) end rtime ,d.recount ,case when case when case when a.isrebate = 1 then f.midcutrfd else f.midcut end <= ifnull(e.ex0lectpoint,0) then 1 else 0 end = 1 and case when case when a.isrebate = 1 then f.finalcutrfd else f.finalcut end <= ifnull(e.ex1lectpoint,0) then 1 else 0 end = 1 then 1 else 0 end ispass from lect a inner join cm b on b.cmno=a.cmno inner join cmex c on c.exno= ?param0 inner join cmev f on f.cmno = b.cmno left outer join lectex d on d.lectno=a.lectno and d.exno=c.exno left outer join ( select a.lectno ,count(b1.exno) ex0cnt,count(c1.lectno) ex0lectcnt,avg(ifnull(c1.tpoint,0) / b1.tpoint * 100) ex0lectpoint ,count(b2.exno) ex1cnt,count(c2.lectno) ex1lectcnt,avg(ifnull(c2.tpoint,0) / b2.tpoint * 100) ex1lectpoint from lect a left outer join cmex b1 on b1.cmno = a.cmno and b1.extype = 0 and b1.isdel=0 left outer join lectex c1 on c1.exno = b1.exno and c1.lectno = a.lectno left outer join cmex b2 on b2.cmno = a.cmno and b2.extype = 1 and b2.isdel=0 left outer join lectex c2 on c2.exno = b2.exno and c2.lectno = a.lectno where a.lectno = ?param1 ) e on e.lectno = a.lectno where a.lectno= ?param1 and a.userno= ?param2] +2025-12-11 13:57:02,889 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.userexam.detailforexamforsubmit] Prepared SQL: [select a.exno,a.exname,a2.sstime,a2.setime,a.tpoint,a.etime,a.qcount,b.estart,a.edesc, a.extype,TIMESTAMPDIFF(MINUTE, now(), date_add(ifnull(b.estart, now()), interval a.etime MINUTE)) rtime from cmex a inner join cm a2 on a2.cmno=a.cmno inner join lectex b on b.lectno= ?param0 and b.exno=a.exno and b.eend is null and (a.etime = 0 or date_add(ifnull(b.estart, now()), interval (a.etime + 1) MINUTE) > now()) inner join lect c on c.lectno=b.lectno and c.userno= ?param1 where a.exno= ?param2] +2025-12-11 13:57:02,889 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsd] Prepared SQL: [select a.lectno,a.attrate,a.cmno,a.sdate,a.edate ,b.sdno,b.sdname,b.sddesc,b.fgno sdfgno,b.sdcondition ,c.sstime,c.setime ,d.checktime,d.cpoint,d.feedb,d.fgno,d.atext from lect a inner join cmsd b on b.cmno=a.cmno and b.sdno= ?param0 inner join cm c on c.cmno=b.cmno left outer join lectsd d on d.lectno=a.lectno and d.sdno=b.sdno where a.lectno= ?param1 and a.userno= ?param2] +2025-12-11 13:57:02,890 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsd2] Prepared SQL: [select a.lectno,a.attrate,a.sdate,a.edate ,b.sdno,b.sdname,b.sddesc,b.fgno sdfgno,b.sdcondition ,c.sstime,c.setime ,d.checktime,d.cpoint,d.feedb,d.fgno,d.atext from lect a inner join cmsd b on b.cmno=a.cmno and b.sdno= ?param0 inner join cm c on c.cmno=b.cmno left outer join lectsd d on d.lectno=a.lectno and d.sdno=b.sdno where a.lectno= ?param1 and a.userno= ?param2] +2025-12-11 13:57:02,890 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboards] Prepared SQL: [select a.bno,a.subject,a.cdt,a.rcount ,u.username ,count(b.bcno) ccount from lectsdboard a inner join users u on u.userno=a.cno left outer join lectsdboardcmt b on b.bno=a.bno and b.isdel=0 where a.sdno= ?param0 and a.isdel=0 group by a.bno,a.subject,a.cdt,a.rcount,u.username order by a.cdt] +2025-12-11 13:57:02,890 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboard] Prepared SQL: [update lectsdboard set rcount=rcount+1 where bno= ?param0 and cno<> ?param1 ; select a.bno,a.subject,a.contents,a.cdt,a.fgno,a.cno ,b.sdname ,c.sstime,c.setime,l.sdate,l.edate ,u.username,u.userno ,a2.checktime from lectsdboard a inner join lectsd a2 on a2.lectno=a.lectno and a2.sdno=a.sdno inner join users u on u.userno=a.cno inner join lect l on l.lectno = a2.lectno inner join cmsd b on b.sdno=a.sdno inner join cm c on c.cmno=b.cmno where a.bno= ?param0 and a.isdel=0] +2025-12-11 13:57:02,890 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboardcmt] Prepared SQL: [select a.bno ,b.bcno,b.ctext,b.cno,b.cdt ,c.userno,c.username,c.usertype,c.username cnoname from lectsdboard a inner join lectsdboardcmt b on b.bno=a.bno and b.isdel=0 inner join users c on c.userno=b.cno where a.bno= ?param0 order by b.cdt desc] +2025-12-11 13:57:02,891 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.pay1] Prepared SQL: [select p.payno,p.cdt,p.payamt,p.ptype,p.refundamt,p.ispg,p.isgroup,p.isexam,p.pstatus,p.rstatus,p.payoktime,p.pgkey,p.isdvr,p.deliamt,p.isunpay,p.paylimit ,p.iscashrct ,u.userno,u.username,u.post,u.address1,u.address2 ,CAST(AES_DECRYPT(UNHEX(u.userpno), 'np123@!') AS char) userpno ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,CAST(AES_DECRYPT(UNHEX(u.email), 'np123@!') AS char) email ,case pi.ptype when 3 then exu.cdt when 4 then le.oktime else p.cdt end oktime ,pd.dvrcode,pd.rcvname,pd.isdvr isdvr2,pd.codetime,pd.post post2,pd.address1 address12,pd.address2 address22,pd.dmemo ,CAST(AES_DECRYPT(UNHEX(pd.telno), 'np123@!') AS char) telno2 ,CAST(AES_DECRYPT(UNHEX(pd.mobile), 'np123@!') AS char) mobile2 ,tax.iscancel, tax.taxdate, tax.taxno ,paydata.vactbankname,CAST(AES_DECRYPT(UNHEX(paydata.vactnum), 'np123@!') AS char) vactnum,paydata.vactname ,(select ischeck from paytax where payno = p.payno limit 1) ischeck from pay p inner join users u on u.userno=p.userno left outer join payitem pi on pi.payno=p.payno and pi.ptype in (3,4) left outer join lect le on pi.ptype=4 and le.pino=pi.pino and le.ischanged=0 left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno left outer join examuser exu on exu.exno=ex.exno and exu.userno=p.userno left outer join paydvr pd on pd.payno=p.payno left outer join ( select pt.payno,pt.iscancel,pt.taxdate,pt.taxno from paytax pt where pt.payno = ?param0 order by pt.cdt desc limit 1 ) tax on tax.payno = p.payno left outer join paydata paydata on paydata.payno=p.payno where p.payno= ?param0] +2025-12-11 13:57:02,891 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.pay2] Prepared SQL: [select pi.payno,pi.pino,pi.itemno,pi.pcno,pi.payamt,pi.pcnt,pi.ptype,pi.isrebate ,case pi.ptype when 2 then bk.bkname when 3 then ex.exname else cm.cname end itemname ,u.username,u.userid,u.isassignuser,u.depart,u.kfcfyear ,cc.cname ccpositionname ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,ua.asname ,cm.cshape ,cg.cgname ,pcg.cgname pcgname ,(select attrate from lect where payno = pi.payno limit 1) attrate ,pi.rbank , CAST(AES_DECRYPT(UNHEX(pi.rbankaccnum), 'np123@!') AS char) rbankaccnum, pi.tbankuser from payitem pi inner join pay p on p.payno=pi.payno left outer join cm cm on pi.ptype in (0,1,4) and cm.cmno=pi.itemno left outer join cg cg on pi.ptype in (0,1,4) and cg.cgno=cm.cgno left outer join cg pcg on pcg.cgno=cg.pcgno left outer join book bk on pi.ptype=2 and bk.bkno=pi.itemno left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno left outer join users u on p.isgroup=1 and u.userno=pi.userno left outer join assign ua on ua.asno=u.asno left outer join comcode cc on cc.ccode=u.ccposition where pi.payno= ?param0] +2025-12-11 13:57:02,892 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.payforexam1] Prepared SQL: [select eu.exno payno, eu.userno,eu.cdt,case when ua.isjoin=1 then ex.infee else ex.outfee end payamt,0 ptype,0 ispg,0 isgroup,1 isexam,21 pstatus,0 rstatus,null payoktime,null pgkey,0 isdvr,0 deliamt ,u.username,u.post,u.address1,u.address2 ,CAST(AES_DECRYPT(UNHEX(u.userpno), 'np123@!') AS char) userpno ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,CAST(AES_DECRYPT(UNHEX(u.email), 'np123@!') AS char) email ,eu.cdt oktime ,null dvrcode,null rcvname,0 isdvr2,null codetime,null post2,null address12,null address22,null dmemo ,null telno2 ,null mobile2 from examuser eu inner join users u on u.userno=eu.userno left outer join assign ua on ua.asno=u.asno left outer join exam ex on ex.exno=eu.exno where eu.exno= ?param0 and eu.userno= ?param1 and eu.status=1 and eu.payno is null and eu.pino is null and eu.pstatus=4] +2025-12-11 13:57:02,892 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.payforexam2] Prepared SQL: [select eu.exno payno,eu.userno pino,eu.exno itemno,null pcno,case when ua.isjoin=1 then ex.infee else ex.outfee end payamt,1 pcnt,3 ptype ,ex.exname itemname ,u.username,u.userid,u.isassignuser,u.depart,u.kfcfyear ,cc.cname ccpositionname ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,ua.asname ,0 cshape ,null cgname ,null pcgname from examuser eu left outer join exam ex on ex.exno=eu.exno left outer join users u on u.userno=eu.userno left outer join assign ua on ua.asno=u.asno left outer join comcode cc on cc.ccode=u.ccposition where eu.exno= ?param0 and eu.userno= ?param1] +2025-12-11 13:57:02,892 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.pay.forrfd] Prepared SQL: [select a.payno,a.ispg,a.pstatus,a.ptype,a.pgkey,a.isdvr,a.deliamt,a.isrefunddvr,a.payamt,a.refundamt,a.rstatus,a.isgroup,a.iscanceled,a.payoktime ,b.isdvr isdvr2,b.dvrcode ,CAST(AES_DECRYPT(UNHEX(u.email), 'np123@!') AS char) email from pay a left outer join paydvr b on b.payno=a.payno inner join users u on u.userno=a.userno where a.payno= ?param0 and a.pstatus=1] +2025-12-11 13:57:02,892 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.payitem.forrfd] Prepared SQL: [select pi.pino,pi.payno,pi.pcnt,pi.payamt,pi.refundamt,pi.refundtime,pi.refundinfo,pi.refundstatus,pi.rstatus,pi.ptype ,case pi.ptype when 2 then bk.bkname when 3 then ex.exname else cm.cname end itemname ,pcg.cgname pcgname ,u.userid,u.username from payitem pi inner join pay p on p.payno=pi.payno and p.pstatus=1 inner join users u on u.userno=case when pi.ptype=3 then p.userno else pi.userno end left outer join cm cm on pi.ptype in(0,1,4) and cm.cmno=pi.itemno left outer join cg cg on cg.cgno=cm.cgno left outer join cg pcg on pcg.cgno=cg.pcgno left outer join book bk on pi.ptype=2 and bk.bkno=pi.itemno left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno where pi.payno= ?param0] +2025-12-11 13:57:02,892 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.payrfditems] Prepared SQL: [select b.cdt,a.rfdno ,b.rtext,b.rstatus ,p.isgroup ,case pi.ptype when 2 then bk.bkname when 3 then ex.exname else cm.cname end itemname ,pi.ptype ,u.username,u.userid from pay p inner join payitem pi on pi.payno=p.payno inner join payrfditem a on a.pino=pi.pino inner join payrfd b on b.rfdno=a.rfdno inner join users u on u.userno=case when p.isgroup=1 and pi.ptype in (0,1,4) then pi.userno else p.userno end left outer join cm cm on pi.ptype in(0,1,4) and cm.cmno=pi.itemno left outer join cg cg on cg.cgno=cm.cgno left outer join cg pcg on pcg.cgno=cg.pcgno left outer join book bk on pi.ptype=2 and bk.bkno=pi.itemno left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno where p.payno= ?param0 order by a.rfdno desc] +2025-12-11 13:57:02,893 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.payrfditems2] Prepared SQL: [select a.rfdno ,b.rtext,b.rstatus,b.cdt,b.isowner,b.ramt,b.bankname,b.bankowner ,b.rreason,b.ruser,b.fgnor,b.fgnob ,CAST(AES_DECRYPT(UNHEX(b.rphone), 'np123@!') AS char) rphone ,b.rback ,CAST(AES_DECRYPT(UNHEX(b.bankno), 'np123@!') AS char) bankno ,p.isgroup,p.payno ,pi.payamt ,case pi.ptype when 2 then bk.bkname when 3 then ex.exname else cm.cname end itemname ,u.username,u.userid ,CAST(AES_DECRYPT(UNHEX(u.telno), 'np123@!') AS char) telno ,CAST(AES_DECRYPT(UNHEX(u.mobile), 'np123@!') AS char) mobile ,ua.asname ,f1.orgname,f1.fileno ,f2.orgname orgname2,f2.fileno file2 from payrfditem a inner join payitem pi on pi.pino=a.pino inner join pay p on p.payno=pi.payno inner join users u on u.userno=case when p.isgroup=1 and pi.ptype in (0,1,4) then pi.userno else p.userno end left outer join assign ua on ua.asno=u.asno inner join payrfd b on b.rfdno=a.rfdno left outer join cm cm on pi.ptype in(0,1,4) and cm.cmno=pi.itemno left outer join cg cg on cg.cgno=cm.cgno left outer join cg pcg on pcg.cgno=cg.pcgno left outer join book bk on pi.ptype=2 and bk.bkno=pi.itemno left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno left outer join fileinfo f1 on f1.fgno=b.fgnor and f1.isdel=0 left outer join fileinfo f2 on f2.fgno=b.fgnob and f2.isdel=0 where a.rfdno= ?param0 order by a.rfdno desc] +2025-12-11 13:57:02,894 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.paytaxitem] Prepared SQL: [select case pi.ptype when 2 then bk.bkname when 3 then ex.exname else cm.cname end itemname,pi.payamt,pi.pcnt,pi.ptype ,p.isgroup,p.payamt ppayamt,p.payoktime,p.ptype pptype from paytax a inner join paytaxitem b on b.taxno=a.taxno inner join payitem pi on pi.pino=b.pino inner join pay p on p.payno=pi.payno left outer join cm cm on pi.ptype in (0,1,4) and cm.cmno=pi.itemno left outer join book bk on pi.ptype=2 and bk.bkno=pi.itemno left outer join exam ex on pi.ptype=3 and ex.exno=pi.itemno where a.taxno= ?param0] +2025-12-11 13:57:02,894 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.paytaxes2] Prepared SQL: [select a.taxno,a.taxamt,a.taxdate from paytax a where a.payno= ?param0] +2025-12-11 13:57:02,894 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.paytax.formgtkey] Prepared SQL: [select taxno, mgtkey from paytax where mgtkey like concat( ?param0 ,'%') order by mgtkey desc limit 1] +2025-12-11 13:57:02,895 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.documnetspast] Prepared SQL: [select a.no,a.kind,a.cg,a.cshape,a.username ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!') AS char) userpno ,a.typeman,a.edukind,a.typeedu,a.typegrade,a.typejob,a.cgname,a.completeno,a.companyname,a.companyaddr,a.brno,a.eino,a.btype ,a.bkind,a.ceoname,date_format(a.ssdate, '%Y-%m-%d') ssdate,date_format(a.sedate, '%Y-%m-%d') sedate,a.sctime,a.assign,a.slevel,a.uduty ,CAST(AES_DECRYPT(UNHEX(a.phone), 'np123@!') AS char) phone ,a.mname ,CAST(AES_DECRYPT(UNHEX(a.mphone), 'np123@!') AS char) mphone ,a.sprice,a.rprice,a.rbank ,CAST(AES_DECRYPT(UNHEX(a.rbankno), 'np123@!') AS char) rbankno ,a.rbankuser ,CAST(AES_DECRYPT(UNHEX(a.taxemail), 'np123@!') AS char) taxemail ,a.syear,a.cdt,a.cno,a.udt,a.uno,a.uip from docprintpast a where a.no = ?param0] +2025-12-11 13:57:02,895 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.documnetspasts.kind] Prepared SQL: [select a.kind value,a.kind text from docprintpast a where a.kind is not null and a.kind <> "" group by a.kind] +2025-12-11 13:57:02,895 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.documnetspasts.syear] Prepared SQL: [select a.syear value,a.syear text from docprintpast a where a.syear is not null and a.syear <> "" group by a.syear] +2025-12-11 13:57:02,895 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.documnetspasts.cg] Prepared SQL: [select a.cg value,a.cg text from docprintpast a where a.cg is not null and a.cg <> "" group by a.cg] +2025-12-11 13:57:02,895 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.documnetspasts.cshape] Prepared SQL: [select a.cshape value,a.cshape text from docprintpast a where a.cshape is not null and a.cshape <> "" group by a.cshape] +2025-12-11 13:57:02,895 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.documnetspasts.typeman] Prepared SQL: [select a.typeman value,a.typeman text from docprintpast a where a.typeman is not null and a.typeman <> "" group by a.typeman] +2025-12-11 13:57:02,895 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.documnetspasts.edukind] Prepared SQL: [select a.edukind value,a.edukind text from docprintpast a where a.edukind is not null and a.edukind <> "" group by a.edukind] +2025-12-11 13:57:02,896 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.documnetspasts.typeedu] Prepared SQL: [select a.typeedu value,a.typeedu text from docprintpast a where a.typeedu is not null and a.typeedu <> "" group by a.typeedu] +2025-12-11 13:57:02,896 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.documnetspasts.typegrade] Prepared SQL: [select a.typegrade value,a.typegrade text from docprintpast a where a.typegrade is not null and a.typegrade <> "" group by a.typegrade] +2025-12-11 13:57:02,896 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.documnetspasts.typejob] Prepared SQL: [select a.typejob value,a.typejob text from docprintpast a where a.typejob is not null and a.typejob <> "" group by a.typejob] +2025-12-11 13:57:02,896 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectinningpage.totstudy] Prepared SQL: [select ifnull(sum(totstudy),-1) totstudy from lectinningpage where lectno = ?param0 and cmino = ?param1 and cpno = ?param2] +2025-12-11 13:57:02,896 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.myExCheck] Prepared SQL: [select l.lectno longval from lect l inner join cm c on l.cmno= c.cmno inner join pay p on l.payno = p.payno inner join users u on l.userno= u.userno left outer join (select c.cmno , c.cshape , c.cname , ci.cmino ,d.cmisno ,d.sseq ,d.estart ,d.eend ,d.studyplace ,ci.isscd from cm c inner join cminning ci on c.cmno = ci.cmno inner join cminningscd d on d.cmino = ci.cmino where c.cshape=2 and ci.isscd=1 and ci.scdtype=0 ) cmi on cmi.cmno = l.cmno and cmi.cmisno = l.cmisno left outer join lectinning li on li.cmino = cmi.cmino and li.lectno = l.lectno left outer join pplog pl on p.pplno= pl.pplno where l.lectno= ?param0 and l.userno = ?param1 and cmi.isscd = 1 and li.istatus = 2 AND IFNULL(l.iscomplete, 0) = 0] +2025-12-11 13:57:02,898 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectinningpage.in.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,899 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboard.in] Prepared SQL: [update lectsd a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno set a.udt=now(),a.uno= ?param1 ,a.uip= ?param2 ,a.submittime=now(),submitip= ?param2 where a.lectno= ?param3 and a.sdno= ?param4 and a.checktime is null; insert into lectsd (lectno,sdno,iscopy,submittime,submitip,cdt,cno,udt,uno,uip) select a.lectno,a.sdno,0,now(), ?param2 ,now(), ?param1 ,now(), ?param1 , ?param2 from (select ?param3 lectno, ?param0 userno, ?param4 sdno) a inner join lect b on b.lectno=a.lectno and b.userno=a.userno and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno left outer join lectsd d on d.lectno=a.lectno and d.sdno=a.sdno where d.lectno is null; SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into lectsdboard (lectno,sdno,subject,contents,fgno,rcount,cip,isdel,cdt,cno,udt,uno,uip) select a.lectno,a.sdno, ?param5 , ?param6 , ?param7 ,0, ?param2 ,0,now(), ?param1 ,now(), ?param1 , ?param2 from (select ?param3 lectno, ?param0 userno, ?param4 sdno) a inner join lect b on b.lectno=a.lectno and b.userno=a.userno and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno] +2025-12-11 13:57:02,899 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboard.in.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,899 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboardcmt.in] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into lectsdboardcmt (bno,ctext,isdel,cdt,cno,udt,uno,uip) values ( ?param0 , ?param1 ,0,now(), ?param2 ,now(), ?param2 , ?param3 );] +2025-12-11 13:57:02,900 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboardcmt.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()] +2025-12-11 13:57:02,900 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpayok] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into pay (ptype,ispg,isgroup,isexam,userno,username,pstatus,rstatus,rstatustime,cshrcancelnum,canceltime,cancelmsg,cancelcnt ,refunding,paylimit,payoktime,pgkey,orgamt,discamt,deliamt,isrefunddvr,payamt,refundamt,isdvr,cdt,cno,udt,uno,uip) select ?param0 ,0,0,1,u.userno,u.username,1,0,null,null,null,null,null ,0,null, ?param1 ,null ,a.outfee ,case when ?param0 = 6 then a.outfee else case when ua.isjoin=1 then a.outfee-a.infee else 0 end end ,0,0 ,case when ?param0 = 6 then 0 else case when ua.isjoin=1 then a.infee else a.outfee end end ,0,0,now(), ?param2 ,now(), ?param2 , ?param3 from exam a inner join users u on u.userno= ?param4 left outer join assign ua on ua.asno=u.asno where a.exno= ?param5] +2025-12-11 13:57:02,900 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpayok.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,900 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpayok2] Prepared SQL: [SELECT * FROM (SELECT LAST_INSERT_ID(0) col1) a WHERE col1 > 0; insert into payitem (payno,ptype,pcno,itemno,userno,pstatus,rstatus,pgkey,cancelcode,cancelmsg,canceltype,pcnt ,orgamt,discamt,payamt ,payamtcash,payamtcard ,refundamt,refundtime,refundtimereal,refundinfo,isrebate,fgno,cartno,cdt,cno,udt,uno,uip) select p.payno,3,null, ?param0 , ?param1 ,1,0,null,null,null,null,1 ,a.outfee ,case when p.ptype=6 then a.outfee else case when ua.isjoin=1 then a.outfee-a.infee else 0 end end ,case when p.ptype=6 then 0 else case when ua.isjoin=1 then a.infee else a.outfee end end ,0,0 ,0,null,null,null,0,null,null,now(), ?param2 ,now(), ?param2 , ?param3 from exam a inner join users u on u.userno= ?param1 inner join pay p on p.payno= ?param4 left outer join assign ua on ua.asno=u.asno where a.exno= ?param0] +2025-12-11 13:57:02,901 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpayok2.SelectKey] Prepared SQL: [SELECT last_insert_id()] +2025-12-11 13:57:02,901 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.studylog] Prepared SQL: [update lectinningpage a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 set a.totstudy=TIMESTAMPDIFF(SECOND, a.stime, now()),a.etime=now(),a.eip= ?param1 ,a.udt=now(),a.uno= ?param2 ,a.uip= ?param1 where a.logno= ?param3 ; update lectinning a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 inner join cminning c on c.cmino=a.cmino inner join ( select lectno,sum(totstudy) totstudy from lectinningpage where lectno= ?param4 and cmino= ?param5 group by lectno ) d on d.lectno=a.lectno set a.udt=now(),a.uno= ?param2 ,a.uip= ?param1 ,a.totstudy=d.totstudy ,a.etime=now() ,a.istatus=case when a.istatus <> 2 and c.atime * 60 <= d.totstudy then 2 else a.istatus end ,a.finishtime=case when a.finishtime is null and c.atime * 60 <= d.totstudy then now() else a.finishtime end ,a.eip= ?param1 ,a.ispce= ?param6 ,a.psec= ?param7 where a.lectno= ?param4 and a.cmino= ?param5 ; update lect a inner join ( select a.lectno,truncate(count(c.lectno) / count(b.cmino) * 100, 0) attrate from lect a inner join cminning b on b.cmno=a.cmno and ifnull(b.isscd,0)=0 left outer join lectinning c on c.lectno=a.lectno and c.cmino=b.cmino and c.istatus=2 where a.lectno= ?param4 and a.userno= ?param0 group by a.lectno ) b on b.lectno=a.lectno inner join cmev ce on a.cmno = ce.cmno set a.attrate=b.attrate ,a.apoint = (((b.attrate / 100) * ce.attend / 100)* 100) ,a.etime=now() ,a.eip= ?param1 ,a.ispce= ?param6 ,a.udt=now(),a.uno= ?param2 ,a.uip= ?param1 where a.lectno= ?param4 and a.userno= ?param0 ;] +2025-12-11 13:57:02,901 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.studymid] Prepared SQL: [update lectinning set isokmid=1 where lectno= ?param0 and cmino= ?param1] +2025-12-11 13:57:02,902 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsd.save] Prepared SQL: [update lectsd a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno set a.udt=now(),a.uno= ?param1 ,a.uip= ?param2 ,a.fgno= ?param3 ,a.atext= ?param4 ,a.submittime=now(),submitip= ?param2 where a.lectno= ?param5 and a.sdno= ?param6 and a.checktime is null; insert into lectsd (lectno,sdno,atext,fgno,iscopy,submittime,submitip,cdt,cno,udt,uno,uip) select a.lectno,a.sdno, ?param4 , ?param3 ,0,now(), ?param2 ,now(), ?param1 ,now(), ?param1 , ?param2 from (select ?param5 lectno, ?param0 userno, ?param6 sdno) a inner join lect b on b.lectno=a.lectno and b.userno=a.userno inner join cm c on c.cmno=b.cmno and b.sdate < now() and b.edate > now() left outer join lectsd d on d.lectno=a.lectno and d.sdno=a.sdno where d.lectno is null;] +2025-12-11 13:57:02,902 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboard.save] Prepared SQL: [update lectsd a inner join lect b on b.lectno=a.lectno and b.userno= ?param0 and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno set a.udt=now(),a.uno= ?param1 ,a.uip= ?param2 ,a.submittime=now(),submitip= ?param2 where a.lectno= ?param3 and a.sdno= ?param4 and a.checktime is null; update lectsdboard a inner join lectsd a2 on a2.lectno=a.lectno and a2.sdno=a.sdno and a2.checktime is null inner join lect b on b.lectno=a.lectno and b.userno= ?param0 and b.sdate < now() and b.edate > now() inner join cm c on c.cmno=b.cmno set a.udt=now(),a.uno= ?param1 ,a.uip= ?param2 ,a.subject= ?param5 ,contents= ?param6 ,a.fgno= ?param7 where a.bno= ?param8 and a.lectno= ?param3 and a.sdno= ?param4 ;] +2025-12-11 13:57:02,902 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboard.del] Prepared SQL: [update lectsd a inner join lectsdboard b on b.bno= ?param0 and b.cno= ?param1 and b.isdel=0 and b.lectno=a.lectno and b.sdno=a.sdno inner join lect a2 on a2.lectno=b.lectno and a2.userno=b.cno and a2.sdate < now() and a2.edate > now() inner join cm c on c.cmno=a2.cmno set a.submittime=null,a.submitip=null and a.checktime is null; update lectsdboard a inner join lectsd b on b.lectno=a.lectno and b.sdno=a.sdno and b.checktime is null inner join lect a2 on a2.lectno=b.lectno and a2.userno=a.cno and a2.sdate < now() and a2.edate > now() inner join cm c on c.cmno=a2.cmno set a.uno= ?param2 ,a.udt=now(),a.uip= ?param3 ,a.isdel=1 where a.bno= ?param0 and a.cno= ?param1 and a.isdel=0;] +2025-12-11 13:57:02,903 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.payrefundinfo.up] Prepared SQL: [update payitem set udt=now(),uno= ?param0 ,uip= ?param1 ,rbank = ?param2 ,rbankaccnum = HEX(AES_ENCRYPT( ?param3 , 'np123@!')) ,tbankuser = ?param4 where payno = ?param5] +2025-12-11 13:57:02,903 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpayok3] Prepared SQL: [update examuser set udt=now(),uno= ?param0 ,uip= ?param1 ,payno= ?param2 ,pino= ?param3 ,pstatus=1 where exno= ?param4 and userno= ?param5 and status=1 and payno is null and pino is null and pstatus=4] +2025-12-11 13:57:02,903 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpaycancel] Prepared SQL: [update examuser set udt=now(),uno= ?param0 ,uip= ?param1 ,pstatus=9 where exno= ?param2 and userno= ?param3 and status=1 and payno is null and pino is null and pstatus=4] +2025-12-11 13:57:02,904 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.payrfd.save] Prepared SQL: [update payrfd set udt=now(),uno= ?param0 ,uip= ?param1 ,bankname= ?param2 ,bankowner= ?param3 ,bankno=HEX(AES_ENCRYPT( ?param4 , 'np123@!')) ,isowner= ?param5 ,ruser= ?param6 ,rphone=HEX(AES_ENCRYPT( ?param7 , 'np123@!')) ,rreason= ?param8 ,rtext= ?param9 ,rstatus= ?param10 ,rback= ?param11 ,statustime=case when rstatus <> ?param10 then now() else statustime end where rfdno= ?param12] +2025-12-11 13:57:02,907 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.documnetspast.up] Prepared SQL: [update docprintpast set udt=now(),uno= ?param0 ,uip= ?param1 ,kind= ?param2 ,cg= ?param3 ,cshape= ?param4 ,username= ?param5 ,userpno=HEX(AES_ENCRYPT( ?param6 , 'np123@!')) ,typeman= ?param7 ,edukind= ?param8 ,typeedu= ?param9 ,typegrade= ?param10 ,typejob= ?param11 ,cgname= ?param12 ,completeno= ?param13 ,companyname= ?param14 ,companyaddr= ?param15 ,brno= ?param16 ,eino= ?param17 ,btype= ?param18 ,bkind= ?param19 ,ceoname= ?param20 ,ssdate= ?param21 ,sedate= ?param22 ,sctime= ?param23 ,assign= ?param24 ,slevel= ?param25 ,uduty= ?param26 ,phone=HEX(AES_ENCRYPT( ?param27 , 'np123@!')) ,mname= ?param28 ,mphone=HEX(AES_ENCRYPT( ?param29 , 'np123@!')) ,sprice= ?param30 ,rprice= ?param31 ,rbank= ?param32 ,rbankno=HEX(AES_ENCRYPT( ?param33 , 'np123@!')) ,rbankuser= ?param34 ,taxemail=HEX(AES_ENCRYPT( ?param35 , 'np123@!')) ,syear= ?param36 where no= ?param37] +2025-12-11 13:57:02,908 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.studyclose] Prepared SQL: [update lectinningpage a set a.etime=now(),a.eip= ?param0 ,a.udt=now(),a.uno= ?param1 ,a.uip= ?param0 where a.logno= ?param2 ;] +2025-12-11 13:57:02,910 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [site.main] Prepared SQL: [select * from ( select 0 dtype ,a.cmno intval,a.isrefund intval2 ,0 longval ,a.cname strval,b.cgname strval2,a.kname strval3,null strval4,null strval5,null strval6 ,a.rstime time,a.retime time2,a.sstime time3,a.setime time4 from cm a inner join cg b on b.cgno=a.cgno inner join cg b2 on b2.cgno=b.pcgno and b2.cgcode= ?param0 inner join cm c on c.cmno=a.pcmno where a.ismaster=0 and a.rstime < now() and a.retime >= DATE_FORMAT(now(), '%Y%m%d') and a.isuse=1 and a.isdel=0 order by a.retime asc limit 4 ) a union all select * from ( select a.dtype,a.intval,a.intval2 ,a.longval ,a.strval,a.strval2,a.strval3,a.strval4,ifnull(a.strval5,d.fileurl) strval5,a.strval6 ,a.time,a.time2,a.time3,a.time4 from ( select 1 dtype ,a.cmno intval,a.isrefund intval2 ,0 longval ,a.cname strval,b.cgname strval2,c.cname strval3,concat('/', e.ccode, '/', f.srcp) strval4,ef.fileurl strval5,b.cgcode strval6 ,a.rstime time,a.retime time2,a.sstime time3,a.setime time4 from cm a inner join cg b on b.cgno=a.cgno inner join cg b2 on b2.cgno=b.pcgno and b2.cgcode= ?param1 inner join cm c on c.cmno=a.pcmno left outer join cminning d on d.cmno=a.cmno and d.istaste=1 left outer join ct e on e.ctno=d.ctno left outer join fileinfo ef on ef.fgno=e.fgnothumb and ef.isdel=0 left outer join ctpage f on f.ctno=e.ctno and f.pseq=1 where a.ismaster=0 and a.rstime < now() and a.retime >= DATE_FORMAT(now(), '%Y%m%d') and a.cshape=0 and a.isuse=1 and a.isdel=0 order by a.retime asc limit 4 ) a left outer join cminning b on a.strval5 is null and b.cmno=a.intval and b.iseq=1 left outer join ct c on a.strval5 is null and c.ctno=b.ctno left outer join fileinfo d on a.strval5 is null and d.fgno=c.fgnothumb and d.isdel=0 ) a union all select * from ( select 2 dtype ,0 intval,0 intval2 ,b.bno longval ,c.opname strval,b.subject strval2,null strval3,null strval4,null strval5,null strval6 ,null time,null time2,null time3,null time4 from boardmaster a inner join board b on b.bmno=a.bmno and b.pbno is null and b.isdel=0 and b.issecr=0 and b.isopen=1 left outer join boardmasteropening c on c.opno=b.opno where a.bmcode='homenotice' order by b.cdt desc limit 2 ) a union all select * from ( select 3 dtype ,0 intval,0 intval2 ,b.bno longval ,c.opname strval,b.subject strval2,null strval3,null strval4,null strval5,null strval6 ,null time,null time2,null time3,null time4 from boardmaster a inner join board b on b.bmno=a.bmno and b.pbno is null and b.isdel=0 and b.issecr=0 and b.isopen=1 left outer join boardmasteropening c on c.opno=b.opno where a.bmcode='homefaq' order by b.cdt desc limit 2 ) a] +2025-12-11 13:57:02,927 [26008] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.npsystem] PreparedStatement : [select count(b.daokey) from (select 1 col1) a left outer join npsystem b on b.daokey= ?param0] +2025-12-11 13:57:02,937 [26008] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.npsystem] Parameters: [?param0=[daokey,qaldSUKDKuLggF2sN2Bn/lvf/i3LKEeOzoD6MpHlc0w=]] +2025-12-11 13:57:02,937 [26008] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.npsystem] Types: [?param0=[String, System.String]] +2025-12-11 13:57:03,206 [26008] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46989733" to "MySQL, MySQL provider 6.10.5.0". +2025-12-11 13:57:03,223 [26008] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46989733" to "MySQL, MySQL provider 6.10.5.0". +2025-12-11 13:57:03,597 [26008] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.menuauth] Prepared SQL: [select a.usertype, a.menuno, a.menuname, a.pmenuno, a.menuurl, a.menulevel, a.menuorder, a.ccount, a.isuse, a.ishid ,concat('/',ifnull(b5.menuno, 0), '/', ifnull(b4.menuno, 0), '/', ifnull(b3.menuno, 0), '/', ifnull(b2.menuno, 0), '/', ifnull(b1.menuno, 0), '/', ifnull(a.menuno, 0), '/') menurout ,case a.menulevel when 0 then ' ' when 1 then b1.menuname when 2 then b2.menuname when 3 then b3.menuname when 4 then b4.menuname when 5 then b5.menuname end pmenuname ,b2.menuno ppmenuno from ( select b.usertype, c.menuno, c.menuname, c.pmenuno, c.menuurl, c.menulevel, c.menuorder, count(d.menuno) ccount, c.isuse, c.ishid from menuauth b inner join menu c on c.menuno=b.menuno and c.isuse=1 left outer join menu d on d.pmenuno=c.menuno group by b.usertype, c.menuno, c.menuname, c.pmenuno, c.menuurl, c.menulevel, c.menuorder, c.isuse, c.ishid ) a left outer join menu b1 on b1.menuno=a.pmenuno left outer join menu b2 on b2.menuno=b1.pmenuno left outer join menu b3 on b3.menuno=b2.pmenuno left outer join menu b4 on b4.menuno=b3.pmenuno left outer join menu b5 on b5.menuno=b4.pmenuno where ?param0 = case a.menulevel when 0 then a.menuno when 1 then b1.menuno when 2 then b2.menuno when 3 then b3.menuno when 4 then b4.menuno else b5.menuno end order by a.usertype, case a.menulevel when 0 then a.menuorder when 1 then b1.menuorder when 2 then b2.menuorder when 3 then b3.menuorder when 4 then b4.menuorder else b5.menuorder end ,case a.menulevel when 0 then a.menuno when 1 then b1.menuno when 2 then b2.menuno when 3 then b3.menuno when 4 then b4.menuno else b5.menuno end ,case a.menulevel when 1 then a.menuorder when 2 then b1.menuorder when 3 then b2.menuorder when 4 then b3.menuorder when 5 then b4.menuorder else 0 end ,case a.menulevel when 1 then a.menuno when 2 then b1.menuno when 3 then b2.menuno when 4 then b3.menuno when 5 then b4.menuno else 0 end ,case a.menulevel when 2 then a.menuorder when 3 then b1.menuorder when 4 then b2.menuorder when 5 then b3.menuorder else 0 end ,case a.menulevel when 2 then a.menuno when 3 then b1.menuno when 4 then b2.menuno when 5 then b3.menuno else 0 end ,case a.menulevel when 3 then a.menuorder when 4 then b1.menuorder when 5 then b2.menuorder else 0 end ,case a.menulevel when 3 then a.menuno when 4 then b1.menuno when 5 then b2.menuno else 0 end ,case a.menulevel when 4 then a.menuorder when 5 then b1.menuorder else 0 end ,case a.menulevel when 4 then a.menuno when 5 then b1.menuno else 0 end ,case a.menulevel when 5 then a.menuorder else 0 end ,case a.menulevel when 5 then a.menuno else 0 end] +2025-12-11 13:57:03,597 [26008] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] PreparedStatement : [select a.usertype, a.menuno, a.menuname, a.pmenuno, a.menuurl, a.menulevel, a.menuorder, a.ccount, a.isuse, a.ishid ,concat('/',ifnull(b5.menuno, 0), '/', ifnull(b4.menuno, 0), '/', ifnull(b3.menuno, 0), '/', ifnull(b2.menuno, 0), '/', ifnull(b1.menuno, 0), '/', ifnull(a.menuno, 0), '/') menurout ,case a.menulevel when 0 then ' ' when 1 then b1.menuname when 2 then b2.menuname when 3 then b3.menuname when 4 then b4.menuname when 5 then b5.menuname end pmenuname ,b2.menuno ppmenuno from ( select b.usertype, c.menuno, c.menuname, c.pmenuno, c.menuurl, c.menulevel, c.menuorder, count(d.menuno) ccount, c.isuse, c.ishid from menuauth b inner join menu c on c.menuno=b.menuno and c.isuse=1 left outer join menu d on d.pmenuno=c.menuno group by b.usertype, c.menuno, c.menuname, c.pmenuno, c.menuurl, c.menulevel, c.menuorder, c.isuse, c.ishid ) a left outer join menu b1 on b1.menuno=a.pmenuno left outer join menu b2 on b2.menuno=b1.pmenuno left outer join menu b3 on b3.menuno=b2.pmenuno left outer join menu b4 on b4.menuno=b3.pmenuno left outer join menu b5 on b5.menuno=b4.pmenuno where ?param0 = case a.menulevel when 0 then a.menuno when 1 then b1.menuno when 2 then b2.menuno when 3 then b3.menuno when 4 then b4.menuno else b5.menuno end order by a.usertype, case a.menulevel when 0 then a.menuorder when 1 then b1.menuorder when 2 then b2.menuorder when 3 then b3.menuorder when 4 then b4.menuorder else b5.menuorder end ,case a.menulevel when 0 then a.menuno when 1 then b1.menuno when 2 then b2.menuno when 3 then b3.menuno when 4 then b4.menuno else b5.menuno end ,case a.menulevel when 1 then a.menuorder when 2 then b1.menuorder when 3 then b2.menuorder when 4 then b3.menuorder when 5 then b4.menuorder else 0 end ,case a.menulevel when 1 then a.menuno when 2 then b1.menuno when 3 then b2.menuno when 4 then b3.menuno when 5 then b4.menuno else 0 end ,case a.menulevel when 2 then a.menuorder when 3 then b1.menuorder when 4 then b2.menuorder when 5 then b3.menuorder else 0 end ,case a.menulevel when 2 then a.menuno when 3 then b1.menuno when 4 then b2.menuno when 5 then b3.menuno else 0 end ,case a.menulevel when 3 then a.menuorder when 4 then b1.menuorder when 5 then b2.menuorder else 0 end ,case a.menulevel when 3 then a.menuno when 4 then b1.menuno when 5 then b2.menuno else 0 end ,case a.menulevel when 4 then a.menuorder when 5 then b1.menuorder else 0 end ,case a.menulevel when 4 then a.menuno when 5 then b1.menuno else 0 end ,case a.menulevel when 5 then a.menuorder else 0 end ,case a.menulevel when 5 then a.menuno else 0 end] +2025-12-11 13:57:03,597 [26008] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[topmenuno,1]] +2025-12-11 13:57:03,597 [26008] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]] +2025-12-11 13:57:03,608 [26008] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19325727" to "MySQL, MySQL provider 6.10.5.0". +2025-12-11 13:57:03,666 [26008] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19325727" to "MySQL, MySQL provider 6.10.5.0". diff --git a/BO/bin/NP.BO.dll b/BO/bin/NP.BO.dll index 4e83dd0..b3360b7 100644 Binary files a/BO/bin/NP.BO.dll and b/BO/bin/NP.BO.dll differ diff --git a/BO/bin/NP.BO.pdb b/BO/bin/NP.BO.pdb index 8f43ffb..2581a0e 100644 Binary files a/BO/bin/NP.BO.pdb and b/BO/bin/NP.BO.pdb differ diff --git a/BO/bin/NP.Base.dll b/BO/bin/NP.Base.dll index cbe0e37..af75151 100644 Binary files a/BO/bin/NP.Base.dll and b/BO/bin/NP.Base.dll differ diff --git a/BO/bin/NP.Base.pdb b/BO/bin/NP.Base.pdb index 2a801e6..d9a4c4c 100644 Binary files a/BO/bin/NP.Base.pdb and b/BO/bin/NP.Base.pdb differ diff --git a/BO/obj/Debug/BO.csproj.AssemblyReference.cache b/BO/obj/Debug/BO.csproj.AssemblyReference.cache index d97aac1..f5e894a 100644 Binary files a/BO/obj/Debug/BO.csproj.AssemblyReference.cache and b/BO/obj/Debug/BO.csproj.AssemblyReference.cache differ diff --git a/BO/obj/Debug/NP.BO.dll b/BO/obj/Debug/NP.BO.dll index 4e83dd0..b3360b7 100644 Binary files a/BO/obj/Debug/NP.BO.dll and b/BO/obj/Debug/NP.BO.dll differ diff --git a/BO/obj/Debug/NP.BO.pdb b/BO/obj/Debug/NP.BO.pdb index 8f43ffb..2581a0e 100644 Binary files a/BO/obj/Debug/NP.BO.pdb and b/BO/obj/Debug/NP.BO.pdb differ diff --git a/Base/Controller/FOCommon.cs b/Base/Controller/FOCommon.cs index a18294c..bdd10c9 100644 --- a/Base/Controller/FOCommon.cs +++ b/Base/Controller/FOCommon.cs @@ -9,58 +9,45 @@ using System.Text.RegularExpressions; using System.Web; using System.Web.Mvc; -namespace NP.Base.Controllers -{ - public partial class FOCommonController : NP.Base.BaseController - { - protected override void OnActionExecuting(ActionExecutingContext filterContext) - { +namespace NP.Base.Controllers { + public partial class FOCommonController : NP.Base.BaseController { + protected override void OnActionExecuting(ActionExecutingContext filterContext) { base.OnActionExecuting(filterContext); } - protected override void OnException(ExceptionContext filterContext) - { + protected override void OnException(ExceptionContext filterContext) { base.OnException(filterContext); - if (Request.IsAjaxRequest()) - { + if (Request.IsAjaxRequest()) { filterContext.Result = new RedirectResult("/Account/NoPermit?_code=" + NP.Base.ENUM.JSONCode.Error + "&_msg=알수없는오류"); - } - else - { + } else { filterContext.Result = new RedirectResult("/Account/Error?_code=" + NP.Base.ENUM.JSONCode.Error + "&_msg=알수없는오류"); } } - public JsonResult Html(int pno) - { + public JsonResult Html(int pno) { return JsonBack(Dao.Get("mm.pages", new Hashtable() { { "pno", pno } }).First()); } - public JsonResult HidePop(int pno) - { + public JsonResult HidePop(int pno) { var p = CookieGet("popup", ""); CookieSet("popup", p == "" ? pno.ToString() : (p + "p" + pno), 7); return JsonOK(1); } - public void DownFile(Int64 fno, int getdel = 0, String loginfo = "", int issubject = 0) - { + public void DownFile(Int64 fno, int getdel = 0, String loginfo = "", int issubject = 0) { Dao.Save("sys.file.down", fno); var file = Dao.Get("sys.file.get" + (getdel > 0 ? "all" : ""), fno).FirstOrDefault(); - if (Request.UrlReferrer == null || (!SUserInfo.IsAdmin && file.tablename == "lectsd" && file.columnname == "fgno" && SUserInfo.UserNo != file.cno)) - { + if (Request.UrlReferrer == null || (!SUserInfo.IsAdmin && file.tablename == "lectsd" && file.columnname == "fgno" && SUserInfo.UserNo != file.cno)) { Response.Clear(); Response.ClearHeaders(); Response.ClearContent(); Response.ContentType = "Application/octet-stream"; - Response.AppendHeader("Content-Disposition", "attachment;filename=" + Server.UrlEncode("권한없음.png")); + Response.AppendHeader("Content-Disposition", "attachment;filename=" + Server.UrlEncode("권한없음.png")); Response.TransmitFile(string.Format("{0}", Server.MapPath("/img/repute_tail.png"))); Response.Flush(); Response.End(); - } - else - { - string fileurl = Server.MapPath((issubject == 1 ? file.fullurl2 : file.fullurl)); + } else { + string fileurl = Server.MapPath((issubject == 1 ? file.fullurl2 : file.fullurl)); Response.Clear(); Response.ClearHeaders(); - Response.ClearContent(); + Response.ClearContent(); Response.ContentType = "text/plain"; Response.AppendHeader("Content-Disposition", "attachment;filename=" + Server.UrlEncode(file.orgname)); Response.AppendHeader("Content-Length", file.filesize.ToString()); @@ -71,28 +58,20 @@ namespace NP.Base.Controllers } [HttpPost] - public JsonResult Login(VMUser vm, String uid, String upw, int logincnt, bool issaveid) - { - if (issaveid) - { + public JsonResult Login(VMUser vm, String uid, String upw, int logincnt, bool issaveid) { + if (issaveid) { CookieSet("savedid", uid); - } - else - { + } else { CookieClear("savedid"); } - if (!string.IsNullOrEmpty(uid) && !string.IsNullOrEmpty(upw)) - { + if (!string.IsNullOrEmpty(uid) && !string.IsNullOrEmpty(upw)) { var u = GoLogin(uid, upw); - if (u != null) - { - if(u.intv1 == 1) - { + if (u != null) { + if (u.intv1 == 1) { ++logincnt; - if (logincnt > 4) - { + if (logincnt > 4) { Dao.Save("users.disable", new Hashtable() { { "userno", u.userno } }); } @@ -102,27 +81,21 @@ namespace NP.Base.Controllers { // 비활성 상태(비번 5회 이상) return JsonBack(new JsonRtn() { code = 1000, msg = "-5", obj = u.userno }); - } - else - { + } else { - if (u.userno < 0) - { + if (u.userno < 0) { return JsonBack(new JsonRtn() { code = 1000, obj = -1, msg = u.subdomain }); } //비밀번호 변경 90일 경과 - if (u.udt.AddDays(90) < DateTime.Now) - { + if (u.udt.AddDays(90) < DateTime.Now) { return JsonBack(new JsonRtn() { code = 1000, msg = "-2", obj = u.userno }); } // 휴면상태 - if (u.status == 8) - { + if (u.status == 8) { return JsonBack(new JsonRtn() { code = 1000, msg = "-3", obj = u.userno }); } - if (u.status == 98) - { + if (u.status == 98) { // 탈퇴신청중 u = null; CookieClear(null, true); @@ -141,15 +114,12 @@ namespace NP.Base.Controllers /// /// /// - public JsonResult PwChange(VMUser vm) - { - if (string.IsNullOrEmpty(vm.User.userpass) || vm.User.userpass.Trim() == "") - { + public JsonResult PwChange(VMUser vm) { + if (string.IsNullOrEmpty(vm.User.userpass) || vm.User.userpass.Trim() == "") { Dao.Save("users.resetuserpass", new Hashtable() { { "userno", vm.userno } }); return JsonOK(1); } - if (vm.userno > 0 && !string.IsNullOrEmpty(vm.User.userpass) && vm.User.userpass.Trim() != "") - { + if (vm.userno > 0 && !string.IsNullOrEmpty(vm.User.userpass) && vm.User.userpass.Trim() != "") { //if (Dao.Save("users.resetuserpass", new Hashtable() { { "userpass", NP.Base.Lib.KISA_SHA256.SHA256Hash(vm.User.userpass) }, { "userno", vm.userno } }) == 1) //{ // var u = GoLogin(vm.User.userid, vm.User.userpass); @@ -158,11 +128,9 @@ namespace NP.Base.Controllers // return JsonOK(1); // } //} - if (Dao.Save("users.resetuserpass", new Hashtable() { { "userpass", NP.Base.Lib.KISA_SHA256.SHA256Hash(vm.User.userpass) }, { "userno", vm.userno } }) > 0) - { + if (Dao.Save("users.resetuserpass", new Hashtable() { { "userpass", NP.Base.Lib.KISA_SHA256.SHA256Hash(vm.User.userpass) }, { "userno", vm.userno } }) > 0) { var u = GoLogin(vm.User.userid, vm.User.userpass); - if (u != null) - { + if (u != null) { return JsonOK(1); } } @@ -175,23 +143,17 @@ namespace NP.Base.Controllers /// /// /// - public JsonResult DormantCancel(int userno) - { - if (Dao.Get("users.dormants", new Hashtable() { { "userno", userno } }).Count() < 1) - { + public JsonResult DormantCancel(int userno) { + if (Dao.Get("users.dormants", new Hashtable() { { "userno", userno } }).Count() < 1) { return JsonBack(new JsonRtn() { code = 1 }); } var result = Dao.Save("users.dormant.cancel", new Hashtable() { { "usernos", userno }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }); var user = Dao.Get("users.findmes", new Hashtable() { { "userno", userno } }).FirstOrDefault(); - if (user != null) - { + if (user != null) { var u = GoLogin(user.userid, "rhksflwkfhrmdls999"); - if (u != null) - { + if (u != null) { return JsonOK(result); - } - else - { + } else { return JsonBack(new JsonRtn() { code = 2 }); } } @@ -199,42 +161,35 @@ namespace NP.Base.Controllers } [HttpPost] - public JsonResult GetBoards(int btype, int pn, int prc, String sc) - { + public JsonResult GetBoards(int btype, int pn, int prc, String sc) { return JsonBackList(Dao.Get("board.list", new Hashtable() { { "BType", btype }, { "SubjectContents", sc.Trim() == "" ? null : sc.Trim() }, { "PAGENUM", pn }, { "PAGEROWSIZE", prc } })); } [HttpPost] - public JsonResult CMInnings(int cmno) - { + public JsonResult CMInnings(int cmno) { return JsonBack(Dao.Get("cm.cminnings", new System.Collections.Hashtable() { { "cmno", cmno } })); } [HttpPost] - public JsonResult CMRelays(int cmno) - { + public JsonResult CMRelays(int cmno) { var cms = Dao.Get("cm.cmrelays", new System.Collections.Hashtable() { { "cmno", cmno }, { "userno", SUserInfo.UserNo } }); return JsonBack(new Hashtable() { { "pre", cms.Where(w => w.ispre == 1).ToList() }, { "after", cms.Where(w => w.ispre == 0).ToList() } }); } [HttpPost] - public JsonResult AssignFind(String brno, int? pno) - { + public JsonResult AssignFind(String brno, int? pno) { brno = (brno ?? "").Replace("-", ""); return JsonBack(Dao.Get("users.assigns", new Hashtable() { { "brno", brno }, { "pagenum", pno }, { "pagerowsize", 10 } })); } [HttpPost] - public JsonResult AssignSave(String brno, String asname,String ceoname) - { - var ht = new Hashtable() { { "asno", 0 }, { "isjoin", 0 }, { "ascode", Dao.Get("users.assign.newascode", 1).First() }, { "joinprice", 0 }, { "asname", asname }, { "brno", brno.Replace("-", "")}, { "ceoname", ceoname }, { "salesamount", 0 }, { "mcount", 0 }, { "status", 1 }, { "isdel", 0 }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }; + public JsonResult AssignSave(String brno, String asname, String ceoname) { + var ht = new Hashtable() { { "asno", 0 }, { "isjoin", 0 }, { "ascode", Dao.Get("users.assign.newascode", 1).First() }, { "joinprice", 0 }, { "asname", asname }, { "brno", brno.Replace("-", "") }, { "ceoname", ceoname }, { "salesamount", 0 }, { "mcount", 0 }, { "status", 1 }, { "isdel", 0 }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }; Dao.Insert("users.assign.in", ht); return JsonOK(GetInt(ht["asno"])); } [HttpPost] - public JsonResult Join(Users u) - { + public JsonResult Join(Users u) { u.uip = GetUserIP(); //이메일, 아이디 중복 체크 - var u129 = Dao.Get("users.checkuser", new Hashtable() { { "userid", u.userid }, { "email", u.email },{"mobile",u.mobile } }).First(); - if (u129 != 9) - { + var u129 = Dao.Get("users.checkuser", new Hashtable() { { "userid", u.userid }, { "email", u.email }, { "mobile", u.mobile } }).First(); + if (u129 != 9) { return JsonOK(u129 * -1); } u.userpass = NP.Base.Lib.KISA_SHA256.SHA256Hash(u.userpass.Trim()); @@ -245,10 +200,8 @@ namespace NP.Base.Controllers } // 이후 전문건설과 같이 본인인증시 팝업을 제한할 경우 Join -> Join_new 서로 매서드 변경할것 - public JsonResult Join_new(Users u) - { - if (!string.IsNullOrWhiteSpace(u.zstring0)) - { + public JsonResult Join_new(Users u) { + if (!string.IsNullOrWhiteSpace(u.zstring0)) { // 인증 후 okcert3log.no와 sn 값으로 인증된 결과값 가져오기 string decStr = DecString(u.zstring0); string[] tempArr = decStr.Split(','); @@ -264,8 +217,7 @@ namespace NP.Base.Controllers u.ci = data["CI"].ToString(); u.di = data["DI"].ToString(); u.birthday = data["RSLT_BIRTHDAY"].ToString(); - if(gubn == "MOBI") - { + if (gubn == "MOBI") { u.mobile = data["TEL_NO"] == null ? "" : data["TEL_NO"].ToString(); } u.vssn = data["VSSN"] == null ? "" : data["VSSN"].ToString(); @@ -273,8 +225,7 @@ namespace NP.Base.Controllers u.uip = GetUserIP(); //이메일, 아이디 중복 체크 var u129 = Dao.Get("users.checkuser", new Hashtable() { { "userid", u.userid }, { "email", u.email }, { "mobile", u.mobile } }).First(); - if (u129 != 9) - { + if (u129 != 9) { return JsonOK(u129 * -1); } u.userpass = NP.Base.Lib.KISA_SHA256.SHA256Hash(u.userpass.Trim()); @@ -282,36 +233,30 @@ namespace NP.Base.Controllers u.usertype = u.status = 1; Dao.Insert("users.in", u); return JsonOK(u.userno); - } - else - { + } else { return JsonOK(0); } } [HttpPost] - public JsonResult FindMe(String email) - { + public JsonResult FindMe(String email) { if (string.IsNullOrEmpty(email)) { return JsonOK(-1); } email = email.Replace(" ", "").Replace(" ", ""); List users = new List() { }; - + bool IsEmail = false; - if (email.Contains("@")) - { + if (email.Contains("@")) { IsEmail = true; users = Dao.Get("users.findme", new Hashtable() { { "email", email } }).ToList(); - - if(users.Count() < 1) - { + + if (users.Count() < 1) { // user 테이블 검색 뒤 없을 경우 휴면테이블에서 검색 users = Dao.Get("users.findmes", new Hashtable() { { "email", email } }).ToList(); } } - - if (users.Count() != 1) - { + + if (users.Count() != 1) { //검색결과 2개 개정이라면 보내면 안됨..다른사람일 수도 return JsonOK(-1); } @@ -324,32 +269,25 @@ namespace NP.Base.Controllers var masteremail = GetConfig("masteremail"); String fronturl = GetConfig("fronturl"); - if (IsEmail && users.Count == 1) - { + if (IsEmail && users.Count == 1) { var MHtml = $"안녕하세요, {user.username}님,
    당신의 영남건설기술교육원 비밀번호를 재설정하기 위한 링크를 전달합니다.
    " + $"아래 링크를 클릭하셔서 비밀번호를 재설정해주세요.

    " + $"비밀번호 재설정

    이 링크는 24시간 뒤 만료됩니다."; var mailResult = SendEmail(masteremail.Split(';')[1], GetInt(masteremail.Split(';')[2]), masteremail.Split(';')[3], masteremail.Split(';')[4], 999, user.email, masteremail.Split(';')[0], "영남건설기술교육원 운영자", "[영남건설기술교육원] 비밀번호 찾기 안내", MHtml, "", "0:0"); return JsonOK(mailResult); - } - else - { + } else { return JsonOK(0); } - + } [HttpPost] - public JsonResult FindMeFinal(VMUser vm) - { - if (vm.userno > 0 && vm.pwcallno > 0 && !string.IsNullOrEmpty(vm.User.userpass) && vm.User.userpass.Trim() != "") - { - if (Dao.Save("users.resetuser", new Hashtable() { { "userpass", NP.Base.Lib.KISA_SHA256.SHA256Hash(vm.User.userpass) }, { "userno", vm.userno }, { "pwcallno", vm.pwcallno } }) == 1) - { + public JsonResult FindMeFinal(VMUser vm) { + if (vm.userno > 0 && vm.pwcallno > 0 && !string.IsNullOrEmpty(vm.User.userpass) && vm.User.userpass.Trim() != "") { + if (Dao.Save("users.resetuser", new Hashtable() { { "userpass", NP.Base.Lib.KISA_SHA256.SHA256Hash(vm.User.userpass) }, { "userno", vm.userno }, { "pwcallno", vm.pwcallno } }) == 1) { //자동로그인처리 var u = GoLogin(vm.User.userid, vm.User.userpass); - if (u != null) - { + if (u != null) { return JsonOK(1); } } @@ -357,104 +295,78 @@ namespace NP.Base.Controllers return JsonOK(0); } [HttpPost] - public JsonResult MyPageLeftMenu(String on) - { + public JsonResult MyPageLeftMenu(String on) { CookieSet("mypageleftmenutoggle", on); return JsonOK(1); } [HttpPost] - public JsonResult CRoomPageLeftMenu(String on) - { + public JsonResult CRoomPageLeftMenu(String on) { CookieSet("croompageleftmenutoggle", on); return JsonOK(1); } [HttpPost] - public JsonResult IsAuth() - { - if (SUserInfo.UserNo > 0) - { + public JsonResult IsAuth() { + if (SUserInfo.UserNo > 0) { return JsonOK(1); } return JsonOK(0); } [HttpPost] /// 반환값이 100일때 플레이바 및 다음페이지이동 허용 - public JsonResult PRGRS(Int64 lectno, Int64 cmino) - { - if (SUserInfo.UserNo > 0) - { - try - { + public JsonResult PRGRS(Int64 lectno, Int64 cmino) { + if (SUserInfo.UserNo > 0) { + try { return Json(Dao.Get("cr.getprogress", new Hashtable() { { "lectno", lectno }, { "cmino", cmino } }).First(), JsonRequestBehavior.AllowGet); - } - catch (Exception ex) - { + } catch (Exception ex) { Console.WriteLine(ex.Message); } } return Json(-1, JsonRequestBehavior.AllowGet); - } + } [HttpPost] - public JsonResult StudyLog(Int64 logno, Int64 lectno, Int64 cmino, int cpno, int studysec, int ispc, int nextcpno, int getiframe, int issample = 0, int psec = 0) - { - if (SUserInfo.UserNo > 0 || issample > 0) - { + public JsonResult StudyLog(Int64 logno, Int64 lectno, Int64 cmino, int cpno, int studysec, int ispc, int nextcpno, int getiframe, int issample = 0, int psec = 0) { + if (SUserInfo.UserNo > 0 || issample > 0) { int rtn = 0; - if (issample < 1) - { + if (issample < 1) { rtn = Dao.Save("cr.studylog", new Hashtable() { { "logno", logno }, { "lectno", lectno }, { "cmino", cmino },{ "userno",SUserInfo.UserNo}, {"psec", psec }, { "cpno", cpno }, { "studysec", studysec }, { "ispc", ispc }, {"uno", SUserInfo.UserNo },{"uip",GetUserIP() } }); } - if (nextcpno > 0) - { + if (nextcpno > 0) { String ua = ""; - try - { + try { ua = (Request.UserAgent ?? "").ToLower(); - } - catch (Exception ex) - { + } catch (Exception ex) { Logger.Error("ExamStart Get UserAgent Info Error" + ex.StackTrace); } var lip = new LectInningPage() { lectno = lectno, cmino = cmino, cpno = nextcpno, userno = SUserInfo.UserNo, uno = SUserInfo.UserNo, uip = GetUserIP(), ispc = ispc, webkitinfo = ua }; - if (issample < 1) - { + if (issample < 1) { Dao.Insert("cr.lectinningpage.in", lip); - if (lip.logno < 1 || getiframe == 0) - { + if (lip.logno < 1 || getiframe == 0) { return JsonOK(lip.logno); } } return JsonBack(new JsonRtn() { code = 1000, msg = Dao.Get("cr.ctpage.iframe", new Hashtable() { { "cpno", nextcpno }, { "src", ispc > 1 ? "srcp" : "srcm" } }).First(), obj = lip.logno }); } return JsonOK(rtn); - } - else - { + } else { return JsonOK(0); } } [HttpPost] - public JsonResult StudyClose(Int64 logno, int issample = 0) - { - if (SUserInfo.UserNo > 0 || issample > 0) - { + public JsonResult StudyClose(Int64 logno, int issample = 0) { + if (SUserInfo.UserNo > 0 || issample > 0) { int rtn = 0; - if (issample < 1) - { - rtn = Dao.Save("cr.studyclose", new Hashtable() { { "logno", logno }, {"uno", SUserInfo.UserNo },{"uip",GetUserIP() } }); + if (issample < 1) { + rtn = Dao.Save("cr.studyclose", new Hashtable() { { "logno", logno }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }); } return JsonOK(rtn); - } - else - { + } else { return JsonOK(0); } } [HttpPost] - public JsonResult checklectdate(Int64 lectno) - { + public JsonResult checklectdate(Int64 lectno) { Lect lect = Dao.Get("cr.checklectdate", new Hashtable() { { "lectno", lectno } }).First(); if (DateTime.Now <= lect.edate) //lect.수강종료일 이후 클릭시, 학습만 허용하나 로그는 쌓지 않음 return Json(new { result = 1 }); @@ -462,33 +374,23 @@ namespace NP.Base.Controllers return Json(new { result = -1 }); } [HttpPost] - public JsonResult StudyLogMid(Int64 lectno, Int64 cmino) - { - if (SUserInfo.UserNo > 0) - { + public JsonResult StudyLogMid(Int64 lectno, Int64 cmino) { + if (SUserInfo.UserNo > 0) { return JsonOK(Dao.Save("cr.studymid", new Hashtable() { { "lectno", lectno }, { "cmino", cmino } })); } return JsonOK(0); } [HttpPost] - public JsonResult CheckInningChange(Int64 lectno, Int64 cmino, bool ispre) - { - if (SUserInfo.UserNo > 0) - { + public JsonResult CheckInningChange(Int64 lectno, Int64 cmino, bool ispre) { + if (SUserInfo.UserNo > 0) { var cmi = Dao.Get("cr.inningchange." + (ispre ? "pre" : "next"), new Hashtable() { { "lectno", lectno }, { "cmino", cmino } }).FirstOrDefault(); - if (cmi == null) - { + if (cmi == null) { return JsonBack(new JsonRtn() { code = 1000, obj = -1 }); - } - else if (cmi.iseq > 1 && cmi.precmino > 0 && cmi.isseq == 1 && cmi.preistatus != 2) - { + } else if (cmi.iseq > 1 && cmi.precmino > 0 && cmi.isseq == 1 && cmi.preistatus != 2) { return JsonBack(new JsonRtn() { code = 1000, obj = -2 }); - } - else - { - var intval = Dao.Get("cr.lectinnings", new System.Collections.Hashtable() { /*{ "lectno", lectno }*/ { "userno",SUserInfo.UserNo}, { "isfinishtoday", 1 } }).Count(); - if (intval > Convert.ToInt32((GetConfig("inninglimit") ?? "10")) && cmi.istatus < 2) - { + } else { + var intval = Dao.Get("cr.lectinnings", new System.Collections.Hashtable() { /*{ "lectno", lectno }*/ { "userno", SUserInfo.UserNo }, { "isfinishtoday", 1 } }).Count(); + if (intval > Convert.ToInt32((GetConfig("inninglimit") ?? "10")) && cmi.istatus < 2) { return JsonBack(new JsonRtn() { code = 1000, obj = -3 }); } } @@ -497,22 +399,19 @@ namespace NP.Base.Controllers return JsonOK(0); } [HttpPost] - public JsonResult idchk(String id) - { + public JsonResult idchk(String id) { //이메일, 아이디 중복 체크 - var u129 = Dao.Get("users.usersbyuserids", new Hashtable() { { "userids", "'"+id+"'" },{"usertype",1} }); - if (u129.Count() > 0) - { + var u129 = Dao.Get("users.usersbyuserids", new Hashtable() { { "userids", "'" + id + "'" }, { "usertype", 1 } }); + if (u129.Count() > 0) { return JsonOK(-1); } return JsonOK(1); } [HttpPost] - public JsonResult GetSubCm(int cmno, int? studyplace = null) - { + public JsonResult GetSubCm(int cmno, int? studyplace = null) { //20220726 소스 정리 - Hashtable hsData = new Hashtable(); + Hashtable hsData = new Hashtable(); hsData.Add("cmno", cmno); hsData.Add("studyplace", studyplace); var result = Dao.Get("cm.subcms", hsData).Where(w => w.isuse == 1).ToList(); @@ -521,39 +420,33 @@ namespace NP.Base.Controllers } [HttpPost] - public JsonResult GetCmUser(int cmno) - { + public JsonResult GetCmUser(int cmno) { var comcodes = GetComCodes("typeman,typeedu,typegrade,typejob", true); var result = Dao.Get("cm.cmuser", new System.Collections.Hashtable() { { "cmno", cmno } }); - foreach (var r in result) - { + foreach (var r in result) { string[] typemanArr = r.typeman.Split(','); - for (int i = 0; i < typemanArr.Length; i++) - { + for (int i = 0; i < typemanArr.Length; i++) { r.typemans += comcodes.Where(x => x.cgroup == "typeman" && x.ccode == Convert.ToInt32(typemanArr[i])).FirstOrDefault().cname; - if (i < typemanArr.Length -1) + if (i < typemanArr.Length - 1) r.typemans += ","; } string[] typeeduArr = r.typeedu.Split(','); - for (int i = 0; i < typeeduArr.Length; i++) - { + for (int i = 0; i < typeeduArr.Length; i++) { r.typeedus += comcodes.Where(x => x.cgroup == "typeedu" && x.ccode == Convert.ToInt32(typeeduArr[i])).FirstOrDefault().cname; if (i < typeeduArr.Length - 1) r.typeedus += ","; } string[] typegradeArr = r.typegrade.Split(','); - for (int i = 0; i < typegradeArr.Length; i++) - { + for (int i = 0; i < typegradeArr.Length; i++) { r.typegrades += comcodes.Where(x => x.cgroup == "typegrade" && x.ccode == Convert.ToInt32(typegradeArr[i])).FirstOrDefault().cname; if (i < typegradeArr.Length - 1) r.typegrades += ","; } string[] typejobArr = r.typejob.Split(','); - for (int i = 0; i < typejobArr.Length; i++) - { + for (int i = 0; i < typejobArr.Length; i++) { r.typejobs += comcodes.Where(x => x.cgroup == "typejob" && x.ccode == Convert.ToInt32(typejobArr[i])).FirstOrDefault().cname; if (i < typejobArr.Length - 1) r.typejobs += ","; @@ -561,10 +454,9 @@ namespace NP.Base.Controllers } return JsonBack(result); } - + [HttpPost] - public JsonResult GetScdForMixEdu(int cmno,int? lectno, int? month, int? studyPlace) - { + public JsonResult GetScdForMixEdu(int cmno, int? lectno, int? month, int? studyPlace) { Hashtable hsData = new Hashtable(); hsData.Add("cmno", cmno); hsData.Add("lectno", lectno); @@ -573,8 +465,7 @@ namespace NP.Base.Controllers var result = Dao.Get("cm.cminningscds.applyedu" + (lectno != null ? ".lectno" : ""), hsData); IList result2 = new List(); - if (result.Count() > 0) - { + if (result.Count() > 0) { long cmino = result.First().cmino; result2 = Dao.Get("cm.cminningscds.attr2Check", new System.Collections.Hashtable() { { "cmno", cmno }, { "cmino", cmino } }); } @@ -586,16 +477,12 @@ namespace NP.Base.Controllers //var result = Dao.Get("cm.cminningscds.applyedu"+(lectno != null ? ".lectno" : ""), new System.Collections.Hashtable() { { "cmno", cmno },{"lectno",lectno }, { "month", (month == null) ? null : month } }); DateTime now = DateTime.Now; result = result.Where(c => c.estart > now.AddYears(-1) && c.estart < now.AddYears(1) && c.estart > now.AddDays(2)).ToList(); - foreach (var item in result) - { + foreach (var item in result) { //item.scdInfoSummary = string.Format("[{0}] {1}", item.studyplacename, item.estart.ToString("yyyy년 MM월 dd일 ddd요일 HH:mm")); //item.scdInfoSummary = string.Format("{0}", item.estart.ToString("yyyy년 MM월 dd일까지")); - if (resultTmp.cshape == 1) - { + if (resultTmp.cshape == 1) { item.scdInfoSummary = string.Format("{0} ~ {1}", item.estart.ToString("yyyy년 MM월 dd일"), item.eend.ToString("MM월 dd일")); - } - else - { + } else { //item.scdInfoSummary = string.Format("{0}", item.estart.ToString("yyyy년 MM월 dd일까지")); item.scdInfoSummary = string.Format("{0}", item.estart.ToString("yyyy년 MM월 dd일")); } @@ -603,8 +490,60 @@ namespace NP.Base.Controllers if (item.estart < Convert.ToDateTime(DateTime.Now.ToString("yyyy-MM-dd 00:00:00"))) item.isEnd = true; - if (result2.Count() > 0) - { + if (result2.Count() > 0) { + item.intv1 = result2.Where(c => c.cmino == item.cmino && c.cmisno == item.cmisno && c.intv1 == 2).Count(); + item.remainPeople += item.intv1; + } + } + + return JsonBack(result); + } + + /// + /// 마이페이지 > 교육일정변경 (2025-12-09 / KHJ / 강좌 시작일 기준으로 교육일정리스트 출력) + /// + /// + /// + /// + /// + /// + /// + [HttpPost] + public JsonResult GetMyScdForMixEdu(int cmno, int? lectno, int? month, int? studyPlace) { + Hashtable hsData = new Hashtable(); + hsData.Add("cmno", cmno); + hsData.Add("lectno", lectno); + hsData.Add("month", month); + hsData.Add("studyplace", studyPlace); + var result = Dao.Get("cm.cminningscds.applyedu" + (lectno != null ? ".lectno" : ""), hsData); + + IList result2 = new List(); + if (result.Count() > 0) { + long cmino = result.First().cmino; + result2 = Dao.Get("cm.cminningscds.attr2Check", new System.Collections.Hashtable() { { "cmno", cmno }, { "cmino", cmino } }); + } + + hsData.Clear(); + hsData.Add("cmno", cmno); + var resultTmp = Dao.Get("cm.cms", hsData).FirstOrDefault(); + + //var result = Dao.Get("cm.cminningscds.applyedu"+(lectno != null ? ".lectno" : ""), new System.Collections.Hashtable() { { "cmno", cmno },{"lectno",lectno }, { "month", (month == null) ? null : month } }); + DateTime now = (DateTime)resultTmp.rstime; + result = result.Where(c => c.estart > now.AddYears(-1) && c.estart < now.AddYears(1) && c.estart > now.AddDays(2)).ToList(); + foreach (var item in result) { + //item.scdInfoSummary = string.Format("[{0}] {1}", item.studyplacename, item.estart.ToString("yyyy년 MM월 dd일 ddd요일 HH:mm")); + //item.scdInfoSummary = string.Format("{0}", item.estart.ToString("yyyy년 MM월 dd일까지")); + if (resultTmp.cshape == 1) { + item.scdInfoSummary = string.Format("{0} ~ {1}", item.estart.ToString("yyyy년 MM월 dd일"), item.eend.ToString("MM월 dd일")); + } else { + //item.scdInfoSummary = string.Format("{0}", item.estart.ToString("yyyy년 MM월 dd일까지")); + item.scdInfoSummary = string.Format("{0}", item.estart.ToString("yyyy년 MM월 dd일")); + } + + if (item.estart < Convert.ToDateTime(DateTime.Now.ToString("yyyy-MM-dd 00:00:00"))) + item.isEnd = true; + + if (result2.Count() > 0) { item.intv1 = result2.Where(c => c.cmino == item.cmino && c.cmisno == item.cmisno && c.intv1 == 2).Count(); item.remainPeople += item.intv1; } @@ -614,22 +553,20 @@ namespace NP.Base.Controllers } [HttpPost] - public JsonResult GetCheckLectIsComplete(int cmno) - { - var result = Dao.Get("cm.lectcheckuser", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo },{ "cmno", cmno } }).First(); + public JsonResult GetCheckLectIsComplete(int cmno) { + var result = Dao.Get("cm.lectcheckuser", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo }, { "cmno", cmno } }).First(); return JsonBack(result); } [HttpPost] /// ### ty 교육신청제한 - public JsonResult GetCheckLectIs(string man, string cgcode, string edu, string grade, int cmno, int pcmno, string job1 = "") - { + public JsonResult GetCheckLectIs(string man, string cgcode, string edu, string grade, int cmno, int pcmno, string job1 = "") { //int result = 0; // 0 이면 수강 가능, 그외 수강 불가 //result = CheckUserLect(man, cgcode, edu, grade, cmno, pcmno, SUserInfo.UserNo); #region + // 2025-09 (스마트검색 개발 건 미사용으로 주석처리, 필요시 복원) var result = new KeyValuePair(); - result = CheckUserLectInfo(cmno, pcmno, SUserInfo.UserNo, man, cgcode, edu, grade, job1); + result = CheckUserLectInfo(cmno, pcmno, SUserInfo.UserNo, man, cgcode, edu, grade, job1); return JsonBack(result.Key); #endregion @@ -752,8 +689,7 @@ namespace NP.Base.Controllers /// 교육목적 /// 등급 /// Code (0:수강가능, -2,동일한과정 재신청 제약, -10:최초교육제약, -20:승급교육제약, -100:에러) , Message - public KeyValuePair CheckUserLectInfo(int cmno, int pcmno, long userno, string man, string cgcode, string edu, string grade, string job1 = "") - { + public KeyValuePair CheckUserLectInfo(int cmno, int pcmno, long userno, string man, string cgcode, string edu, string grade, string job1 = "") { var result = new KeyValuePair(0, "수강신청 가능"); #region + DB에서 코드 값 찾기 @@ -769,20 +705,17 @@ namespace NP.Base.Controllers // result (0:수강가능, 이 외 수강불가) - try - { + try { #region + (탈출) 1. 건설사업관리기술인 관련 제한 조건 (lectEnrolls 참조하지 않음, Request 값만...) // 조건: 건설사업관리기술인(28) + 초급/중급(36,37) + 역량강화(103,104) 은 신청불가 - if (edu == "31") - { + if (edu == "31") { bool isRestrictedContinueEdu = man == "28" && (grade == "36" || grade == "37") && (cgcode == "103" || cgcode == "104"); - if (isRestrictedContinueEdu) - { + if (isRestrictedContinueEdu) { return new KeyValuePair(-30, "계속교육 제약"); } } @@ -796,24 +729,20 @@ namespace NP.Base.Controllers #endregion // 회원의 이전 수강신청내역이 있다면 - if (lectEnrolls != null && lectEnrolls.Any()) - { + if (lectEnrolls != null && lectEnrolls.Any()) { #region + (탈출) 2. 동일한 과정은 1개만 수강 가능 (cm.cmno) - if (lectEnrolls.Any(l => l.cmno == cmno)) - { + if (lectEnrolls.Any(l => l.cmno == cmno)) { // -2는 동일 과정 중복 return new KeyValuePair(-2, "동일강좌 중복제약"); } #endregion #region + (탈출) 3. 교육목적 -> 기본교육(29) 관련 제한 조건 - if (edu == "29") - { + if (edu == "29") { // 기존 신청 내역 중 기본교육(29)이 있는지 확인 (기본교육은 1개만 신청가능) bool hasExistingBasicEdu = lectEnrolls.Any(l => l.TYPEEDU == 29); - if (hasExistingBasicEdu) - { + if (hasExistingBasicEdu) { return new KeyValuePair(-30, "기본교육 제약"); } } @@ -821,15 +750,13 @@ namespace NP.Base.Controllers #region + (탈출) 4. 교육목적 -> 최초교육(30) 관련 제한 조건 // - 최초교육(30)의 기술인분류(25,27,28)가 과정분류 역량강화(103,104)인 최초교육은 1개만 신청 가능. - if (edu == "30") - { + if (edu == "30") { // 1) 현재 신청하는 교육이 제한 대상인지 확인 bool isApplyingForRestrictedFirstEdu = (man == "25" || man == "27" || man == "28") && (cgcode == "103" || cgcode == "104"); - if (isApplyingForRestrictedFirstEdu) - { + if (isApplyingForRestrictedFirstEdu) { // 2) 이미 신청 내역 중에 제한 대상에 해당하는 최초교육이 있는지 확인 bool hasExistingRestrictedFirstEdu = lectEnrolls.Any(l => l.TYPEEDU == 30 @@ -838,8 +765,7 @@ namespace NP.Base.Controllers ); // 조건을 만족하는 기존 교육이 발견되면, 중복신청 막기 처리 - if (hasExistingRestrictedFirstEdu) - { + if (hasExistingRestrictedFirstEdu) { return new KeyValuePair(-10, "최초교육 제약"); } } @@ -877,17 +803,15 @@ namespace NP.Base.Controllers // 제약의 공통 전제조건: 고급(38) 또는 특급(39) 등급인 경우에만 적용 bool isAdvancedGrade = grade == "38" || grade == "39"; - if (isAdvancedGrade) - { + if (isAdvancedGrade) { // A: 동일 등급, 동일 직무분야 내에서 1개만 신청 가능 // ((설계시공 또는 건설사업관리) / (역량강화(103,104) 또는 전문분야(105))) bool isApplyingForGroupA = (man == "25" || man == "28") && (cgcode == "103" || cgcode == "104" || cgcode == "105"); - if (isApplyingForGroupA) - { + if (isApplyingForGroupA) { //설계시공기술인 bool hasExistingInGroupA25 = lectEnrolls.Any(l => l.TYPEEDU == 35 //승급교육 - && (l.TYPEGRADE.ToString() == grade) + && (l.TYPEGRADE.ToString() == grade) && l.TYPEJOB.ToString() == job1 && ( (l.TYPEMAN.ToString() == "25") @@ -895,8 +819,7 @@ namespace NP.Base.Controllers ) ); - if (hasExistingInGroupA25) - { + if (hasExistingInGroupA25) { return new KeyValuePair(-20, "승급교육 제약A"); } @@ -917,8 +840,7 @@ namespace NP.Base.Controllers } bool isApplyingForGroupA2 = (man == "25" || man == "28") && (cgcode == "105"); - if (isApplyingForGroupA2) - { + if (isApplyingForGroupA2) { bool hasExistingInGroupA2 = lectEnrolls.Any(l => l.TYPEEDU == 35 && l.TYPEGRADE.ToString() == grade @@ -929,15 +851,13 @@ namespace NP.Base.Controllers ) ); - if (hasExistingInGroupA2) - { + if (hasExistingInGroupA2) { return new KeyValuePair(-20, "승급교육 제약A"); } } bool isApplyingForGroupA3 = (man == "25" || man == "28") && (cgcode == "107"); - if (isApplyingForGroupA3) - { + if (isApplyingForGroupA3) { bool hasExistingInGroupA3 = lectEnrolls.Any(l => l.TYPEEDU == 35 && l.TYPEGRADE.ToString() == grade @@ -948,8 +868,7 @@ namespace NP.Base.Controllers ) ); - if (hasExistingInGroupA3) - { + if (hasExistingInGroupA3) { return new KeyValuePair(-20, "승급교육 제약A"); } } @@ -957,50 +876,45 @@ namespace NP.Base.Controllers // B: 동일 등급, 동일 직무분야 내에서 1개만 신청 가능 // ((설계시공/특성화) 또는 (건설사업관리/전문분야)) bool isApplyingForGroupB = (man == "25" && cgcode == "107") || (man == "28" && cgcode == "105"); - if (isApplyingForGroupB) - { + if (isApplyingForGroupB) { bool hasExistingInGroupB = lectEnrolls.Any(l => - l.TYPEEDU == 35 - && l.TYPEGRADE.ToString() == grade - && l.TYPEJOB.ToString() == job1 + l.TYPEEDU == 35 + && l.TYPEGRADE.ToString() == grade + && l.TYPEJOB.ToString() == job1 && ( - (l.TYPEMAN.ToString() == "25" && l.CGCODE == "107") + (l.TYPEMAN.ToString() == "25" && l.CGCODE == "107") || (l.TYPEMAN.ToString() == "28" && l.CGCODE == "105") ) ); - if (hasExistingInGroupB) - { - return new KeyValuePair(-20, "승급교육 제약B"); + if (hasExistingInGroupB) { + return new KeyValuePair(-20, "승급교육 제약B"); } } // C: 등급, 동일 직무분야 내에서 1개만 신청 가능 // ((설계시공/특성화) 또는 (건설사업관리/역량강화)) bool isApplyingForGroupC = (man == "25" && cgcode == "107") || (man == "28" && (cgcode == "103" || cgcode == "104")); - if (isApplyingForGroupC) - { + if (isApplyingForGroupC) { bool hasExistingInGroupC = lectEnrolls.Any(l => - l.TYPEEDU == 35 - && l.TYPEGRADE.ToString() == grade - && l.TYPEJOB.ToString() == job1 + l.TYPEEDU == 35 + && l.TYPEGRADE.ToString() == grade + && l.TYPEJOB.ToString() == job1 && ( - (l.TYPEMAN.ToString() == "25" && l.CGCODE == "107") + (l.TYPEMAN.ToString() == "25" && l.CGCODE == "107") || (l.TYPEMAN.ToString() == "28" && (l.CGCODE == "103" || l.CGCODE == "104")) ) ); - if (hasExistingInGroupC) - { + if (hasExistingInGroupC) { return new KeyValuePair(-20, "승급교육 제약C"); } } - + // D: 동일 등급, 동일 직무분야 내에서 1개만 신청 가능 // ((건설사업관리/건설기술인 전문교육)) bool isApplyingForGroupD = man == "28" && cgcode == "102"; - if (isApplyingForGroupD) - { + if (isApplyingForGroupD) { bool hasExistingInGroupD = lectEnrolls.Any(l => l.TYPEEDU == 35 && l.TYPEGRADE.ToString() == grade @@ -1008,8 +922,7 @@ namespace NP.Base.Controllers && (l.TYPEMAN.ToString() == "28" && l.CGCODE == "102") ); - if (hasExistingInGroupD) - { + if (hasExistingInGroupD) { return new KeyValuePair(-20, "승급교육 제약D"); } } @@ -1018,16 +931,12 @@ namespace NP.Base.Controllers #endregion - } - else - { + } else { // 이전에 수강 신청한 내역이 아무것도 없기에 제약조건을 걸 필요가 없음. result = new KeyValuePair(0, "이전에 아무것도 수강신청한 내역이 없음"); } - } - catch (Exception ex) - { + } catch (Exception ex) { SetError($"CheckUserLectInfo: {ex.Message}"); result = new KeyValuePair(-100, ex.Message); } @@ -1038,8 +947,7 @@ namespace NP.Base.Controllers #endregion - public int CheckUserLect(string man, string cgcode, string edu, string grade, int cmno, int pcmno, long userno) - { + public int CheckUserLect(string man, string cgcode, string edu, string grade, int cmno, int pcmno, long userno) { int result = 0; int rst = 0; @@ -1058,8 +966,7 @@ namespace NP.Base.Controllers edus = "30,31,35,107,108".Split(','); // 최초교육, 계속교육, 승급교육 // man == 28 : 건설사업관리기술인(typeman) - if (man == "28" && cgcodes.Contains(cgcode) && edus.Contains(edu)) - { + if (man == "28" && cgcodes.Contains(cgcode) && edus.Contains(edu)) { // 계속교육(31) if ((edu == "31" || edu == "107" || edu == "108") && (cgcode == "103" || cgcode == "104" || cgcode == "105") && (grade == "36" || grade == "37")) // 계속교육, (103 or 104 or 105), (초급 or 중급) { @@ -1083,9 +990,7 @@ namespace NP.Base.Controllers else if (edu == "35" && (cgcode == "103" || cgcode == "104") && (grade == "36" || grade == "37")) // 승급교육 , 103,104, 36:초급 ,37:중급 { rst = 0; // 신청가능 - } - else - { + } else { // 갯수를 가져오기 /* @@ -1107,38 +1012,31 @@ namespace NP.Base.Controllers // "lect.count.user3" > 103,104 // 최초교육(30) , (103,104), - if (edu == "30" && (cgcode == "103" || cgcode == "104")) - { + if (edu == "30" && (cgcode == "103" || cgcode == "104")) { var lectCount = Dao.Get("lect.count.user3", new Hashtable() { { "userno", userno }, { "cgcode", cgcode }, { "edu", edu }, { "grade", grade }, { "cmno", cmno }, { "pcmno", pcmno } }); rst = lectCount.First(); } // 승급교육(35), 38:고급 ,39:특급 - else if (edu == "35" && (grade == "38" || grade == "39")) - { + else if (edu == "35" && (grade == "38" || grade == "39")) { var lectCount = Dao.Get("lect.count.user2", new Hashtable() { { "userno", userno }, { "cmno", cmno }, { "pcmno", pcmno } }); rst = lectCount.First(); } } } - } - else - { + } else { // 29:기본교육 ,30:최초교육 ,31:계속교육 ,32:안전관리계속교육(16시간) ,33:PQ가점교육 ,34:기타교육 ,35:승급교육 // 36:초급 ,37:중급 ,38:고급 ,39:특급 cgcodes = "103,104,105".Split(','); edus = "30,31,35".Split(','); // 최초교육, 계속교육, 승급교육 // man == 28 : 건설사업관리기술인(typeman) - if (man == "28" && cgcodes.Contains(cgcode) && edus.Contains(edu)) - { + if (man == "28" && cgcodes.Contains(cgcode) && edus.Contains(edu)) { // 계속교육(31) if (edu == "31" && (cgcode == "103" || cgcode == "104") && (grade == "36" || grade == "37")) // 계속교육, (103 or 104), (초급 or 중급) { result = 1; // 신청불가 - } - else - { + } else { // 갯수를 가져오기 // 최초교육(30) if (edu == "30" && cgcode == "105") // 최초교육 , 105 @@ -1154,9 +1052,7 @@ namespace NP.Base.Controllers else if (edu == "35" && (cgcode == "103" || cgcode == "104" || cgcode == "105") && (grade == "36" || grade == "37")) // 승급교육, (103 or 104 or 105), (초급 or 중급) { rst = 0; // 신청가능 - } - else - { + } else { /* * 기본 설계 쿼리 select t5.typegrade, t5.typeman, t5.typeedu, t3.cgcode, t1.lectno, t1.userno @@ -1177,14 +1073,11 @@ namespace NP.Base.Controllers { var lectCount = Dao.Get("lect.count.user2", new Hashtable() { { "userno", userno }, { "cgcode", cgcode }, { "edu", edu }, { "grade", grade }, { "cmno", cmno }, { "pcmno", pcmno } }); rst = lectCount.First(); - } - else if ((cgcode == "103" || cgcode == "104") && edu == "30") // 최초 - { + } else if ((cgcode == "103" || cgcode == "104") && edu == "30") // 최초 + { var lectCount = Dao.Get("lect.count.user3", new Hashtable() { { "userno", userno }, { "cmno", cmno }, { "pcmno", pcmno } }); rst = lectCount.First(); - } - else - { + } else { var lectCount = Dao.Get("lect.count.user", new Hashtable() { { "userno", userno }, { "cgcode", cgcode }, { "edu", edu }, { "cmno", cmno }, { "pcmno", pcmno } }); rst = lectCount.First(); } @@ -1194,8 +1087,7 @@ namespace NP.Base.Controllers } } - if (result == 0) - { + if (result == 0) { //-1= 짧은 문구 result = rst == 0 ? 0 : ((rst > 0) ? 1 : -1); // } @@ -1205,30 +1097,26 @@ namespace NP.Base.Controllers } - public int CheckUserLectOld_backukp241007(string man, string cgcode, string edu, string grade, int cmno, int pcmno, long userno) - { + public int CheckUserLectOld_backukp241007(string man, string cgcode, string edu, string grade, int cmno, int pcmno, long userno) { int result = 0; int rst = 0; string[] cgcodes = new string[0]; string[] edus = new string[0]; - + // 29:기본교육 ,30:최초교육 ,31:계속교육 ,32:안전관리계속교육(16시간) ,33:PQ가점교육 ,34:기타교육 ,35:승급교육 // 36:초급 ,37:중급 ,38:고급 ,39:특급 cgcodes = "103,104,105".Split(','); edus = "30,31,35".Split(','); // 최초교육, 계속교육, 승급교육 // man == 28 : 건설사업관리기술인(typeman) - if (man == "28" && cgcodes.Contains(cgcode) && edus.Contains(edu)) - { + if (man == "28" && cgcodes.Contains(cgcode) && edus.Contains(edu)) { // 계속교육(31) if (edu == "31" && (cgcode == "103" || cgcode == "104") && (grade == "36" || grade == "37")) // 계속교육, (103 or 104), (초급 or 중급) { result = 1; // 신청불가 - } - else - { + } else { // 갯수를 가져오기 // 최초교육(30) if (edu == "30" && cgcode == "105") // 최초교육 , 105 @@ -1244,9 +1132,7 @@ namespace NP.Base.Controllers else if (edu == "35" && (cgcode == "103" || cgcode == "104" || cgcode == "105") && (grade == "36" || grade == "37")) // 승급교육, (103 or 104 or 105), (초급 or 중급) { rst = 0; // 신청가능 - } - else - { + } else { /* * 기본 설계 쿼리 select t5.typegrade, t5.typeman, t5.typeedu, t3.cgcode, t1.lectno, t1.userno @@ -1267,14 +1153,11 @@ namespace NP.Base.Controllers { var lectCount = Dao.Get("lect.count.user2", new Hashtable() { { "userno", userno }, { "cgcode", cgcode }, { "edu", edu }, { "grade", grade }, { "cmno", cmno }, { "pcmno", pcmno } }); rst = lectCount.First(); - } - else if ((cgcode == "103" || cgcode == "104") && edu == "30") // 최초 - { + } else if ((cgcode == "103" || cgcode == "104") && edu == "30") // 최초 + { var lectCount = Dao.Get("lect.count.user3", new Hashtable() { { "userno", userno }, { "cmno", cmno }, { "pcmno", pcmno } }); rst = lectCount.First(); - } - else - { + } else { var lectCount = Dao.Get("lect.count.user", new Hashtable() { { "userno", userno }, { "cgcode", cgcode }, { "edu", edu }, { "cmno", cmno }, { "pcmno", pcmno } }); rst = lectCount.First(); } @@ -1283,8 +1166,7 @@ namespace NP.Base.Controllers } } - if (result == 0) - { + if (result == 0) { //-1= 짧은 문구 result = rst == 0 ? 0 : ((rst > 0) ? 1 : -1); // } @@ -1302,10 +1184,9 @@ namespace NP.Base.Controllers /// /// /// - public JsonResult GetCheckLectIs_stay(string man, string cgcode, string edu, string grade, int cmno, int pcmno) - { + public JsonResult GetCheckLectIs_stay(string man, string cgcode, string edu, string grade, int cmno, int pcmno) { int result = 0; // 0 이면 수강 가능, 그외 수강 불가 - + return JsonBack(result); } @@ -1317,23 +1198,18 @@ namespace NP.Base.Controllers /// /// [HttpPost] - public JsonResult CheckQtyScd(int cmno, int cmino, int cmisno) - { - var pass = Dao.Get("cm.cminningscdcheck", new System.Collections.Hashtable() { { "cmisno", cmisno }}).First(); + public JsonResult CheckQtyScd(int cmno, int cmino, int cmisno) { + var pass = Dao.Get("cm.cminningscdcheck", new System.Collections.Hashtable() { { "cmisno", cmisno } }).First(); IList result2 = Dao.Get("cm.cminningscds.attr2Check", new System.Collections.Hashtable() { { "cmno", cmno }, { "cmino", cmino }, { "cmisno", cmisno } }); - if(result2.Count() > 0) - { + if (result2.Count() > 0) { int addPass = result2.Where(c => c.intv1 == 2).Count(); pass += addPass; } - if (pass == 0) - { + if (pass == 0) { return JsonBack(new JsonRtn() { code = 0, msg = "해당 일정은 모집 인원이 마감되었습니다." }); - } - else if (pass > 0) - { + } else if (pass > 0) { return JsonBack(new JsonRtn() { code = 1000, msg = "" }); } @@ -1347,16 +1223,14 @@ namespace NP.Base.Controllers /// /// [HttpPost] - public JsonResult UpdateScd(int cmno, int cmino, int cmisno, int lectno) - { + public JsonResult UpdateScd(int cmno, int cmino, int cmisno, int lectno) { var pass = Dao.Get("cm.cminningscdcheck", new System.Collections.Hashtable() { { "cmisno", cmisno } }).First(); IList result2 = new List(); result2 = Dao.Get("cm.cminningscds.attr2Check", new System.Collections.Hashtable() { { "cmno", cmno }, { "cmino", cmino } }); - if (result2.Count() > 0) - { + if (result2.Count() > 0) { int tempInt = result2.Where(c => c.cmino == cmino && c.cmisno == cmisno && c.intv1 == 2).Count(); pass += tempInt; } @@ -1364,38 +1238,29 @@ namespace NP.Base.Controllers if (pass == 0) return JsonBack(new JsonRtn() { code = 0, msg = "해당 일정은 모집 인원이 마감되었습니다." }); - else if (pass > 0) - { - Dao.Save("cm.lectcmisno.up" , new System.Collections.Hashtable() { { "cmisno", cmisno }, { "lectno", lectno }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }); + else if (pass > 0) { + Dao.Save("cm.lectcmisno.up", new System.Collections.Hashtable() { { "cmisno", cmisno }, { "lectno", lectno }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }); return JsonBack(new JsonRtn() { code = 1, msg = "일정을 변경하였습니다." }); } return JsonBack(new JsonRtn() { code = -1, msg = "개발자에게 문의하세요." }); } [HttpPost] - public JsonResult CheckExistSnsId(string snsid, int jointype) - { + public JsonResult CheckExistSnsId(string snsid, int jointype) { var result = Dao.Get("users.check.snsid", new Hashtable() { { "snsid", snsid }, { "jointype", jointype } }).Count(); - if (result > 0) - { + if (result > 0) { return JsonBack(new JsonRtn() { code = 1 }); - } - else - { + } else { return JsonBack(new JsonRtn() { code = -1 }); } } [HttpPost] - public JsonResult SnsLogin(String uid, bool isSns = false) - { - if (!string.IsNullOrEmpty(uid)) - { + public JsonResult SnsLogin(String uid, bool isSns = false) { + if (!string.IsNullOrEmpty(uid)) { var u = GoLogin(uid, "", isSns); - if (u != null) - { - if (u.userno < 0) - { + if (u != null) { + if (u.userno < 0) { return JsonBack(new JsonRtn() { code = 1000, obj = -1, msg = u.subdomain }); } return JsonOK(u.userno); @@ -1404,54 +1269,43 @@ namespace NP.Base.Controllers return JsonOK(0); } [HttpPost] - public JsonResult SnsLink(String snsid, int jointype = 0) - { - try - { + public JsonResult SnsLink(String snsid, int jointype = 0) { + try { if (string.IsNullOrEmpty(snsid) && jointype == 0) //SNS 연동을 해제 { Dao.Save("users.snslink.up", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo }, { "snsid", snsid }, { "jointype", jointype }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }); return JsonBack(new JsonRtn() { code = 1 }); - } - else //SNS 연동 - { + } else //SNS 연동 + { var result = Dao.Get("users.check.snsid", new Hashtable() { { "snsid", snsid }, { "jointype", jointype } }).Count(); if (result > 0) //SNS 연동 중복체크 { return JsonBack(new JsonRtn() { code = -99 }); - } - else - { + } else { Dao.Save("users.snslink.up", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo }, { "snsid", snsid }, { "jointype", jointype }, { "uno", SUserInfo.UserNo }, { "uip", GetUserIP() } }); return JsonBack(new JsonRtn() { code = 1 }); } } - } - catch (Exception e) - { + } catch (Exception e) { return JsonBack(new JsonRtn() { code = -1 }); } } [HttpPost] - public JsonResult SendLakey(Int64 lectno, String mobile) - { + public JsonResult SendLakey(Int64 lectno, String mobile) { Random r = new Random(); int lakey = r.Next(100000, 999999); - SmsAuth sa = new SmsAuth() { lakey = lakey.ToString(),lectno=lectno }; + SmsAuth sa = new SmsAuth() { lakey = lakey.ToString(), lectno = lectno }; String msg = "[영남건설기술교육원]\n\n영남건설기술교육원 인증번호 [" + lakey + "] 입니다."; var users = Dao.Get("users.findme", new Hashtable() { { "mobile", mobile } }).ToList(); - if(users.Count() == 0) - { + if (users.Count() == 0) { return JsonBack(new JsonRtn() { code = -2 }); } - if(users.Count() != 1) - { + if (users.Count() != 1) { return JsonBack(new JsonRtn() { code = -1 }); } Dao.Insert("common.smsauth", sa); IList us = new List(); - us.Add(new MemoUser() - { + us.Add(new MemoUser() { userno = SUserInfo.UserNo, mobile = mobile, title = "인증번호", @@ -1464,47 +1318,33 @@ namespace NP.Base.Controllers return JsonOK(sa.authno); } [HttpPost] - public JsonResult ExtendLakey(int authno) - { + public JsonResult ExtendLakey(int authno) { return JsonOK(Dao.Save("common.sms.extend", new Hashtable() { { "authno", authno } })); } [HttpPost] - public JsonResult ChkLakey(String lakey, int authno) - { + public JsonResult ChkLakey(String lakey, int authno) { IList datas = Dao.Get("common.sms.chk", new Hashtable() { { "authno", authno } }); - if (datas.Count() < 1) - { + if (datas.Count() < 1) { return JsonOK(0); - } - else if (datas.Where(w => w.strval.Replace(" ", "").Equals(lakey.Replace(" ", "")) && w.time.AddMinutes(3) < DateTime.Now).Count() > 0) - { + } else if (datas.Where(w => w.strval.Replace(" ", "").Equals(lakey.Replace(" ", "")) && w.time.AddMinutes(3) < DateTime.Now).Count() > 0) { return JsonBack(new JsonRtn() { code = 1 }); - } - else if (datas.Where(w => w.strval.Replace(" ", "").Equals(lakey.Replace(" ", "")) && w.time.AddMinutes(3) >= DateTime.Now).Count() > 0) - { - Dao.Save("lect.isatt.in", new System.Collections.Hashtable() { { "lectno", datas.FirstOrDefault().intval2 }, { "lakey", datas.FirstOrDefault().strval } }); - return JsonBack(new JsonRtn() { code = 1000, obj = datas.First() }); + } else if (datas.Where(w => w.strval.Replace(" ", "").Equals(lakey.Replace(" ", "")) && w.time.AddMinutes(3) >= DateTime.Now).Count() > 0) { + Dao.Save("lect.isatt.in", new System.Collections.Hashtable() { { "lectno", datas.FirstOrDefault().intval2 }, { "lakey", datas.FirstOrDefault().strval } }); + return JsonBack(new JsonRtn() { code = 1000, obj = datas.First() }); } return JsonOK(0); } [HttpPost] - public JsonResult ChkLakeyForLectinning(String lakey, int authno, long cmino) - { + public JsonResult ChkLakeyForLectinning(String lakey, int authno, long cmino) { IList datas = Dao.Get("common.sms.chk", new Hashtable() { { "authno", authno } }); - if (datas.Count() < 1) - { + if (datas.Count() < 1) { return JsonOK(0); - } - else if (datas.Where(w => w.strval.Replace(" ", "").Equals(lakey.Replace(" ", "")) && w.time.AddMinutes(3) < DateTime.Now).Count() > 0) - { + } else if (datas.Where(w => w.strval.Replace(" ", "").Equals(lakey.Replace(" ", "")) && w.time.AddMinutes(3) < DateTime.Now).Count() > 0) { return JsonBack(new JsonRtn() { code = 1 }); - } - else if (datas.Where(w => w.strval.Replace(" ", "").Equals(lakey.Replace(" ", "")) && w.time.AddMinutes(3) >= DateTime.Now).Count() > 0) - { + } else if (datas.Where(w => w.strval.Replace(" ", "").Equals(lakey.Replace(" ", "")) && w.time.AddMinutes(3) >= DateTime.Now).Count() > 0) { var lectno = datas.FirstOrDefault().intval2; var lectInnings = Dao.Get("cr.cminnings", new System.Collections.Hashtable() { { "lectno", lectno }, { "userno", SUserInfo.UserNo } }); - if (lectInnings.Where(w => w.cmino == cmino).Count() > 0) - { + if (lectInnings.Where(w => w.cmino == cmino).Count() > 0) { var Hashtable = new System.Collections.Hashtable() { { "lectno", lectno }, { "cmino", cmino }, @@ -1515,31 +1355,27 @@ namespace NP.Base.Controllers }; Dao.Save("lect.lectinning.isatt.in", Hashtable); return JsonBack(new JsonRtn() { code = 1000, obj = datas.First() }); - } + } } return JsonOK(0); - } + } [HttpPost] - public JsonResult PageLearningTotalTime(Int64 lectno, Int64 cmino, int cpno) - { - if (SUserInfo.UserNo > 0) - { + public JsonResult PageLearningTotalTime(Int64 lectno, Int64 cmino, int cpno) { + if (SUserInfo.UserNo > 0) { var totstudy = Dao.Get("cr.lectinningpage.totstudy", new Hashtable() { { "lectno", lectno }, { "cmino", cmino }, { "cpno", cpno } }).First(); return JsonOK(totstudy, true); } return JsonOK(0); } - public JsonResult GetOkCert3Rslt(string stringval) - { + public JsonResult GetOkCert3Rslt(string stringval) { stringval = string.IsNullOrWhiteSpace(stringval) ? "" : stringval.Trim(); //string result = "NoCert"; // 초기값 OkCert3Result result = new OkCert3Result(); result.rsltCd = "NoCert"; - if (!string.IsNullOrWhiteSpace(stringval)) - { + if (!string.IsNullOrWhiteSpace(stringval)) { stringval = HttpUtility.UrlDecode(stringval); string decStr = DecString(stringval); string tempStr = ""; @@ -1562,15 +1398,11 @@ namespace NP.Base.Controllers result.mobile = data["TEL_NO"] == null ? "" : data["TEL_NO"].ToString(); result.vssn = data["VSSN"] == null ? "" : data["VSSN"].ToString(); - if (!string.IsNullOrWhiteSpace(result.mobile)) - { + if (!string.IsNullOrWhiteSpace(result.mobile)) { tempStr = result.mobile.Trim(); - if (tempStr.Length == 10) - { + if (tempStr.Length == 10) { result.mobile = tempStr.Substring(0, 3) + "-" + tempStr.Substring(3, 3) + "-" + tempStr.Substring(6, 4); - } - else if(tempStr.Length == 11) - { + } else if (tempStr.Length == 11) { result.mobile = tempStr.Substring(0, 3) + "-" + tempStr.Substring(3, 4) + "-" + tempStr.Substring(7, 4); } // 10,11 개 아닐 경우 그대로 표현 @@ -1588,28 +1420,23 @@ namespace NP.Base.Controllers /// [HttpPost] [ValidateAntiForgeryToken] - public JsonResult UserChangePassword(string userid, string password) - { - try - { + public JsonResult UserChangePassword(string userid, string password) { + try { #region + 유효성 검사 (실패 시 즉시 반환) // 1. 빈 문자열 확인 - if (string.IsNullOrEmpty(userid) || string.IsNullOrEmpty(password)) - { + if (string.IsNullOrEmpty(userid) || string.IsNullOrEmpty(password)) { return Json(new { success = false, message = "아이디 또는 비밀번호를 입력해주세요.", data = -1 }); } // 2. 비밀번호 복잡도 검사 (8자 이상, 영문, 숫자, 특수문자 포함) var passwordRegex = new Regex("^(?=.*[a-zA-Z])(?=.*\\d)(?=.*[\\W_]).{8,}$"); - if (!passwordRegex.IsMatch(password)) - { + if (!passwordRegex.IsMatch(password)) { return Json(new { success = false, message = "비밀번호는 8자 이상이며, 영문, 숫자, 특수문자를 포함해야 합니다.", data = -2 }); } // 3. 3번 이상 연속되는 동일한 문자/숫자/기호 검사 var repeatRegex = new Regex("(.)\\1\\1"); - if (repeatRegex.IsMatch(password)) - { + if (repeatRegex.IsMatch(password)) { return Json(new { success = false, message = "연속으로 3번 이상 반복되는 문자를 사용할 수 없습니다.", data = -3 }); } #endregion @@ -1617,7 +1444,7 @@ namespace NP.Base.Controllers // 모든 유효성 검사를 통과한 경우 진행 var p = new Hashtable(); long userNo = -1; - + #region + Get: users.findme // userno 추출을 위한 목적 p.Clear(); @@ -1630,23 +1457,20 @@ namespace NP.Base.Controllers #endregion #region + Save: users.change.password (비밀번호 재설정) - if (userNo > 0) - { + if (userNo > 0) { p.Clear(); p.Add("userid", userid); p.Add("userpass", Base.Lib.KISA_SHA256.SHA256Hash(password)); p.Add("userno", userNo); p.Add("uip", GetUserIP()); - Dao.Save("users.change.password", p); + Dao.Save("users.change.password", p); } #endregion return Json(new { success = true, message = "비밀번호가 성공적으로 변경되었습니다.", data = 0 }); - - } - catch (Exception ex) - { + + } catch (Exception ex) { SetError($"UserChangePassword: {ex.Message}"); return Json(new { success = false, message = "처리 중 오류가 발생했습니다. 다시 시도해주세요.", data = -10 }); } diff --git a/Base/bin/Debug/NP.Base.dll b/Base/bin/Debug/NP.Base.dll index cbe0e37..af75151 100644 Binary files a/Base/bin/Debug/NP.Base.dll and b/Base/bin/Debug/NP.Base.dll differ diff --git a/Base/bin/Debug/NP.Base.pdb b/Base/bin/Debug/NP.Base.pdb index 2a801e6..d9a4c4c 100644 Binary files a/Base/bin/Debug/NP.Base.pdb and b/Base/bin/Debug/NP.Base.pdb differ diff --git a/Base/obj/Debug/Base.csproj.AssemblyReference.cache b/Base/obj/Debug/Base.csproj.AssemblyReference.cache index 712d138..82b20f3 100644 Binary files a/Base/obj/Debug/Base.csproj.AssemblyReference.cache and b/Base/obj/Debug/Base.csproj.AssemblyReference.cache differ diff --git a/Base/obj/Debug/NP.Base.dll b/Base/obj/Debug/NP.Base.dll index cbe0e37..af75151 100644 Binary files a/Base/obj/Debug/NP.Base.dll and b/Base/obj/Debug/NP.Base.dll differ diff --git a/Base/obj/Debug/NP.Base.pdb b/Base/obj/Debug/NP.Base.pdb index 2a801e6..d9a4c4c 100644 Binary files a/Base/obj/Debug/NP.Base.pdb and b/Base/obj/Debug/NP.Base.pdb differ diff --git a/Dao/obj/Debug/Dao.csproj.AssemblyReference.cache b/Dao/obj/Debug/Dao.csproj.AssemblyReference.cache index bac2ab7..f5e894a 100644 Binary files a/Dao/obj/Debug/Dao.csproj.AssemblyReference.cache and b/Dao/obj/Debug/Dao.csproj.AssemblyReference.cache differ diff --git a/FO/Views/Course/ApplyAgree.cshtml b/FO/Views/Course/ApplyAgree.cshtml index fc82f9b..f8cfd46 100644 --- a/FO/Views/Course/ApplyAgree.cshtml +++ b/FO/Views/Course/ApplyAgree.cshtml @@ -1,269 +1,236 @@ @model NP.Model.VMCourse @{ - var isallday = Model.CM.retimeymd == "2099-12-31" ? true : false; + var isallday = Model.CM.retimeymd == "2099-12-31" ? true : false; }
    - @*강좌번호*@ - @*법정교육/기타교육*@ - @*교육유형*@ - @*기술인분류*@ - @*교육목적*@ - @*등급*@ - @*직무분야*@ - @*전문분야*@ - @*pplno*@ - @*교육일정선택(selMonth)*@ - @*업체/개인 선택*@ - - - - -

    신청강좌

    -
      -
    • -
        -
      • -

        - - @(Model.CM.cshape == 0 ? "온라인" : Model.CM.cshape == 1 ? "교육장교육" : "온라인교육") - - @{ - string strStudyPlaceTmp = ""; - string strStudyPlaceTmp2 = ""; - string strEduInfo = ""; - if (Model.SelectCMInningscd.studyplace != null) - { - strStudyPlaceTmp = Model.SelectCMInningscd.studyplacename + "교육장"; - strStudyPlaceTmp2 = Model.CM.cname; - } - else - { - strStudyPlaceTmp = Model.CM.cname; - } - if (Model.CM.cshape == 1) - { + @*강좌번호*@ + @*법정교육/기타교육*@ + @*교육유형*@ + @*기술인분류*@ + @*교육목적*@ + @*등급*@ + @*직무분야*@ + @*전문분야*@ + @*pplno*@ + @*교육일정선택(selMonth)*@ + @*업체/개인 선택*@ + + + + +

        신청강좌

        +
          +
        • +
            +
          • +

            + + @(Model.CM.cshape == 0 ? "온라인" : Model.CM.cshape == 1 ? "교육장교육" : "온라인교육") + + @{ + string strStudyPlaceTmp = ""; + string strStudyPlaceTmp2 = ""; + string strEduInfo = ""; + if (Model.SelectCMInningscd.studyplace != null) { + strStudyPlaceTmp = Model.SelectCMInningscd.studyplacename + "교육장"; + strStudyPlaceTmp2 = Model.CM.cname; + } else { + strStudyPlaceTmp = Model.CM.cname; + } + if (Model.CM.cshape == 1) { - strEduInfo = string.Format("교육기간 {0} | {2}시간과정 | {3}과정
            교육비 : {4}원", - Model.SelectCMInningscd.scdInfoSummary, Model.SelectCMInningscd.eend2, Model.CM.studytime, (Model.CM.isrefund == 1 ? "환급" : "비환급"), Model.CM.infee.ToString("#,0")); - } - else - { - strEduInfo += string.Format("교육기간 {0} |", Model.SelectCMInningscd.scdInfoSummary); - strEduInfo += string.Format(" 교육종료일 {0} | ", Model.SelectCMInningscd.eend2); - strEduInfo += string.Format("{0}시간과정 |", Model.CM.studytime); - strEduInfo += string.Format(" {0}과정
            ", (Model.CM.isrefund == 1 ? "환급" : "비환급")); + strEduInfo = string.Format("교육기간 {0} | {2}시간과정 | {3}과정
            교육비 : {4}원", + Model.SelectCMInningscd.scdInfoSummary, Model.SelectCMInningscd.eend2, Model.CM.studytime, (Model.CM.isrefund == 1 ? "환급" : "비환급"), Model.CM.infee.ToString("#,0")); + } else { + strEduInfo += string.Format("교육기간 {0} |", Model.SelectCMInningscd.scdInfoSummary); + strEduInfo += string.Format(" 교육종료일 {0} | ", Model.SelectCMInningscd.eend2); + strEduInfo += string.Format("{0}시간과정 |", Model.CM.studytime); + strEduInfo += string.Format(" {0}과정
            ", (Model.CM.isrefund == 1 ? "환급" : "비환급")); - if (Model.CM.typeedu != "32") - { - strEduInfo += string.Format("집체교육 참석일 : {0}
            ", Model.SelectCMInningscd.estart.ToString("yyyy년 MM월 dd일")); - } + if (Model.CM.typeedu != "32") { + strEduInfo += string.Format("집체교육 참석일 : {0}
            ", Model.SelectCMInningscd.estart.ToString("yyyy년 MM월 dd일")); + } - strEduInfo += string.Format("교육비 : {0}원", Model.CM.infee.ToString("#,0")); - } - } + strEduInfo += string.Format("교육비 : {0}원", Model.CM.infee.ToString("#,0")); + } + } - @if (Model.SelectCMInningscd.studyplace == null) - { -
            - } - else if (Model.SelectCMInningscd.studyplace != null) - { -
            - } - -

            -
          • -
          -
          - @if (Model.PPLog.isaccommodation != 1) - { - 결제금액:@Model.CM.infee.ToString("#,0") - } - else - { - 결제금액:@((Model.CM.infee + Model.CM.accommofee).ToString("#,0"))원 (합숙 : @(Model.CM.accommofee.ToString("#,0"))원 포함) - } -
          -
        • -
        - @if (Model.CM.isaccommodation == 1) - { -

        합숙여부

        -

        - @(Model.PPLog.isaccommodation == 1 ? string.Format("합숙 ({0}원 추가)",Model.CM.accommofee.ToString("#,0")) : "비합숙") -

        - } - @if (Model.stringval == "0") - { -

        신청내용 (필수확인)

        - if (Model.CM.cshape == 2) - { -

        교육종료일 : @(Model.PPLog.eendymd)까지

        - } - - - - @if (!string.IsNullOrEmpty(Model.stringval3)) - { - - } - @if (!string.IsNullOrEmpty(Model.stringval4)) - { - - } - @if (!string.IsNullOrEmpty(Model.stringval5)) - { - - } - @if (!string.IsNullOrEmpty(Model.stringval6)) - { - - } - @if (!string.IsNullOrEmpty(Model.stringval7)) - { - - } - - - - @if (!string.IsNullOrEmpty(Model.stringval3)) - { - - } - @if (!string.IsNullOrEmpty(Model.stringval4)) - { - - } - @if (!string.IsNullOrEmpty(Model.stringval5)) - { - - } - @if (!string.IsNullOrEmpty(Model.stringval6)) - { - - } - @if (!string.IsNullOrEmpty(Model.stringval7)) - { - - } - -
        교육유형기술인분류교육목적등급직무분야전문분야
        @(Model.stringval2 == "0" ? "온라인교육" : Model.stringval2 == "1" ? "교육장교육" : "온라인교육")@Model.ComCodes2.Where(w => w.cgroup.ToString() == "typeman" && w.ccode == int.Parse(Model.stringval3)).First().cname@Model.ComCodes3.Where(w => w.cgroup.ToString() == "typeedu" && w.ccode == int.Parse(Model.stringval4)).First().cname@Model.ComCodes4.Where(w => w.cgroup.ToString() == "typegrade" && w.ccode == int.Parse(Model.stringval5)).First().cname@Model.ComCodes.Where(w => w.cgroup.ToString() == "typejob" && w.ccode == int.Parse(Model.stringval6)).First().cname@Model.ComCodes.Where(w => w.ccode == int.Parse(Model.stringval7)).First().cname
        - } -

        - -
        - ※ 반드시 확인하세요
        - - 실제 이수해야 할 내용과 신청내용이 다른 경우 교육인정 및 수정이 불가능 하오니 정확하게 확인 해주세요.
        - - 상기 신청내용의 등급이 직무분야의 등급으로 맞게 기재되어 있는지 확인해주세요.(전문분야 등급 아님)
        - - 건설사업관리기술인은 감리업무를 수행하는 기술인을 말합니다.
        - - 승급교육일 경우 등급은 승급 후 등급이 기재되어야 하며 승급대상 여부 등을 반드시 협회로 확인 해주세요.
        - - 승급교육 또는 계속교육을 인정받으려면 기본교육 및 최초교육을 먼저 이수하여야 합니다.
        - - 모든 최초,승급,계속 교육 등은 직무분야 교육이며 전문분야 관련으로 따로 이수하여야 할 교육은 없습니다. -
        -

        + @if (Model.SelectCMInningscd.studyplace == null) { +
        + } else if (Model.SelectCMInningscd.studyplace != null) { +
        + } + +

        +
      • +
      +
      + @if (Model.PPLog.isaccommodation != 1) { + 결제금액:@Model.CM.infee.ToString("#,0") + } else { + 결제금액:@((Model.CM.infee + Model.CM.accommofee).ToString("#,0"))원 (합숙 : @(Model.CM.accommofee.ToString("#,0"))원 포함) + } +
      +
    • +
    + @if (Model.CM.isaccommodation == 1) { +

    합숙여부

    +

    + @(Model.PPLog.isaccommodation == 1 ? string.Format("합숙 ({0}원 추가)",Model.CM.accommofee.ToString("#,0")) : "비합숙") +

    + } + @if (Model.stringval == "0") { +

    신청내용 (필수확인)

    + if (Model.CM.cshape == 2) { +

    교육종료일 : @(Model.PPLog.eendymd)까지

    + } + + + + @if (!string.IsNullOrEmpty(Model.stringval3)) { + + } + @if (!string.IsNullOrEmpty(Model.stringval4)) { + + } + @if (!string.IsNullOrEmpty(Model.stringval5)) { + + } + @if (!string.IsNullOrEmpty(Model.stringval6)) { + + } + @if (!string.IsNullOrEmpty(Model.stringval7)) { + + } + + + + @if (!string.IsNullOrEmpty(Model.stringval3)) { + + } + @if (!string.IsNullOrEmpty(Model.stringval4)) { + + } + @if (!string.IsNullOrEmpty(Model.stringval5)) { + + } + @if (!string.IsNullOrEmpty(Model.stringval6)) { + + } + @if (!string.IsNullOrEmpty(Model.stringval7)) { + + } + +
    교육유형기술인분류교육목적등급직무분야전문분야
    @(Model.stringval2 == "0" ? "온라인교육" : Model.stringval2 == "1" ? "교육장교육" : "온라인교육")@Model.ComCodes2.Where(w => w.cgroup.ToString() == "typeman" && w.ccode == int.Parse(Model.stringval3)).First().cname@Model.ComCodes3.Where(w => w.cgroup.ToString() == "typeedu" && w.ccode == int.Parse(Model.stringval4)).First().cname@Model.ComCodes4.Where(w => w.cgroup.ToString() == "typegrade" && w.ccode == int.Parse(Model.stringval5)).First().cname@Model.ComCodes.Where(w => w.cgroup.ToString() == "typejob" && w.ccode == int.Parse(Model.stringval6)).First().cname@Model.ComCodes.Where(w => w.ccode == int.Parse(Model.stringval7)).First().cname
    + } +

    + +
    + ※ 반드시 확인하세요
    + - 실제 이수해야 할 내용과 신청내용이 다른 경우 교육인정 및 수정이 불가능 하오니 정확하게 확인 해주세요.
    + - 상기 신청내용의 등급이 직무분야의 등급으로 맞게 기재되어 있는지 확인해주세요.(전문분야 등급 아님)
    + - 건설사업관리기술인은 감리업무를 수행하는 기술인을 말합니다.
    + - 승급교육일 경우 등급은 승급 후 등급이 기재되어야 하며 승급대상 여부 등을 반드시 협회로 확인 해주세요.
    + - 승급교육 또는 계속교육을 인정받으려면 기본교육 및 최초교육을 먼저 이수하여야 합니다.
    + - 모든 최초,승급,계속 교육 등은 직무분야 교육이며 전문분야 관련으로 따로 이수하여야 할 교육은 없습니다. +
    +

    - @if (Model.CM.cshape == 1) - { - if (Model.CM != null && Model.CM.isrefund == 1) - { // 환급과정일때만 환급 주의사항 보임 -

    환급과정 신청 시 환급대상자 필수확인사항

    -

    - - 입교 전 출결관리를 위해 어플 설치 및 로그인(고용노동부 HRD-NET 및 출결관리 어플), 위탁계약서(회사 직인 필수) 지참
    - - 교육비 입금 시 신용카드는 반드시 법인카드로만 결제, 무통장 입금은 입금자명을 회사상호+교육생 형식으로 작성
    - 예) 현대건설 이지은인 경우 → 현대이지은 으로 작성
    - ※ 출결관리 어플 설치 방법은 홈페이지 자료실에 있는 설치가이드를 참고 부탁드립니다. -

    - } + @if (Model.CM.cshape == 1) { + if (Model.CM != null && Model.CM.isrefund == 1) { // 환급과정일때만 환급 주의사항 보임 +

    환급과정 신청 시 환급대상자 필수확인사항

    +

    + - 입교 전 출결관리를 위해 어플 설치 및 로그인(고용노동부 HRD-NET 및 출결관리 어플), 위탁계약서(회사 직인 필수) 지참
    + - 교육비 입금 시 신용카드는 반드시 법인카드로만 결제, 무통장 입금은 입금자명을 회사상호+교육생 형식으로 작성
    + 예) 현대건설 이지은인 경우 → 현대이지은 으로 작성
    + ※ 출결관리 어플 설치 방법은 홈페이지 자료실에 있는 설치가이드를 참고 부탁드립니다. +

    + } -

    - 교육시행 여부 관련 안내 -

    -

    - 신청하신 교육기간에 접수인원이 적은 경우 해당 기간의 교육은 폐강되어 다른 일정으로 변경 하셔야 될 수도 있습니다. 꼭! 참고 부탁 드립니다. -

    - } - else - { -

    교육수료조건

    - if (Model.stringval4 == "32") - { -

    - 1. 동영상강의 진도율 90% 이상
    - 2. 과제물 제출(표지 제외 A4용지 2장 이상 분량)
    - 3. 시험평가 60점 이상 득점@*(집체교육 당일 평가 응시)*@

    +

    + 교육시행 여부 관련 안내 +

    +

    + 신청하신 교육기간에 접수인원이 적은 경우 해당 기간의 교육은 폐강되어 다른 일정으로 변경 하셔야 될 수도 있습니다. 꼭! 참고 부탁 드립니다. +

    + } else { +

    교육수료조건

    + if (Model.stringval4 == "32" || Model.stringval4 == "108") { +

    + 1. 동영상강의 진도율 90% 이상
    + 2. 과제물 제출(표지 제외 A4용지 2장 이상 분량)
    + 3. 시험평가 60점 이상 득점@*(집체교육 당일 평가 응시)*@

    - ※ 위 3가지 조건 모두 만족하셔야 수료가 가능합니다.
    -

    - } - else - { -

    - 1. 동영상강의 진도율 90% 이상
    - 2. 과제물 제출(표지 제외 A4용지 2장 이상 분량)
    - 3. 시험평가 60점 이상 득점
    - 4. 집체교육7시간 참석

    + ※ 위 3가지 조건 모두 만족하셔야 수료가 가능합니다.
    +

    + } else { +

    + 1. 동영상강의 진도율 90% 이상
    + 2. 과제물 제출(표지 제외 A4용지 2장 이상 분량)
    + 3. 시험평가 60점 이상 득점
    + 4. 집체교육7시간 참석

    - ※ 위 4가지 조건 모두 만족하셔야 수료가 가능합니다.
    -

    + ※ 위 4가지 조건 모두 만족하셔야 수료가 가능합니다.
    +

    -

    집체교육 참석조건

    -

    - 1. 동영상강의 진도율 90%이상
    - 2. 과제물 제출(표지 제외A4용지 2장 이상 분량)
    - - ※ 위 2가지 조건 모두 만족하셔야 집체교육 참석이 가능합니다.(조건 미달시 집체교육 참석 불가) - -

    - } +

    집체교육 참석조건

    +

    + 1. 동영상강의 진도율 90%이상
    + 2. 과제물 제출(표지 제외A4용지 2장 이상 분량)
    + + ※ 위 2가지 조건 모두 만족하셔야 집체교육 참석이 가능합니다.(조건 미달시 집체교육 참석 불가) + +

    + } -

    교육수강기한

    -

    - 온라인교육은 신청일로 부터 최대 1년 이내에 수료하셔야 하며 1년 이내에 교육수료가 되지 않으면 수료 및 환불이 불가능합니다. -

    +

    교육수강기한

    +

    + 온라인교육은 신청일로 부터 최대 1년 이내에 수료하셔야 하며 1년 이내에 교육수료가 되지 않으면 수료 및 환불이 불가능합니다. +

    + @*@Model.CM.typeedu*@ + + if (Model.CM.typeedu != "32") { +

    집체교육(7시간)일정 관련 안내

    +

    + 교육 신청 시 지정하신 집체교육일에 접수인원이 적은 경우 해당 일자의 집체교육은 폐강되어 다른 일정으로 변경 하셔야 될 수도 있습니다. 꼭! 참고 부탁 드립니다. +

    + } + } +

    교육비 환불 조건 안내

    +

    + 교육신청일로부터 9일이내로 해당 과정의 전체 학습진도율이 10% 미만일때 환불가능합니다. +

    - if (Model.CM.typeedu != "32") - { -

    집체교육(7시간)일정 관련 안내

    -

    - 교육 신청 시 지정하신 집체교육일에 접수인원이 적은 경우 해당 일자의 집체교육은 폐강되어 다른 일정으로 변경 하셔야 될 수도 있습니다. 꼭! 참고 부탁 드립니다. -

    - } - } -

    교육비 환불 조건 안내

    -

    - 교육신청일로부터 9일이내로 해당 과정의 전체 학습진도율이 10% 미만일때 환불가능합니다. -

    - -

    주의사항

    -

    - 교육생이 이수하여야 할 교육은 소속된 협회에서만 조회가 가능합니다.
    - 따라서 협회 확인 없이 잘못된 내용으로 교육수료 시 그 책임은 교육생 본인에게 있으므로
    - 저희 교육원과 상담을 하셨더라도 교육신청 전에 반드시 협회를 통하여 한 번 더 확인을 하시고 신청해 주시기 바랍니다.
    - ※ 신청내용(필수확인)부분의 내용을 반드시 협회에 확인해 보시기 바랍니다. -

    -

    - -

    - -
    +

    주의사항

    +

    + 교육생이 이수하여야 할 교육은 소속된 협회에서만 조회가 가능합니다.
    + 따라서 협회 확인 없이 잘못된 내용으로 교육수료 시 그 책임은 교육생 본인에게 있으므로
    + 저희 교육원과 상담을 하셨더라도 교육신청 전에 반드시 협회를 통하여 한 번 더 확인을 하시고 신청해 주시기 바랍니다.
    + ※ 신청내용(필수확인)부분의 내용을 반드시 협회에 확인해 보시기 바랍니다. +

    +

    + +

    + + diff --git a/FO/Views/Course/SmartSearch.cshtml b/FO/Views/Course/SmartSearch.cshtml index 8d81453..9079484 100644 --- a/FO/Views/Course/SmartSearch.cshtml +++ b/FO/Views/Course/SmartSearch.cshtml @@ -1,209 +1,557 @@ @model NP.Model.VMCourse @{ - var host = Request.Url.Host; + var host = Request.Url.Host; - // 개발과 로컬일 때 스마트검색 결과의 검색영역 보임 처리 - bool isDevSite = (host == "www.ynicte.com" || host == "ynicte.nptc.kr"); - string firstSchBoxDisplayStyle = isDevSite ? "" : "display:none;"; + // 개발과 로컬일 때 스마트검색 결과의 검색영역 보임 처리 + bool isDevSite = (host == "www.ynicte.com" || host == "ynicte.nptc.kr"); + string firstSchBoxDisplayStyle = isDevSite ? "" : "display:none;"; } +
    -
    -
    - - - - - @if (Model.stringval == "0" || Model.stringval == null || Model.stringval == "") - { - if (isDevSite) - { -

    개발서버 테스트용

    - } - -
      -
    • - -
    • -
    • - @*typeman는 데이터가 model.comcodes2임, 수정시 주의할것*@ - @Html.DropDownListFor(x => x.stringval3, new SelectList(Model.ComCodes2, "ccode", "cname"), "-선택-") -
    • -
    • - @*typeedu는 데이터가 model.comcodes3임, 수정시 주의할것*@ - @Html.DropDownListFor(x => x.stringval4, new SelectList(Model.ComCodes3, "ccode", "cname"), "-선택-") -
    • -
    • - @*typegrade는 데이터가 model.comcodes4임, 수정시 주의할것*@ - @Html.DropDownListFor(x => x.stringval5, new SelectList(Model.ComCodes4, "ccode", "cname"), "-선택-") -
    • -
    • - @Html.DropDownListFor(x => x.stringval6, new SelectList(Model.ComCodes5, "ccode", "cname"), "-선택-") -
    • -
    • - @Html.DropDownListFor(x => x.stringval7, new SelectList(Model.ComCodes6, "ccode", "cname"), "-선택-") -
    • -
    • 검색
    • -
    - } - else if (Model.stringval == "1") - { - -
      -
    • - -
    • -
    • - @Html.DropDownListFor(x => x.stringval3, new SelectList(Model.CMsEtc, "cgno", "cgname"), "-선택-") -
    • -
    • 검색
    • -
    - } -
    -
    -
    - @if (Model.stringval2 == "2" && Model.stringval4 == "32") - { -

    ※ 현재 신청중인 교육은 집체교육 참석없이 교육종료일까지 수료조건을 만족하시면 됩니다.

    - } - else if (Model.stringval2 == "2") - { -

    ※ 현재 신청중인 교육은 온라인교육(동영상강의28시간 + 집체참석7시간) 교육입니다.

    - } - else - { -

    ※ 현재 신청중인 교육은 교육장에 직접 오셔서 진행하는 교육입니다.

    - } - -
      - @foreach (var item in Model.CMs) - { -
    • -
      -
      - @if (!string.IsNullOrEmpty(item.cgcode)) - { // cg코드를 [전문분야교육] 형태로 변경해주는 Helper 메서드 사용 - @Html.Raw(this.GetCgLabel(item.cgcode)) - } +
      +
      + + + + + @if (Model.stringval == "0" || Model.stringval == null || Model.stringval == "") { + if (isDevSite) { +

      개발서버 테스트용

      + } + +
        +
      • + + +
      • +
      • + + @*typeman는 데이터가 model.comcodes2임, 수정시 주의할것*@ + @Html.DropDownListFor(x => x.stringval3, new SelectList(Model.ComCodes2, "ccode", "cname"), "-선택-") +
      • +
      • + + @*typeedu는 데이터가 model.comcodes3임, 수정시 주의할것*@ + @Html.DropDownListFor(x => x.stringval4, new SelectList(Model.ComCodes3, "ccode", "cname"), "-선택-") +
      • +
      • + + @*typegrade는 데이터가 model.comcodes4임, 수정시 주의할것*@ + @Html.DropDownListFor(x => x.stringval5, new SelectList(Model.ComCodes4, "ccode", "cname"), "-선택-") +
      • +
      • + + @Html.DropDownListFor(x => x.stringval6, new SelectList(Model.ComCodes5, "ccode", "cname"), "-선택-") +
      • +
      • + + @Html.DropDownListFor(x => x.stringval7, new SelectList(Model.ComCodes6, "ccode", "cname"), "-선택-") +
      • +
      • 검색
      • +
      + } else if (Model.stringval == "1") { + +
        +
      • + +
      • +
      • + @Html.DropDownListFor(x => x.stringval3, new SelectList(Model.CMsEtc, "cgno", "cgname"), "-선택-") +
      • +
      • 검색
      • +
      + } +
      +
      +
      + @if (Model.stringval2 == "2" && Model.stringval4 == "32") { +

      ※ 현재 신청중인 교육은 집체교육 참석없이 교육종료일까지 수료조건을 만족하시면 됩니다.

      + } else if (Model.stringval2 == "2") { +

      ※ 현재 신청중인 교육은 온라인교육(동영상강의28시간 + 집체참석7시간) 교육입니다.

      + } else { +

      ※ 현재 신청중인 교육은 교육장에 직접 오셔서 진행하는 교육입니다.

      + } + +
        + @foreach (var item in Model.CMs) { +
      • +
        +
        + @if (!string.IsNullOrEmpty(item.cgcode)) { // cg코드를 [전문분야교육] 형태로 변경해주는 Helper 메서드 사용 + @Html.Raw(this.GetCgLabel(item.cgcode)) + } - @{ - string strTitle = string.Format("{0} | {1}시간과정 | {2}과정 ", item.cname, item.studytime, (item.isrefund == 1 ? "환급" : "비환급"), item.infee.ToString("#,0")); - } - @Html.Raw(strTitle) -
        - -
        + @{ + string strTitle = string.Format("{0} | {1}시간과정 | {2}과정 ", item.cname, item.studytime, (item.isrefund == 1 ? "환급" : "비환급"), item.infee.ToString("#,0")); + } + @Html.Raw(strTitle) +
      + +
      - @*20220728온라인/오프라인 안내*@ -
      -
      + @*20220728온라인/오프라인 안내*@ +
      +
      - @*20220728교육 영역*@ - + @*20220728교육 영역*@ + - @*20220728교육일정 영역*@ -
      -
      - -
        -
      • - } - @if (Model.CMs.Count == 0) - { -
      • -
        -

        현재 개설된 과정이 없습니다.

        자세한 사항은 1544-7660으로 문의 하세요.

        -
        -
      • - } -
      + @*20220728교육일정 영역*@ +
      +
      + +
        + + } + @if (Model.CMs.Count == 0) { +
      • +
        +

        현재 개설된 과정이 없습니다.

        자세한 사항은 1544-7660으로 문의 하세요.

        +
        +
      • + } + - +
        - +
        +
        +
        +
        +

        건설사업관리(계속교육) 신청 시 주의사항

        +
        +
          +
        1. + 현재 선택하신 교육은 [역량강화교육]입니다. +
        2. +
        3. + 건설사업관리(고급,특급) 계속교육의 경우 [역량강화교육]은 +
        4. +
        5. 전체 교육이수 시간 중 35시간만 인정가능합니다.
        6. +
        7. + (중요) 역량강화교육으로만 2개과정(70시간) 이수 불가 +
        8. +
        9. + ※ 해당 내용에 대하여 문의하실 분은 교육원으로 연락 주시면 안내 드리겠습니다. +
        10. +
        +
        + +
        +
        + + +
        +
        +
        @functions { - /// - /// 과정 코드(cgcode)에 따라 사용자에게 보여줄 라벨(span 태그 형태)을 반환. - /// - /// 과정 코드 (예: "107", "105" 등) - /// - /// HTML span 태그 문자열. - /// 예: [역량강화교육] - /// - string GetCgLabel(string code) - { - switch (code) - { - case "101": - return "[기본교육]"; - case "107": - return "[특성화교육]"; - case "103": - case "104": - return "[역량강화교육]"; - case "105": - return "[전문분야교육]"; - case "102": - return "[직무분야교육]"; - default: - return "[" + code + "]"; - } - } + /// + /// 과정 코드(cgcode)에 따라 사용자에게 보여줄 라벨(span 태그 형태)을 반환. + /// + /// 과정 코드 (예: "107", "105" 등) + /// + /// HTML span 태그 문자열. + /// 예: [역량강화교육] + /// + string GetCgLabel(string code) { + switch (code) { + case "101": + return "[기본교육]"; + case "107": + return "[특성화교육]"; + case "103": + case "104": + return "[역량강화교육]"; + case "105": + return "[전문분야교육]"; + case "102": + return "[직무분야교육]"; + default: + return "[" + code + "]"; + } + } } \ No newline at end of file diff --git a/FO/Views/Home/Index.cshtml b/FO/Views/Home/Index.cshtml index 6bc451d..bbead80 100644 --- a/FO/Views/Home/Index.cshtml +++ b/FO/Views/Home/Index.cshtml @@ -1,616 +1,609 @@ @model NP.Model.VMHome - + /* --- 교육신청 주의사항 팝업 CSS 끝 --- */ + @section main{ -
        -
        -
        -
        -

        YICTE Smart Search

        -

        교육신청은 아래의 검색창을 이용하세요.

        -
        - - - - - - + +
        +
        +
        +

        YICTE Smart Search

        +

        교육신청은 아래의 검색창을 이용하세요.

        +
        + + + + + + - - - - - - - + + + + + + + - @if (Model.stringval == "0" || Model.stringval == null || Model.stringval == "") - { - - - if (Model.ComCodes != null) - { - - } - else - { - +
        +
        +
        + +
      • + JOB + +
      • +
      • + OBJECT + +
      • +
      • + GRADE +
        + 현재등급 +
        +
        + +
        +
        +
        +
      • +
      • + TYPE + +
      • +
      • 교육신청
      • + + } + } else if (Model.stringval == "1") { + + + } +
        + + }
        -
        -
        -
        -

        교육신청 전 필수 확인

        -
        -
        -

        건설사업관리(계속교육) 신청 시 주의사항

        -
        -
          -
        1. - 1. 건설사업관리의 현재 등급이 고급 또는 특급인 경우
          - 계속교육 이수 시 반드시
          - 전체 교육이수시간 중 역량강화 교육은 1개 과정만 이수하여야 합니다. -
        2. -
        3. - 2. 역량강화 교육은 교육신청 시 교육과정명 앞에 [역량강화교육]으로 표기되어 있습니다. -
        4. -
        -

        ※ (중요) 역량강화교육으로만 2개 과정 이수 불가

        -
        - +
        +
        +
        +

        교육신청 전 필수 확인

        +
        +
        +

        건설사업관리(계속교육) 신청 시 주의사항

        +
        +
          +
        1. + 1. 건설사업관리의 현재 등급이 고급 또는 특급인 경우
          + 계속교육 이수 시 반드시
          + 전체 교육이수시간 중 역량강화 교육은 1개 과정(35시간)만 이수하여야 합니다. +
        2. +
        3. + 2. 역량강화 교육은 교육신청 시 교육과정명 앞에 [역량강화교육]으로 표기되어 있습니다. +
        4. +
        +

        ※ (중요) 역량강화교육으로만 2개 과정(70시간) 이수 불가

        +
        + -

        ※ 해당 내용에 대하여 문의하실 분은 교육원으로 연락 주시면 안내 드리겠습니다.

        +

        ※ 해당 내용에 대하여 문의하실 분은 교육원으로 연락 주시면 안내 드리겠습니다.

        - -
        -
        - - -
        -
        + +
        +
        + + +
        +
        @section scriptsHeader{ - + } @section scripts{ - + + // 쿠키 설정 함수 + function setCookie(name, value, days) { + const d = new Date(); + d.setTime(d.getTime() + (days * 24 * 60 * 60 * 1000)); + const expires = "expires=" + d.toUTCString(); + document.cookie = name + "=" + value + ";" + expires + ";path=/"; + } + + // 쿠키 가져오기 함수 + function getCookie(name) { + const cname = name + "="; + const decodedCookie = decodeURIComponent(document.cookie); + const ca = decodedCookie.split(';'); + for (let i = 0; i < ca.length; i++) { + let c = ca[i].trim(); + if (c.indexOf(cname) === 0) { + return c.substring(cname.length, c.length); + } + } + return ""; + } + + function popupClose(name) { + setCookie(name, "Y", 1); // 1일 동안 유지 + $("#" + name).hide(); + } + } \ No newline at end of file diff --git a/FO/Views/My/LectureOn.cshtml b/FO/Views/My/LectureOn.cshtml index 83f32de..0108af0 100644 --- a/FO/Views/My/LectureOn.cshtml +++ b/FO/Views/My/LectureOn.cshtml @@ -1,350 +1,340 @@ @model NP.Model.VMMy @{ - NP.Model.Lect shapeDatapic = Model.Lects.FirstOrDefault(); - if (shapeDatapic == null) - { - shapeDatapic = new NP.Model.Lect(); - } + NP.Model.Lect shapeDatapic = Model.Lects.FirstOrDefault(); + if (shapeDatapic == null) { + shapeDatapic = new NP.Model.Lect(); + } }
        -

        ※ 온라인교육은 관련 법령에 의해 일일 최대 학습시간이 학습중인 모든 과정에 대하여 10시간(10차시)이오니 일정변경에 참고하시기 바랍니다.

        +

        ※ 온라인교육은 관련 법령에 의해 일일 최대 학습시간이 학습중인 모든 과정에 대하여 10시간(10차시)이오니 일정변경에 참고하시기 바랍니다.

        - +
        - - - - - - - - @foreach (var d in Model.Lects.Where(w => w.rno == 1)) - { - - + + + + + + + @foreach (var d in Model.Lects.Where(w => w.rno == 1)) { + + - - - } - + @d.cname (@(d.classno)) + +
        +
        + @d.lectStatus +
        +
        + 교육기간 : @(string.Format("{0} ~ {1}", d.sdate.Value.ToString("yyyy년 MM월 dd일"), d.edate.Value.ToString("yyyy년 MM월 dd일"))) +
        + @if (d.cshape != 1) { +
        교육종료일 : @(string.Format("{0}", d.estart.ToString("yyyy년 MM월 dd일")))
        +
        + } +
        @d.studytime 시간과정
        + @Html.Raw(d.isrebate == 1 ? "환급과정" : "비환급과정") +
        + + + + + } +
        강좌명교육일정변경
        -
        -
        - @d.cshapename - @if (d.studyplace == null) - { - @d.studyplacename 교육장 - } - else if (d.studyplace != null) - { - @d.studyplacename 교육장 - } +
        강좌명교육일정변경
        +
        +
        + @d.cshapename + @if (d.studyplace == null) { + @d.studyplacename 교육장 + } else if (d.studyplace != null) { + @d.studyplacename 교육장 + } - @d.cname (@(d.classno)) -
        -
        -
        - @d.lectStatus -
        -
        - 교육기간 : @(string.Format("{0} ~ {1}", d.sdate.Value.ToString("yyyy년 MM월 dd일"), d.edate.Value.ToString("yyyy년 MM월 dd일"))) -
        - @if (d.cshape != 1) - { -
        교육종료일 : @(string.Format("{0}", d.estart.ToString("yyyy년 MM월 dd일")))
        -
        - } -
        @d.studytime 시간과정
        - @Html.Raw(d.isrebate == 1 ? "환급과정" : "비환급과정") -
        -
        -
        - @if (d.intv1 == 0) - { -
        변경
        - } - else - { -
        변경
        - } -
        + @if (d.intv1 == 0) { +
        변경
        + } else { +
        변경
        + } +
        -@if (Model.Lects.Count() < 1) -{ -
        - 일정을 변경할 교육이 없습니다.
        +@if (Model.Lects.Count() < 1) { +
        - 일정을 변경할 교육이 없습니다.
        }
        - @Html.HiddenFor(m => m.intval) - @Html.HiddenFor(m => m.stringval) + @Html.HiddenFor(m => m.intval) + @Html.HiddenFor(m => m.stringval)
        @section scriptsHeader{ } @section scripts{ - - + function renderScd() { + var ulScd = $("#ulScd"); + ulScd.empty(); + //var seq = 0; + + $.each(capResult.obj, function (i, d) { + let comment = d.comment == null ? "" : "(" + d.comment + ")" + var li = $("
      • "); + if (d.isEnd == true) { + //li.append(" " + d.scdInfoSummary + ""); + } + else { + if (d.quota != 0) { + if (d.remainPeople <= 0) { + //li.append(" " + d.scdInfoSummary + ""); + } + else { + if (d.isselected == 1) { + li.append(" " + d.scdInfoSummary + ""); + } else { + li.append(" " + d.scdInfoSummary + ""); + } + + } + } + else { + if (d.isselected == 1) { + li.append(" " + d.scdInfoSummary + comment + ""); + } else { + li.append(" " + d.scdInfoSummary + comment + ""); + } + + } + } + //seq++; + ulScd.append(li); + }); + } + + function selectScd() { + if (confirm("교육종료일을 변경하시겠습니까?")) { + var cmisno = $("input:radio[name=rdoScds]:checked").val(); + var lectno = vLectno; + if (cmisno == "" || cmisno == undefined || cmisno == null) { + msg("선택한 일정이 없습니다."); + return; + } + capp("/focommon/UpdateScd", { cmisno: cmisno, lectno: lectno, cmno: _cmno, cmino: _cmino }, "scdSave"); + } + } + function scdSave() { + msg(capResult.msg); + if (capResult.code == 1) { + submit(); + } + else { + return; + } + } + } \ No newline at end of file diff --git a/FO/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/FO/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 26b640a..fbcb17b 100644 Binary files a/FO/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/FO/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/FO/obj/Debug/FO.csproj.AssemblyReference.cache b/FO/obj/Debug/FO.csproj.AssemblyReference.cache index f5e894a..d2d71b5 100644 Binary files a/FO/obj/Debug/FO.csproj.AssemblyReference.cache and b/FO/obj/Debug/FO.csproj.AssemblyReference.cache differ