YNICTE/BO/Logs/query.txt

1773 lines
1.2 MiB
Raw Blame History

2025-12-11 13:51:58,123 [29536] 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:51:58,144 [29536] 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:51:58,145 [29536] 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:51:58,145 [29536] 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:51:58,145 [29536] 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:51:58,146 [29536] 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:51:58,146 [29536] 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:51:58,146 [29536] 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:51:58,149 [29536] 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:51:58,149 [29536] 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:51:58,149 [29536] 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:51:58,149 [29536] 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:51:58,149 [29536] 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:51:58,149 [29536] 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:51:58,150 [29536] 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:51:58,150 [29536] 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:51:58,150 [29536] 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:51:58,153 [29536] 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:51:58,154 [29536] 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:51:58,156 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,156 [29536] 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:51:58,156 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assign.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,156 [29536] 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:51:58,156 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [councel.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,157 [29536] 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:51:58,158 [29536] 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='<27><><BB><E8><C1><A6>',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:51:58,159 [29536] 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:51:58,159 [29536] 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:51:58,160 [29536] 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:51:58,160 [29536] 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:51:58,160 [29536] 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:51:58,160 [29536] 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:51:58,160 [29536] 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:51:58,160 [29536] 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:51:58,160 [29536] 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:51:58,161 [29536] 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:51:58,161 [29536] 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:51:58,161 [29536] 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:51:58,161 [29536] 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:51:58,161 [29536] 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:51:58,161 [29536] 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:51:58,161 [29536] 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:51:58,161 [29536] 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:51:58,162 [29536] 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:51:58,162 [29536] 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:51:58,162 [29536] 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:51:58,162 [29536] 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='<27><><BB><E8><C1><A6>',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:51:58,187 [29536] 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:51:58,187 [29536] 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:51:58,187 [29536] 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:51:58,188 [29536] 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:51:58,188 [29536] 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:51:58,188 [29536] 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:51:58,189 [29536] 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:51:58,189 [29536] 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:51:58,189 [29536] 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:51:58,190 [29536] 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:51:58,190 [29536] 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:51:58,190 [29536] 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:51:58,190 [29536] 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:51:58,190 [29536] 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:51:58,190 [29536] 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:51:58,191 [29536] 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:51:58,191 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,191 [29536] 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:51:58,191 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.sms.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,199 [29536] 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:51:58,200 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.smsauth.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,200 [29536] 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:51:58,201 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.smsauth2.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,201 [29536] 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:51:58,201 [29536] 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:51:58,201 [29536] 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:51:58,201 [29536] 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:51:58,201 [29536] 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:51:58,203 [29536] 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:51:58,203 [29536] 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:51:58,204 [29536] 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:51:58,216 [29536] 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:51:58,216 [29536] 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:51:58,216 [29536] 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:51:58,216 [29536] 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:51:58,217 [29536] 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:51:58,217 [29536] 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:51:58,217 [29536] 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:51:58,217 [29536] 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:51:58,218 [29536] 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 '<27><><B1><B3>' when 3 then '<27><><BD><C3>' else '<27><><B0><AD>' end strval,'<27><><B8><C5>' 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, '','ȯ<><C8AF>' 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:51:58,219 [29536] 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:51:58,219 [29536] 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:51:58,220 [29536] 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:51:58,220 [29536] 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:51:58,220 [29536] 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:51:58,220 [29536] 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:51:58,220 [29536] 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:51:58,220 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [select last_insert_id()]
2025-12-11 13:51:58,221 [29536] 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:51:58,221 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,221 [29536] 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:51:58,221 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.okcert3.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,221 [29536] 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:51:58,221 [29536] 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:51:58,221 [29536] 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:51:58,221 [29536] 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:51:58,221 [29536] 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:51:58,221 [29536] 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:51:58,221 [29536] 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:51:58,221 [29536] 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:51:58,221 [29536] 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:51:58,221 [29536] 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:51:58,222 [29536] 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:51:58,222 [29536] 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:51:58,222 [29536] 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:51:58,222 [29536] 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:51:58,222 [29536] 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:51:58,223 [29536] 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:51:58,236 [29536] 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:51:58,236 [29536] 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:51:58,237 [29536] 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:51:58,238 [29536] 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:51:58,238 [29536] 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:51:58,239 [29536] 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:51:58,239 [29536] 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:51:58,239 [29536] 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:51:58,240 [29536] 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:51:58,240 [29536] 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:51:58,240 [29536] 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:51:58,240 [29536] 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:51:58,240 [29536] 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:51:58,240 [29536] 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:51:58,240 [29536] 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:51:58,241 [29536] 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:51:58,241 [29536] 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:51:58,242 [29536] 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:51:58,242 [29536] 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:51:58,242 [29536] 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:51:58,242 [29536] 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:51:58,243 [29536] 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:51:58,243 [29536] 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:51:58,243 [29536] 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:51:58,243 [29536] 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:51:58,243 [29536] 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:51:58,243 [29536] 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:51:58,243 [29536] 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:51:58,244 [29536] 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:51:58,246 [29536] 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:51:58,246 [29536] 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:51:58,250 [29536] 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:51:58,251 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,252 [29536] 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:51:58,252 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminnings.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 13:51:58,253 [29536] 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:51:58,253 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminningscd.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 13:51:58,254 [29536] 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:51:58,255 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmex.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,256 [29536] 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:51:58,256 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.question.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,256 [29536] 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:51:58,256 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmsd.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,256 [29536] 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:51:58,256 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmrs.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,256 [29536] 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:51:58,256 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.rsc.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,257 [29536] 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('<27>纻_', 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:51:58,257 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy0.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,257 [29536] 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:51:58,257 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy.ex0.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,257 [29536] 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:51:58,258 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmpcin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,259 [29536] 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:51:58,259 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ct.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,260 [29536] 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:51:58,260 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.pplog.applyedu.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,260 [29536] 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:51:58,260 [29536] 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:51:58,260 [29536] 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:51:58,260 [29536] 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:51:58,261 [29536] 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:51:58,261 [29536] 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:51:58,261 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.del2] Prepared SQL: [delete from cminning where cmino = ?param0]
2025-12-11 13:51:58,261 [29536] 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:51:58,261 [29536] 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:51:58,261 [29536] 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:51:58,261 [29536] 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:51:58,261 [29536] 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:51:58,261 [29536] 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:51:58,261 [29536] 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:51:58,262 [29536] 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:51:58,262 [29536] 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:51:58,262 [29536] 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:51:58,262 [29536] 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:51:58,262 [29536] 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:51:58,262 [29536] 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:51:58,262 [29536] 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:51:58,263 [29536] 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:51:58,263 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmexq.deleteall] Prepared SQL: [delete from cmexq where exno= ?param0]
2025-12-11 13:51:58,263 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmexlayer.del] Prepared SQL: [delete from cmexlayer where exno= ?param0]
2025-12-11 13:51:58,263 [29536] 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:51:58,263 [29536] 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:51:58,263 [29536] 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:51:58,263 [29536] 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:51:58,264 [29536] 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:51:58,264 [29536] 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:51:58,264 [29536] 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:51:58,264 [29536] 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:51:58,264 [29536] 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:51:58,264 [29536] 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:51:58,264 [29536] 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:51:58,265 [29536] 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:51:58,265 [29536] 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:51:58,266 [29536] 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:51:58,266 [29536] 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:51:58,266 [29536] 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:51:58,266 [29536] 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:51:58,266 [29536] 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:51:58,266 [29536] 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:51:58,266 [29536] 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:51:58,266 [29536] 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:51:58,267 [29536] 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:51:58,267 [29536] 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:51:58,267 [29536] 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:51:58,286 [29536] 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:51:58,286 [29536] 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:51:58,287 [29536] 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:51:58,288 [29536] 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:51:58,288 [29536] 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 '<br />') 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:51:58,288 [29536] 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:51:58,288 [29536] 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:51:58,289 [29536] 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:51:58,289 [29536] 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:51:58,289 [29536] 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:51:58,291 [29536] 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:51:58,292 [29536] 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:51:58,292 [29536] 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:51:58,293 [29536] 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:51:58,293 [29536] 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:51:58,295 [29536] 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:51:58,297 [29536] 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:51:58,297 [29536] 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:51:58,297 [29536] 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:51:58,297 [29536] 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:51:58,297 [29536] 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:51:58,297 [29536] 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:51:58,298 [29536] 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:51:58,298 [29536] 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:51:58,298 [29536] 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:51:58,298 [29536] 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:51:58,298 [29536] 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:51:58,299 [29536] 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:51:58,299 [29536] 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:51:58,299 [29536] 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:51:58,299 [29536] 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:51:58,300 [29536] 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:51:58,300 [29536] 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:51:58,301 [29536] 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:51:58,301 [29536] 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:51:58,302 [29536] 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:51:58,304 [29536] 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:51:58,305 [29536] 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:51:58,306 [29536] 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:51:58,307 [29536] 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:51:58,307 [29536] 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:51:58,307 [29536] 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:51:58,307 [29536] 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:51:58,307 [29536] 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:51:58,308 [29536] 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:51:58,308 [29536] 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:51:58,308 [29536] 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:51:58,325 [29536] 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:51:58,326 [29536] 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:51:58,327 [29536] 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:51:58,327 [29536] 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:51:58,328 [29536] 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:51:58,328 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.bm.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,329 [29536] 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:51:58,329 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,330 [29536] 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:51:58,330 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.inp.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,330 [29536] 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:51:58,330 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.boardcmt.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,331 [29536] 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:51:58,331 [29536] 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:51:58,331 [29536] 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,'<27><><B0><F8><C1><F6><BB><E7>',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:51:58,331 [29536] 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:51:58,331 [29536] 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:51:58,347 [29536] 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:51:58,347 [29536] 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:51:58,347 [29536] 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:51:58,347 [29536] 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:51:58,348 [29536] 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:51:58,365 [29536] 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:51:58,365 [29536] 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:51:58,366 [29536] 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:51:58,367 [29536] 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:51:58,367 [29536] 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:51:58,367 [29536] 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:51:58,368 [29536] 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:51:58,368 [29536] 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:51:58,368 [29536] 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:51:58,369 [29536] 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:51:58,369 [29536] 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:51:58,369 [29536] 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:51:58,369 [29536] 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:51:58,369 [29536] 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:51:58,370 [29536] 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:51:58,372 [29536] 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:51:58,372 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pay.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,374 [29536] 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:51:58,374 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payitem.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,374 [29536] 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:51:58,374 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.lect.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,374 [29536] 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:51:58,375 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pay.pgin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,375 [29536] 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:51:58,375 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.certpay.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,376 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paytax.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,377 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payrfd.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,377 [29536] 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:51:58,377 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.standbypay.admin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,378 [29536] 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:51:58,378 [29536] 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:51:58,378 [29536] 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:51:58,378 [29536] 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:51:58,379 [29536] 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:51:58,379 [29536] 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:51:58,380 [29536] 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:51:58,381 [29536] 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:51:58,382 [29536] 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:51:58,382 [29536] 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:51:58,382 [29536] 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:51:58,383 [29536] 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:51:58,384 [29536] 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:51:58,384 [29536] 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:51:58,384 [29536] 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:51:58,385 [29536] 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:51:58,385 [29536] 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:51:58,385 [29536] 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:51:58,385 [29536] 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:51:58,407 [29536] 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:51:58,407 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [exam.exam.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,407 [29536] 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:51:58,407 [29536] 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:51:58,407 [29536] 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:51:58,408 [29536] 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:51:58,408 [29536] 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:51:58,446 [29536] 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:51:58,446 [29536] 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:51:58,461 [29536] 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:51:58,462 [29536] 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:51:58,462 [29536] 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:51:58,482 [29536] 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:51:58,482 [29536] 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:51:58,483 [29536] 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:51:58,483 [29536] 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:51:58,485 [29536] 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:51:58,485 [29536] 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:51:58,485 [29536] 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:51:58,486 [29536] 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:51:58,486 [29536] 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:51:58,487 [29536] 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:51:58,487 [29536] 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:51:58,487 [29536] 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:51:58,487 [29536] 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:51:58,487 [29536] 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:51:58,487 [29536] 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:51:58,489 [29536] 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:51:58,489 [29536] 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:51:58,489 [29536] 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:51:58,490 [29536] 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:51:58,490 [29536] 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:51:58,490 [29536] 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:51:58,490 [29536] 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:51:58,490 [29536] 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:51:58,491 [29536] 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:51:58,492 [29536] 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:51:58,492 [29536] 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:51:58,492 [29536] 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:51:58,492 [29536] 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:51:58,492 [29536] 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:51:58,493 [29536] 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:51:58,493 [29536] 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:51:58,493 [29536] 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:51:58,493 [29536] 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:51:58,493 [29536] 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:51:58,493 [29536] 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:51:58,493 [29536] 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:51:58,493 [29536] 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:51:58,494 [29536] 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:51:58,495 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectinningpage.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 13:51:58,496 [29536] 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:51:58,497 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboard.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 13:51:58,497 [29536] 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:51:58,497 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboardcmt.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 13:51:58,497 [29536] 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:51:58,497 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpayok.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 13:51:58,497 [29536] 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:51:58,497 [29536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpayok2.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 13:51:58,498 [29536] 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:51:58,498 [29536] 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:51:58,499 [29536] 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:51:58,499 [29536] 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:51:58,499 [29536] 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:51:58,500 [29536] 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:51:58,500 [29536] 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:51:58,500 [29536] 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:51:58,500 [29536] 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:51:58,503 [29536] 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:51:58,504 [29536] 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:51:58,506 [29536] 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:51:58,519 [29536] 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:51:58,528 [29536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.npsystem] Parameters: [?param0=[daokey,qaldSUKDKuLggF2sN2Bn/lvf/i3LKEeOzoD6MpHlc0w=]]
2025-12-11 13:51:58,528 [29536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.npsystem] Types: [?param0=[String, System.String]]
2025-12-11 13:51:58,804 [29536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14716234" to "MySQL, MySQL provider 6.10.5.0".
2025-12-11 13:51:58,814 [29536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14716234" to "MySQL, MySQL provider 6.10.5.0".
2025-12-11 13:51:59,220 [34560] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] PreparedStatement : [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:51:59,220 [34560] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Parameters: [?param0=[userno,1], ?param1=[loginkey,66164114], ?param2=[IsDupCheck,1]]
2025-12-11 13:51:59,220 [34560] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[Int32, System.Int32]]
2025-12-11 13:51:59,227 [34560] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3917519" to "MySQL, MySQL provider 6.10.5.0".
2025-12-11 13:51:59,253 [34560] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3917519" to "MySQL, MySQL provider 6.10.5.0".
2025-12-11 13:51:59,266 [34560] 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:51:59,266 [34560] 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:51:59,267 [34560] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[topmenuno,1]]
2025-12-11 13:51:59,267 [34560] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2025-12-11 13:51:59,272 [34560] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13150057" to "MySQL, MySQL provider 6.10.5.0".
2025-12-11 13:51:59,287 [34560] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13150057" to "MySQL, MySQL provider 6.10.5.0".
2025-12-11 13:51:59,319 [34560] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.home] PreparedStatement : [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:51:59,319 [34560] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.home] Parameters: [?param0=[userno,1]]
2025-12-11 13:51:59,319 [34560] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.home] Types: [?param0=[Int32, System.Int32]]
2025-12-11 13:51:59,324 [34560] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22150587" to "MySQL, MySQL provider 6.10.5.0".
2025-12-11 13:51:59,330 [34560] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22150587" to "MySQL, MySQL provider 6.10.5.0".
2025-12-11 13:51:59,332 [34560] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cms] Prepared SQL: [select a.* from ( select a.cmno,case when a.ismaster=2 then a.cmno else 0 end pcno,a.ismaster,a.cgno,a.pcmno,a.cname,a.kname ,a.tmno,a.classno,a.rstime,a.retime,a.sstime,a.setime,a.gstime,a.getime ,a.cshape,a.infee,a.outfee,a.quota,a.accommofee ,a.introhtml,a.targethtml,a.goalhtml,a.contenthtml ,a.studytime,a.studyplace,a.certcc,a.certgradecc,a.jobcc,a.jobpositiongrade,a.difficulty,a.isrefund,a.isuse,a.isseq,a.fgnocm,a.studydays,a.isaccommodation ,a.typeman,a.typeedu,a.typegrade,a.typejob,a.iscertificate, a.typejobitem ,b.pcgno,b.cgcode cgcode ,b.cgname,c.cgname pcgname ,c.cgcode pcgcode ,t.tyear,t.tseq ,d.cname pcname ,e.ccode,e.cname studyplacename ,(select count(l.lectno) cnt from lect l where l.cmno = a.cmno and l.status =1 and l.ischanged=0) lectcnt ,a.ischkatt,a.daylectinninglimit ,case when date_format(a.retime,'%Y%m%d') = '20991231' then 1 else 0 end isalldays ,a.cdt,a.udt ,a.cmno value,a.cname text ,row_number() over(order by a.setime desc,t.tyear desc,t.tseq desc,a.cname,a.classno ) rno ,count(a.cdt) over() pagetotalcount from cm a inner join cg b on b.cgno=a.cgno inner join cg c on c.cgno=b.pcgno left outer join term t on t.tmno=a.tmno left outer join cm d on a.ismaster=0 and d.cmno=a.pcmno left outer join comcode e on a.studyplace = e.ccode where a.isdel=0 and a.ismaster= ?param0 and a.isuse= ?param1 and a.setime > now() and (date_format(a.retime,'%Y%m%d') != '20991231' and a.rstime < now() and a.getime > now()) or date_format(a.retime,'%Y%m%d') = '20991231' and a.isuse= ?param1 ) a order by a.rno]
2025-12-11 13:51:59,332 [34560] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.cms] PreparedStatement : [select a.* from ( select a.cmno,case when a.ismaster=2 then a.cmno else 0 end pcno,a.ismaster,a.cgno,a.pcmno,a.cname,a.kname ,a.tmno,a.classno,a.rstime,a.retime,a.sstime,a.setime,a.gstime,a.getime ,a.cshape,a.infee,a.outfee,a.quota,a.accommofee ,a.introhtml,a.targethtml,a.goalhtml,a.contenthtml ,a.studytime,a.studyplace,a.certcc,a.certgradecc,a.jobcc,a.jobpositiongrade,a.difficulty,a.isrefund,a.isuse,a.isseq,a.fgnocm,a.studydays,a.isaccommodation ,a.typeman,a.typeedu,a.typegrade,a.typejob,a.iscertificate, a.typejobitem ,b.pcgno,b.cgcode cgcode ,b.cgname,c.cgname pcgname ,c.cgcode pcgcode ,t.tyear,t.tseq ,d.cname pcname ,e.ccode,e.cname studyplacename ,(select count(l.lectno) cnt from lect l where l.cmno = a.cmno and l.status =1 and l.ischanged=0) lectcnt ,a.ischkatt,a.daylectinninglimit ,case when date_format(a.retime,'%Y%m%d') = '20991231' then 1 else 0 end isalldays ,a.cdt,a.udt ,a.cmno value,a.cname text ,row_number() over(order by a.setime desc,t.tyear desc,t.tseq desc,a.cname,a.classno ) rno ,count(a.cdt) over() pagetotalcount from cm a inner join cg b on b.cgno=a.cgno inner join cg c on c.cgno=b.pcgno left outer join term t on t.tmno=a.tmno left outer join cm d on a.ismaster=0 and d.cmno=a.pcmno left outer join comcode e on a.studyplace = e.ccode where a.isdel=0 and a.ismaster= ?param0 and a.isuse= ?param1 and a.setime > now() and (date_format(a.retime,'%Y%m%d') != '20991231' and a.rstime < now() and a.getime > now()) or date_format(a.retime,'%Y%m%d') = '20991231' and a.isuse= ?param1 ) a order by a.rno]
2025-12-11 13:51:59,332 [34560] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.cms] Parameters: [?param0=[ismaster,0], ?param1=[isuse,1]]
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='<27><><BB><E8><C1><A6>',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='<27><><BB><E8><C1><A6>',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 '<27><><B1><B3>' when 3 then '<27><><BD><C3>' else '<27><><B0><AD>' end strval,'<27><><B8><C5>' 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, '','ȯ<><C8AF>' 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('<27>纻_', 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 '<br />') 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,'<27><><B0><F8><C1><F6><BB><E7>',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".
2025-12-11 15:21:34,285 [16400] 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 15:21:34,306 [16400] 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 15:21:34,306 [16400] 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 15:21:34,306 [16400] 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 15:21:34,306 [16400] 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 15:21:34,307 [16400] 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 15:21:34,307 [16400] 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 15:21:34,307 [16400] 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 15:21:34,308 [16400] 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 15:21:34,308 [16400] 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 15:21:34,308 [16400] 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 15:21:34,308 [16400] 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 15:21:34,308 [16400] 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 15:21:34,308 [16400] 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 15:21:34,308 [16400] 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 15:21:34,308 [16400] 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 15:21:34,309 [16400] 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 15:21:34,311 [16400] 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 15:21:34,312 [16400] 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 15:21:34,313 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,314 [16400] 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 15:21:34,314 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assign.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,314 [16400] 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 15:21:34,314 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [councel.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,315 [16400] 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 15:21:34,316 [16400] 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='<27><><BB><E8><C1><A6>',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 15:21:34,317 [16400] 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 15:21:34,318 [16400] 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 15:21:34,318 [16400] 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 15:21:34,318 [16400] 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 15:21:34,318 [16400] 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 15:21:34,319 [16400] 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 15:21:34,319 [16400] 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 15:21:34,319 [16400] 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 15:21:34,319 [16400] 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 15:21:34,319 [16400] 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 15:21:34,319 [16400] 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 15:21:34,319 [16400] 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 15:21:34,319 [16400] 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 15:21:34,320 [16400] 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 15:21:34,320 [16400] 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 15:21:34,320 [16400] 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 15:21:34,320 [16400] 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 15:21:34,321 [16400] 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 15:21:34,321 [16400] 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 15:21:34,321 [16400] 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 15:21:34,321 [16400] 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='<27><><BB><E8><C1><A6>',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 15:21:34,336 [16400] 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 15:21:34,336 [16400] 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 15:21:34,336 [16400] 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 15:21:34,336 [16400] 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 15:21:34,337 [16400] 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 15:21:34,338 [16400] 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 15:21:34,338 [16400] 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 15:21:34,338 [16400] 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 15:21:34,338 [16400] 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 15:21:34,339 [16400] 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 15:21:34,339 [16400] 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 15:21:34,339 [16400] 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 15:21:34,339 [16400] 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 15:21:34,339 [16400] 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 15:21:34,339 [16400] 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 15:21:34,339 [16400] 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 15:21:34,340 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,340 [16400] 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 15:21:34,340 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.sms.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,347 [16400] 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 15:21:34,348 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.smsauth.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,348 [16400] 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 15:21:34,348 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.smsauth2.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,348 [16400] 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 15:21:34,348 [16400] 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 15:21:34,348 [16400] 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 15:21:34,349 [16400] 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 15:21:34,349 [16400] 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 15:21:34,350 [16400] 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 15:21:34,350 [16400] 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 15:21:34,352 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg,userno) values( ?param0 , ?param1 )]
2025-12-11 15:21:34,369 [16400] 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 15:21:34,369 [16400] 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 15:21:34,370 [16400] 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 15:21:34,370 [16400] 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 15:21:34,372 [16400] 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 15:21:34,373 [16400] 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 15:21:34,373 [16400] 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 15:21:34,373 [16400] 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 15:21:34,374 [16400] 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 '<27><><B1><B3>' when 3 then '<27><><BD><C3>' else '<27><><B0><AD>' end strval,'<27><><B8><C5>' 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, '','ȯ<><C8AF>' 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 15:21:34,377 [16400] 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 15:21:34,377 [16400] 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 15:21:34,377 [16400] 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 15:21:34,377 [16400] 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 15:21:34,377 [16400] 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 15:21:34,377 [16400] 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 15:21:34,378 [16400] 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 15:21:34,379 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [select last_insert_id()]
2025-12-11 15:21:34,379 [16400] 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 15:21:34,379 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,379 [16400] 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 15:21:34,379 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.okcert3.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,380 [16400] 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 15:21:34,380 [16400] 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 15:21:34,380 [16400] 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 15:21:34,380 [16400] 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 15:21:34,380 [16400] 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 15:21:34,380 [16400] 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 15:21:34,380 [16400] 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 15:21:34,381 [16400] 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 15:21:34,381 [16400] 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 15:21:34,381 [16400] 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 15:21:34,381 [16400] 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 15:21:34,382 [16400] 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 15:21:34,383 [16400] 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 15:21:34,383 [16400] 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 15:21:34,383 [16400] 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 15:21:34,384 [16400] 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 15:21:34,402 [16400] 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 15:21:34,402 [16400] 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 15:21:34,404 [16400] 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 15:21:34,404 [16400] 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 15:21:34,405 [16400] 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 15:21:34,406 [16400] 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 15:21:34,406 [16400] 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 15:21:34,407 [16400] 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 15:21:34,407 [16400] 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 15:21:34,407 [16400] 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 15:21:34,407 [16400] 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 15:21:34,407 [16400] 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 15:21:34,407 [16400] 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 15:21:34,407 [16400] 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 15:21:34,407 [16400] 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 15:21:34,408 [16400] 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 15:21:34,409 [16400] 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 15:21:34,409 [16400] 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 15:21:34,409 [16400] 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 15:21:34,409 [16400] 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 15:21:34,410 [16400] 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 15:21:34,410 [16400] 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 15:21:34,410 [16400] 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 15:21:34,410 [16400] 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 15:21:34,410 [16400] 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 15:21:34,410 [16400] 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 15:21:34,410 [16400] 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 15:21:34,411 [16400] 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 15:21:34,411 [16400] 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 15:21:34,413 [16400] 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 15:21:34,413 [16400] 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 15:21:34,416 [16400] 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 15:21:34,416 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,418 [16400] 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 15:21:34,418 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminnings.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 15:21:34,419 [16400] 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 15:21:34,419 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminningscd.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 15:21:34,420 [16400] 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 15:21:34,420 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmex.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,422 [16400] 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 15:21:34,422 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.question.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,422 [16400] 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 15:21:34,422 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmsd.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,422 [16400] 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 15:21:34,422 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmrs.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,422 [16400] 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 15:21:34,422 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.rsc.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,423 [16400] 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('<27>纻_', 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 15:21:34,423 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy0.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,423 [16400] 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 15:21:34,423 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy.ex0.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,424 [16400] 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 15:21:34,424 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmpcin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,425 [16400] 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 15:21:34,425 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ct.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,425 [16400] 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 15:21:34,426 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.pplog.applyedu.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,426 [16400] 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 15:21:34,426 [16400] 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 15:21:34,426 [16400] 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 15:21:34,426 [16400] 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 15:21:34,427 [16400] 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 15:21:34,427 [16400] 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 15:21:34,427 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.del2] Prepared SQL: [delete from cminning where cmino = ?param0]
2025-12-11 15:21:34,427 [16400] 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 15:21:34,428 [16400] 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 15:21:34,428 [16400] 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 15:21:34,428 [16400] 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 15:21:34,428 [16400] 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 15:21:34,428 [16400] 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 15:21:34,428 [16400] 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 15:21:34,429 [16400] 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 15:21:34,429 [16400] 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 15:21:34,429 [16400] 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 15:21:34,429 [16400] 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 15:21:34,429 [16400] 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 15:21:34,430 [16400] 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 15:21:34,430 [16400] 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 15:21:34,430 [16400] 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 15:21:34,430 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmexq.deleteall] Prepared SQL: [delete from cmexq where exno= ?param0]
2025-12-11 15:21:34,431 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmexlayer.del] Prepared SQL: [delete from cmexlayer where exno= ?param0]
2025-12-11 15:21:34,431 [16400] 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 15:21:34,431 [16400] 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 15:21:34,431 [16400] 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 15:21:34,432 [16400] 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 15:21:34,432 [16400] 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 15:21:34,432 [16400] 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 15:21:34,432 [16400] 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 15:21:34,432 [16400] 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 15:21:34,432 [16400] 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 15:21:34,433 [16400] 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 15:21:34,433 [16400] 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 15:21:34,433 [16400] 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 15:21:34,433 [16400] 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 15:21:34,435 [16400] 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 15:21:34,437 [16400] 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 15:21:34,437 [16400] 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 15:21:34,438 [16400] 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 15:21:34,438 [16400] 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 15:21:34,438 [16400] 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 15:21:34,439 [16400] 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 15:21:34,439 [16400] 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 15:21:34,439 [16400] 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 15:21:34,440 [16400] 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 15:21:34,440 [16400] 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 15:21:34,461 [16400] 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 15:21:34,461 [16400] 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 15:21:34,463 [16400] 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 15:21:34,464 [16400] 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 15:21:34,464 [16400] 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 '<br />') 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 15:21:34,464 [16400] 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 15:21:34,464 [16400] 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 15:21:34,465 [16400] 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 15:21:34,465 [16400] 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 15:21:34,465 [16400] 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 15:21:34,467 [16400] 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 15:21:34,468 [16400] 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 15:21:34,469 [16400] 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 15:21:34,471 [16400] 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 15:21:34,471 [16400] 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 15:21:34,474 [16400] 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 15:21:34,475 [16400] 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 15:21:34,475 [16400] 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 15:21:34,476 [16400] 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 15:21:34,476 [16400] 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 15:21:34,476 [16400] 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 15:21:34,476 [16400] 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 15:21:34,476 [16400] 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 15:21:34,476 [16400] 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 15:21:34,477 [16400] 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 15:21:34,477 [16400] 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 15:21:34,477 [16400] 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 15:21:34,478 [16400] 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 15:21:34,478 [16400] 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 15:21:34,478 [16400] 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 15:21:34,478 [16400] 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 15:21:34,478 [16400] 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 15:21:34,478 [16400] 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 15:21:34,479 [16400] 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 15:21:34,479 [16400] 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 15:21:34,481 [16400] 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 15:21:34,483 [16400] 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 15:21:34,484 [16400] 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 15:21:34,484 [16400] 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 15:21:34,486 [16400] 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 15:21:34,486 [16400] 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 15:21:34,486 [16400] 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 15:21:34,486 [16400] 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 15:21:34,487 [16400] 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 15:21:34,487 [16400] 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 15:21:34,487 [16400] 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 15:21:34,487 [16400] 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 15:21:34,506 [16400] 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 15:21:34,507 [16400] 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 15:21:34,507 [16400] 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 15:21:34,508 [16400] 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 15:21:34,509 [16400] 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 15:21:34,509 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.bm.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,510 [16400] 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 15:21:34,511 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,511 [16400] 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 15:21:34,511 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.inp.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,511 [16400] 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 15:21:34,511 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.boardcmt.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,512 [16400] 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 15:21:34,512 [16400] 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 15:21:34,512 [16400] 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,'<27><><B0><F8><C1><F6><BB><E7>',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 15:21:34,512 [16400] 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 15:21:34,512 [16400] 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 15:21:34,526 [16400] 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 15:21:34,526 [16400] 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 15:21:34,526 [16400] 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 15:21:34,526 [16400] 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 15:21:34,526 [16400] 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 15:21:34,537 [16400] 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 15:21:34,538 [16400] 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 15:21:34,538 [16400] 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 15:21:34,539 [16400] 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 15:21:34,539 [16400] 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 15:21:34,540 [16400] 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 15:21:34,541 [16400] 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 15:21:34,541 [16400] 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 15:21:34,541 [16400] 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 15:21:34,542 [16400] 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 15:21:34,542 [16400] 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 15:21:34,542 [16400] 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 15:21:34,543 [16400] 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 15:21:34,543 [16400] 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 15:21:34,543 [16400] 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 15:21:34,545 [16400] 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 15:21:34,545 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pay.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,547 [16400] 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 15:21:34,547 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payitem.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,547 [16400] 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 15:21:34,547 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.lect.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,548 [16400] 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 15:21:34,548 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pay.pgin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,548 [16400] 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 15:21:34,548 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.certpay.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,549 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paytax.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,550 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payrfd.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,551 [16400] 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 15:21:34,551 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.standbypay.admin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,551 [16400] 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 15:21:34,551 [16400] 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 15:21:34,551 [16400] 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 15:21:34,552 [16400] 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 15:21:34,552 [16400] 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 15:21:34,552 [16400] 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 15:21:34,553 [16400] 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 15:21:34,554 [16400] 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 15:21:34,554 [16400] 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 15:21:34,555 [16400] 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 15:21:34,555 [16400] 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 15:21:34,556 [16400] 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 15:21:34,556 [16400] 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 15:21:34,556 [16400] 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 15:21:34,556 [16400] 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 15:21:34,556 [16400] 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 15:21:34,557 [16400] 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 15:21:34,557 [16400] 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 15:21:34,557 [16400] 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 15:21:34,568 [16400] 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 15:21:34,568 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [exam.exam.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,568 [16400] 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 15:21:34,568 [16400] 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 15:21:34,568 [16400] 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 15:21:34,569 [16400] 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 15:21:34,569 [16400] 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 15:21:34,614 [16400] 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 15:21:34,614 [16400] 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 15:21:34,626 [16400] 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 15:21:34,626 [16400] 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 15:21:34,626 [16400] 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 15:21:34,639 [16400] 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 15:21:34,639 [16400] 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 15:21:34,639 [16400] 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 15:21:34,639 [16400] 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 15:21:34,640 [16400] 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 15:21:34,640 [16400] 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 15:21:34,640 [16400] 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 15:21:34,640 [16400] 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 15:21:34,640 [16400] 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 15:21:34,641 [16400] 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 15:21:34,641 [16400] 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 15:21:34,641 [16400] 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 15:21:34,641 [16400] 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 15:21:34,641 [16400] 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 15:21:34,641 [16400] 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 15:21:34,641 [16400] 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 15:21:34,642 [16400] 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 15:21:34,642 [16400] 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 15:21:34,642 [16400] 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 15:21:34,642 [16400] 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 15:21:34,642 [16400] 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 15:21:34,642 [16400] 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 15:21:34,642 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,643 [16400] 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 15:21:34,644 [16400] 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 15:21:34,645 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectinningpage.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 15:21:34,645 [16400] 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 15:21:34,645 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboard.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 15:21:34,646 [16400] 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 15:21:34,646 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboardcmt.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-11 15:21:34,646 [16400] 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 15:21:34,646 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpayok.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 15:21:34,646 [16400] 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 15:21:34,646 [16400] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpayok2.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-11 15:21:34,647 [16400] 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 15:21:34,647 [16400] 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 15:21:34,648 [16400] 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 15:21:34,648 [16400] 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 15:21:34,648 [16400] 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 15:21:34,648 [16400] 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 15:21:34,649 [16400] 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 15:21:34,649 [16400] 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 15:21:34,649 [16400] 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 15:21:34,652 [16400] 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 15:21:34,652 [16400] 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 15:21:34,667 [16400] 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 15:21:34,686 [16400] 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 15:21:34,696 [16400] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.npsystem] Parameters: [?param0=[daokey,qaldSUKDKuLggF2sN2Bn/lvf/i3LKEeOzoD6MpHlc0w=]]
2025-12-11 15:21:34,696 [16400] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.npsystem] Types: [?param0=[String, System.String]]
2025-12-11 15:21:34,966 [16400] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3447129" to "MySQL, MySQL provider 6.10.5.0".
2025-12-11 15:21:34,987 [16400] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3447129" to "MySQL, MySQL provider 6.10.5.0".
2025-12-11 15:21:35,464 [16400] 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 15:21:35,464 [16400] 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 15:21:35,464 [16400] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[topmenuno,1]]
2025-12-11 15:21:35,464 [16400] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2025-12-11 15:21:35,471 [16400] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38471970" to "MySQL, MySQL provider 6.10.5.0".
2025-12-11 15:21:35,505 [16400] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38471970" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:58:48,756 [25480] 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-12 12:58:48,776 [25480] 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-12 12:58:48,776 [25480] 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-12 12:58:48,777 [25480] 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-12 12:58:48,777 [25480] 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-12 12:58:48,777 [25480] 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-12 12:58:48,777 [25480] 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-12 12:58:48,777 [25480] 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-12 12:58:48,778 [25480] 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-12 12:58:48,778 [25480] 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-12 12:58:48,778 [25480] 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-12 12:58:48,778 [25480] 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-12 12:58:48,778 [25480] 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-12 12:58:48,778 [25480] 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-12 12:58:48,779 [25480] 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-12 12:58:48,779 [25480] 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-12 12:58:48,779 [25480] 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-12 12:58:48,782 [25480] 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-12 12:58:48,783 [25480] 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-12 12:58:48,785 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,785 [25480] 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-12 12:58:48,785 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.assign.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,785 [25480] 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-12 12:58:48,785 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [councel.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,786 [25480] 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-12 12:58:48,787 [25480] 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='<27><><BB><E8><C1><A6>',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-12 12:58:48,788 [25480] 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-12 12:58:48,788 [25480] 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-12 12:58:48,788 [25480] 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-12 12:58:48,788 [25480] 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-12 12:58:48,789 [25480] 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-12 12:58:48,789 [25480] 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-12 12:58:48,789 [25480] 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-12 12:58:48,789 [25480] 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-12 12:58:48,789 [25480] 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-12 12:58:48,789 [25480] 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-12 12:58:48,789 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.asno.save] Prepared SQL: [update users set asno= ?param0 where userno= ?param1]
2025-12-12 12:58:48,789 [25480] 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-12 12:58:48,789 [25480] 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-12 12:58:48,790 [25480] 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-12 12:58:48,790 [25480] 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-12 12:58:48,790 [25480] 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-12 12:58:48,790 [25480] 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-12 12:58:48,790 [25480] 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-12 12:58:48,790 [25480] 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-12 12:58:48,790 [25480] 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-12 12:58:48,790 [25480] 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='<27><><BB><E8><C1><A6>',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-12 12:58:48,816 [25480] 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-12 12:58:48,816 [25480] 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-12 12:58:48,816 [25480] 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-12 12:58:48,817 [25480] 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-12 12:58:48,817 [25480] 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-12 12:58:48,817 [25480] 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-12 12:58:48,817 [25480] 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-12 12:58:48,818 [25480] 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-12 12:58:48,818 [25480] 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-12 12:58:48,818 [25480] 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-12 12:58:48,818 [25480] 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-12 12:58:48,819 [25480] 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-12 12:58:48,819 [25480] 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-12 12:58:48,819 [25480] 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-12 12:58:48,819 [25480] 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-12 12:58:48,819 [25480] 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-12 12:58:48,819 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,819 [25480] 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-12 12:58:48,819 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.sms.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,827 [25480] 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-12 12:58:48,827 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.smsauth.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,827 [25480] 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-12 12:58:48,827 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.smsauth2.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,828 [25480] 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-12 12:58:48,828 [25480] 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-12 12:58:48,828 [25480] 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-12 12:58:48,828 [25480] 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-12 12:58:48,828 [25480] 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-12 12:58:48,830 [25480] 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-12 12:58:48,830 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.sms.extend] Prepared SQL: [update smsauth set latime = now() where authno = ?param0]
2025-12-12 12:58:48,831 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg,userno) values( ?param0 , ?param1 )]
2025-12-12 12:58:48,844 [25480] 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-12 12:58:48,844 [25480] 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-12 12:58:48,844 [25480] 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-12 12:58:48,844 [25480] 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-12 12:58:48,845 [25480] 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-12 12:58:48,845 [25480] 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-12 12:58:48,845 [25480] 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-12 12:58:48,845 [25480] 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-12 12:58:48,846 [25480] 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 '<27><><B1><B3>' when 3 then '<27><><BD><C3>' else '<27><><B0><AD>' end strval,'<27><><B8><C5>' 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, '','ȯ<><C8AF>' 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-12 12:58:48,847 [25480] 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-12 12:58:48,847 [25480] 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-12 12:58:48,847 [25480] 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-12 12:58:48,847 [25480] 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-12 12:58:48,847 [25480] 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-12 12:58:48,847 [25480] 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-12 12:58:48,848 [25480] 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-12 12:58:48,848 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [select last_insert_id()]
2025-12-12 12:58:48,848 [25480] 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-12 12:58:48,848 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,848 [25480] 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-12 12:58:48,848 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.okcert3.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,848 [25480] 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-12 12:58:48,848 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.authname.save] Prepared SQL: [update menuauth set authname= ?param0 where usertype= ?param1]
2025-12-12 12:58:48,848 [25480] 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-12 12:58:48,848 [25480] 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-12 12:58:48,848 [25480] 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-12 12:58:48,848 [25480] 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-12 12:58:48,849 [25480] 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-12 12:58:48,849 [25480] 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-12 12:58:48,849 [25480] 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-12 12:58:48,849 [25480] 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-12 12:58:48,849 [25480] 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-12 12:58:48,849 [25480] 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-12 12:58:48,850 [25480] 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-12 12:58:48,850 [25480] 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-12 12:58:48,850 [25480] 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-12 12:58:48,850 [25480] 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-12 12:58:48,864 [25480] 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-12 12:58:48,864 [25480] 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-12 12:58:48,865 [25480] 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-12 12:58:48,865 [25480] 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-12 12:58:48,866 [25480] 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-12 12:58:48,867 [25480] 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-12 12:58:48,867 [25480] 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-12 12:58:48,867 [25480] 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-12 12:58:48,867 [25480] 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-12 12:58:48,868 [25480] 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-12 12:58:48,868 [25480] 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-12 12:58:48,868 [25480] 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-12 12:58:48,868 [25480] 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-12 12:58:48,868 [25480] 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-12 12:58:48,868 [25480] 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-12 12:58:48,869 [25480] 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-12 12:58:48,869 [25480] 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-12 12:58:48,869 [25480] 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-12 12:58:48,870 [25480] 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-12 12:58:48,870 [25480] 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-12 12:58:48,870 [25480] 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-12 12:58:48,870 [25480] 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-12 12:58:48,870 [25480] 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-12 12:58:48,870 [25480] 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-12 12:58:48,870 [25480] 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-12 12:58:48,870 [25480] 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-12 12:58:48,871 [25480] 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-12 12:58:48,871 [25480] 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-12 12:58:48,872 [25480] 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-12 12:58:48,873 [25480] 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-12 12:58:48,873 [25480] 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-12 12:58:48,877 [25480] 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-12 12:58:48,877 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,878 [25480] 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-12 12:58:48,879 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminnings.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-12 12:58:48,879 [25480] 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-12 12:58:48,879 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminningscd.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-12 12:58:48,881 [25480] 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-12 12:58:48,881 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmex.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,883 [25480] 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-12 12:58:48,883 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.question.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,883 [25480] 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-12 12:58:48,883 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmsd.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,883 [25480] 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-12 12:58:48,884 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmrs.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,884 [25480] 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-12 12:58:48,884 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.rsc.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,884 [25480] 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('<27>纻_', 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-12 12:58:48,884 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy0.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,884 [25480] 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-12 12:58:48,884 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmcopy.ex0.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,885 [25480] 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-12 12:58:48,885 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmpcin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,886 [25480] 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-12 12:58:48,886 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.ct.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,887 [25480] 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-12 12:58:48,887 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.pplog.applyedu.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,887 [25480] 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-12 12:58:48,887 [25480] 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-12 12:58:48,887 [25480] 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-12 12:58:48,888 [25480] 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-12 12:58:48,888 [25480] 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-12 12:58:48,888 [25480] 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-12 12:58:48,888 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.del2] Prepared SQL: [delete from cminning where cmino = ?param0]
2025-12-12 12:58:48,888 [25480] 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-12 12:58:48,888 [25480] 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-12 12:58:48,889 [25480] 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-12 12:58:48,889 [25480] 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-12 12:58:48,889 [25480] 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-12 12:58:48,889 [25480] 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-12 12:58:48,889 [25480] 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-12 12:58:48,889 [25480] 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-12 12:58:48,890 [25480] 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-12 12:58:48,890 [25480] 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-12 12:58:48,890 [25480] 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-12 12:58:48,890 [25480] 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-12 12:58:48,890 [25480] 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-12 12:58:48,890 [25480] 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-12 12:58:48,891 [25480] 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-12 12:58:48,891 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmexq.deleteall] Prepared SQL: [delete from cmexq where exno= ?param0]
2025-12-12 12:58:48,891 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmexlayer.del] Prepared SQL: [delete from cmexlayer where exno= ?param0]
2025-12-12 12:58:48,891 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmex.del] Prepared SQL: [update cmex set isdel=1 where exno= ?param0]
2025-12-12 12:58:48,891 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmsd.del] Prepared SQL: [update cmsd set isdel=1 where sdno= ?param0]
2025-12-12 12:58:48,891 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cmrs.del] Prepared SQL: [update cmrs set isdel=1 where rsno= ?param0]
2025-12-12 12:58:48,892 [25480] 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-12 12:58:48,892 [25480] 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-12 12:58:48,892 [25480] 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-12 12:58:48,892 [25480] 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-12 12:58:48,892 [25480] 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-12 12:58:48,892 [25480] 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-12 12:58:48,892 [25480] 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-12 12:58:48,893 [25480] 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-12 12:58:48,893 [25480] 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-12 12:58:48,893 [25480] 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-12 12:58:48,895 [25480] 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-12 12:58:48,895 [25480] 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-12 12:58:48,895 [25480] 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-12 12:58:48,895 [25480] 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-12 12:58:48,895 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cm.fgnocmup] Prepared SQL: [update cm set fgnocm= ?param0 where cmno= ?param1]
2025-12-12 12:58:48,895 [25480] 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-12 12:58:48,895 [25480] 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-12 12:58:48,896 [25480] 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-12 12:58:48,896 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.fgno] Prepared SQL: [update cminning set fgno= ?param0 where cmino= ?param1]
2025-12-12 12:58:48,896 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cm.cminning.fgnooff] Prepared SQL: [update cminning set fgnooff= ?param0 where cmino= ?param1]
2025-12-12 12:58:48,896 [25480] 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-12 12:58:48,912 [25480] 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-12 12:58:48,912 [25480] 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-12 12:58:48,913 [25480] 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-12 12:58:48,913 [25480] 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-12 12:58:48,913 [25480] 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 '<br />') 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-12 12:58:48,913 [25480] 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-12 12:58:48,913 [25480] 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-12 12:58:48,914 [25480] 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-12 12:58:48,914 [25480] 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-12 12:58:48,914 [25480] 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-12 12:58:48,915 [25480] 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-12 12:58:48,915 [25480] 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-12 12:58:48,915 [25480] 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-12 12:58:48,916 [25480] 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-12 12:58:48,916 [25480] 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-12 12:58:48,917 [25480] 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-12 12:58:48,918 [25480] 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-12 12:58:48,919 [25480] 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-12 12:58:48,919 [25480] 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-12 12:58:48,919 [25480] 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-12 12:58:48,919 [25480] 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-12 12:58:48,919 [25480] 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-12 12:58:48,919 [25480] 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-12 12:58:48,919 [25480] 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-12 12:58:48,919 [25480] 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-12 12:58:48,920 [25480] 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-12 12:58:48,920 [25480] 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-12 12:58:48,920 [25480] 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-12 12:58:48,920 [25480] 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-12 12:58:48,920 [25480] 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-12 12:58:48,921 [25480] 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-12 12:58:48,921 [25480] 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-12 12:58:48,921 [25480] 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-12 12:58:48,921 [25480] 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-12 12:58:48,921 [25480] 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-12 12:58:48,922 [25480] 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-12 12:58:48,924 [25480] 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-12 12:58:48,925 [25480] 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-12 12:58:48,925 [25480] 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-12 12:58:48,927 [25480] 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-12 12:58:48,927 [25480] 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-12 12:58:48,927 [25480] 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-12 12:58:48,927 [25480] 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-12 12:58:48,927 [25480] 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-12 12:58:48,927 [25480] 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-12 12:58:48,927 [25480] 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-12 12:58:48,927 [25480] 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-12 12:58:48,939 [25480] 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-12 12:58:48,939 [25480] 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-12 12:58:48,940 [25480] 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-12 12:58:48,940 [25480] 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-12 12:58:48,940 [25480] 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-12 12:58:48,940 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.bm.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,941 [25480] 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-12 12:58:48,941 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,941 [25480] 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-12 12:58:48,941 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.inp.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,941 [25480] 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-12 12:58:48,941 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.boardcmt.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,941 [25480] 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-12 12:58:48,941 [25480] 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-12 12:58:48,942 [25480] 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,'<27><><B0><F8><C1><F6><BB><E7>',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-12 12:58:48,942 [25480] 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-12 12:58:48,942 [25480] 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-12 12:58:48,953 [25480] 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-12 12:58:48,954 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2025-12-12 12:58:48,954 [25480] 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-12 12:58:48,954 [25480] 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-12 12:58:48,954 [25480] 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-12 12:58:48,968 [25480] 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-12 12:58:48,968 [25480] 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-12 12:58:48,969 [25480] 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-12 12:58:48,969 [25480] 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-12 12:58:48,970 [25480] 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-12 12:58:48,970 [25480] 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-12 12:58:48,970 [25480] 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-12 12:58:48,970 [25480] 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-12 12:58:48,971 [25480] 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-12 12:58:48,971 [25480] 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-12 12:58:48,971 [25480] 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-12 12:58:48,971 [25480] 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-12 12:58:48,972 [25480] 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-12 12:58:48,972 [25480] 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-12 12:58:48,972 [25480] 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-12 12:58:48,974 [25480] 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-12 12:58:48,974 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pay.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,976 [25480] 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-12 12:58:48,976 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payitem.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,976 [25480] 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-12 12:58:48,976 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.lect.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,977 [25480] 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-12 12:58:48,977 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.pay.pgin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,977 [25480] 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-12 12:58:48,977 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.certpay.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,978 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.paytax.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,980 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.payrfd.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,980 [25480] 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-12 12:58:48,980 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [pay.standbypay.admin.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,980 [25480] 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-12 12:58:48,980 [25480] 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-12 12:58:48,980 [25480] 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-12 12:58:48,981 [25480] 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-12 12:58:48,981 [25480] 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-12 12:58:48,981 [25480] 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-12 12:58:48,982 [25480] 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-12 12:58:48,982 [25480] 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-12 12:58:48,982 [25480] 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-12 12:58:48,984 [25480] 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-12 12:58:48,984 [25480] 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-12 12:58:48,985 [25480] 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-12 12:58:48,985 [25480] 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-12 12:58:48,985 [25480] 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-12 12:58:48,985 [25480] 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-12 12:58:48,985 [25480] 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-12 12:58:48,985 [25480] 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-12 12:58:48,986 [25480] 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-12 12:58:48,986 [25480] 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-12 12:58:48,997 [25480] 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-12 12:58:48,997 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [exam.exam.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:48,997 [25480] 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-12 12:58:48,998 [25480] 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-12 12:58:48,998 [25480] 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-12 12:58:48,998 [25480] 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-12 12:58:48,998 [25480] 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-12 12:58:49,030 [25480] 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-12 12:58:49,030 [25480] 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-12 12:58:49,049 [25480] 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-12 12:58:49,049 [25480] 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-12 12:58:49,050 [25480] 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-12 12:58:49,064 [25480] 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-12 12:58:49,064 [25480] 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-12 12:58:49,064 [25480] 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-12 12:58:49,064 [25480] 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-12 12:58:49,064 [25480] 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-12 12:58:49,064 [25480] 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-12 12:58:49,064 [25480] 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-12 12:58:49,064 [25480] 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-12 12:58:49,064 [25480] 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-12 12:58:49,065 [25480] 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-12 12:58:49,065 [25480] 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-12 12:58:49,065 [25480] 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-12 12:58:49,065 [25480] 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-12 12:58:49,065 [25480] 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-12 12:58:49,065 [25480] 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-12 12:58:49,066 [25480] 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-12 12:58:49,066 [25480] 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-12 12:58:49,066 [25480] 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-12 12:58:49,066 [25480] 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-12 12:58:49,066 [25480] 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-12 12:58:49,066 [25480] 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-12 12:58:49,066 [25480] 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-12 12:58:49,066 [25480] 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-12 12:58:49,067 [25480] 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-12 12:58:49,067 [25480] 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-12 12:58:49,067 [25480] 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-12 12:58:49,067 [25480] 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-12 12:58:49,067 [25480] 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-12 12:58:49,067 [25480] 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-12 12:58:49,067 [25480] 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-12 12:58:49,067 [25480] 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-12 12:58:49,068 [25480] 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-12 12:58:49,068 [25480] 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-12 12:58:49,068 [25480] 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-12 12:58:49,068 [25480] 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-12 12:58:49,068 [25480] 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-12 12:58:49,068 [25480] 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-12 12:58:49,068 [25480] 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-12 12:58:49,069 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectinningpage.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-12 12:58:49,069 [25480] 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-12 12:58:49,069 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboard.in.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-12 12:58:49,069 [25480] 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-12 12:58:49,069 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.lectsdboardcmt.in.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2025-12-12 12:58:49,069 [25480] 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-12 12:58:49,070 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpayok.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-12 12:58:49,070 [25480] 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-12 12:58:49,070 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cr.examuserpayok2.SelectKey] Prepared SQL: [SELECT last_insert_id()]
2025-12-12 12:58:49,070 [25480] 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-12 12:58:49,070 [25480] 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-12 12:58:49,070 [25480] 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-12 12:58:49,070 [25480] 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-12 12:58:49,071 [25480] 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-12 12:58:49,081 [25480] 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-12 12:58:49,081 [25480] 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-12 12:58:49,081 [25480] 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-12 12:58:49,081 [25480] 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-12 12:58:49,085 [25480] 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-12 12:58:49,085 [25480] 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-12 12:58:49,102 [25480] 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-12 12:58:49,120 [25480] 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-12 12:58:49,129 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.npsystem] Parameters: [?param0=[daokey,qaldSUKDKuLggF2sN2Bn/lvf/i3LKEeOzoD6MpHlc0w=]]
2025-12-12 12:58:49,129 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.npsystem] Types: [?param0=[String, System.String]]
2025-12-12 12:58:49,379 [25480] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55233959" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:58:49,389 [25480] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55233959" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:58:49,724 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] PreparedStatement : [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-12 12:58:49,725 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Parameters: [?param0=[userno,1], ?param1=[loginkey,74979248], ?param2=[IsDupCheck,1]]
2025-12-12 12:58:49,725 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[Int32, System.Int32]]
2025-12-12 12:58:49,732 [25480] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19075492" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:58:49,762 [25480] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19075492" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:58:49,776 [25480] 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-12 12:58:49,777 [25480] 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-12 12:58:49,777 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[topmenuno,1]]
2025-12-12 12:58:49,777 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2025-12-12 12:58:49,781 [25480] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51412373" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:58:49,797 [25480] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51412373" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:58:49,835 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] PreparedStatement : [insert into actlog (logtype,logtarget,userno,logdata,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 )]
2025-12-12 12:58:49,837 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] Parameters: [?param0=[logtype,10], ?param1=[logtarget,11], ?param2=[userno,null], ?param3=[logdata,<2C><><BB><E7><BF>ڸ<C0><DAB8><F1>], ?param4=[uno,1], ?param5=[uip,127.0.0.1]]
2025-12-12 12:58:49,837 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[System.DBNull, null], ?param3=[String, System.String], ?param4=[Int64, System.Int64], ?param5=[String, System.String]]
2025-12-12 12:58:49,938 [25480] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59721453" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:58:49,954 [25480] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59721453" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:58:49,956 [25480] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.users] Prepared SQL: [SELECT a.* FROM ( SELECT a.userno,a.usertype,a.asno,a.pasname,a.userid,a.username,a.status,a.gender,a.jointype ,b.asname,b.isjoin,b.ceoname,b.brno,b.post aspost,b.address1 asaddress1,b.address2 asaddress2,b.btype asbtype,b.bkind asbkind ,CAST(AES_DECRYPT(UNHEX(a.email), 'np123@!' ) AS char) email ,CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!' ) AS char) mobile ,CAST(AES_DECRYPT(UNHEX(a.telno), 'np123@!' ) AS char) telno ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!' ) AS char) userpno ,a.usernameeng,a.logintime ,CAST(AES_DECRYPT(UNHEX(a.bankno), 'np123@!' ) AS char) bankno ,a.userkind,a.isacceptemail,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs ,a.bankname ,a.post,a.address1,a.address2,a.introhtml,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime ,a.kfcfyear,a.isassignuser,a.edus ,case when c.refcode='9' then a.ccpositionetc else c.cname end ccpositionname ,case when a.usertype=1 then '<27><><B1><B3><C0><B0>' when d.authname is null then '-' else d.authname end usertypestr ,CAST(AES_DECRYPT(UNHEX(a.birthday), 'np123@!' ) AS char) birthday ,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.di,a.ci,a.ischkatt,a.authplatform ,IFNULL(us.playbar, 0) as playbar ,IFNULL(us.isplay, 0) as isplay ,ROW_NUMBER() OVER(ORDER BY a.username ) rno ,COUNT(a.cdt) over() pagetotalcount FROM users a LEFT OUTER JOIN assign b on b.asno=a.asno and b.isdel=0 LEFT OUTER JOIN comcode c on c.ccode=a.ccposition LEFT OUTER JOIN ( SELECT DISTINCT usertype,authname FROM menuauth ) d ON d.usertype = a.usertype LEFT OUTER JOIN userstatus us on a.userno = us.userno WHERE a.status < 98 and a.usertype <> 91 and a.usertype = ?param0 ) a where rno between 1 and 100 ORDER BY a.rno]
2025-12-12 12:58:49,956 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] PreparedStatement : [SELECT a.* FROM ( SELECT a.userno,a.usertype,a.asno,a.pasname,a.userid,a.username,a.status,a.gender,a.jointype ,b.asname,b.isjoin,b.ceoname,b.brno,b.post aspost,b.address1 asaddress1,b.address2 asaddress2,b.btype asbtype,b.bkind asbkind ,CAST(AES_DECRYPT(UNHEX(a.email), 'np123@!' ) AS char) email ,CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!' ) AS char) mobile ,CAST(AES_DECRYPT(UNHEX(a.telno), 'np123@!' ) AS char) telno ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!' ) AS char) userpno ,a.usernameeng,a.logintime ,CAST(AES_DECRYPT(UNHEX(a.bankno), 'np123@!' ) AS char) bankno ,a.userkind,a.isacceptemail,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs ,a.bankname ,a.post,a.address1,a.address2,a.introhtml,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime ,a.kfcfyear,a.isassignuser,a.edus ,case when c.refcode='9' then a.ccpositionetc else c.cname end ccpositionname ,case when a.usertype=1 then '<27><><B1><B3><C0><B0>' when d.authname is null then '-' else d.authname end usertypestr ,CAST(AES_DECRYPT(UNHEX(a.birthday), 'np123@!' ) AS char) birthday ,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.di,a.ci,a.ischkatt,a.authplatform ,IFNULL(us.playbar, 0) as playbar ,IFNULL(us.isplay, 0) as isplay ,ROW_NUMBER() OVER(ORDER BY a.username ) rno ,COUNT(a.cdt) over() pagetotalcount FROM users a LEFT OUTER JOIN assign b on b.asno=a.asno and b.isdel=0 LEFT OUTER JOIN comcode c on c.ccode=a.ccposition LEFT OUTER JOIN ( SELECT DISTINCT usertype,authname FROM menuauth ) d ON d.usertype = a.usertype LEFT OUTER JOIN userstatus us on a.userno = us.userno WHERE a.status < 98 and a.usertype <> 91 and a.usertype = ?param0 ) a where rno between 1 and 100 ORDER BY a.rno]
2025-12-12 12:58:49,956 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] Parameters: [?param0=[usertype,1]]
2025-12-12 12:58:49,956 [25480] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] Types: [?param0=[Int32, System.Int32]]
2025-12-12 12:58:49,960 [25480] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13609113" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:58:49,981 [25480] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13609113" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:59:06,726 [28016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] PreparedStatement : [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-12 12:59:06,726 [28016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Parameters: [?param0=[userno,1], ?param1=[loginkey,74979248], ?param2=[IsDupCheck,1]]
2025-12-12 12:59:06,726 [28016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[Int32, System.Int32]]
2025-12-12 12:59:06,732 [28016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "54302544" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:59:06,734 [28016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "54302544" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:59:06,735 [28016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] PreparedStatement : [insert into actlog (logtype,logtarget,userno,logdata,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 )]
2025-12-12 12:59:06,735 [28016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] Parameters: [?param0=[logtype,10], ?param1=[logtarget,11], ?param2=[userno,null], ?param3=[logdata,<2C><><BB><E7><BF>ڸ<C0><DAB8><F1>], ?param4=[uno,1], ?param5=[uip,127.0.0.1]]
2025-12-12 12:59:06,735 [28016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[System.DBNull, null], ?param3=[String, System.String], ?param4=[Int64, System.Int64], ?param5=[String, System.String]]
2025-12-12 12:59:06,741 [28016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "40004473" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:59:06,787 [28016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "40004473" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:59:06,788 [28016] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.users] Prepared SQL: [SELECT a.* FROM ( SELECT a.userno,a.usertype,a.asno,a.pasname,a.userid,a.username,a.status,a.gender,a.jointype ,b.asname,b.isjoin,b.ceoname,b.brno,b.post aspost,b.address1 asaddress1,b.address2 asaddress2,b.btype asbtype,b.bkind asbkind ,CAST(AES_DECRYPT(UNHEX(a.email), 'np123@!' ) AS char) email ,CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!' ) AS char) mobile ,CAST(AES_DECRYPT(UNHEX(a.telno), 'np123@!' ) AS char) telno ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!' ) AS char) userpno ,a.usernameeng,a.logintime ,CAST(AES_DECRYPT(UNHEX(a.bankno), 'np123@!' ) AS char) bankno ,a.userkind,a.isacceptemail,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs ,a.bankname ,a.post,a.address1,a.address2,a.introhtml,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime ,a.kfcfyear,a.isassignuser,a.edus ,case when c.refcode='9' then a.ccpositionetc else c.cname end ccpositionname ,case when a.usertype=1 then '<27><><B1><B3><C0><B0>' when d.authname is null then '-' else d.authname end usertypestr ,CAST(AES_DECRYPT(UNHEX(a.birthday), 'np123@!' ) AS char) birthday ,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.di,a.ci,a.ischkatt,a.authplatform ,IFNULL(us.playbar, 0) as playbar ,IFNULL(us.isplay, 0) as isplay ,ROW_NUMBER() OVER(ORDER BY a.username ) rno ,COUNT(a.cdt) over() pagetotalcount FROM users a LEFT OUTER JOIN assign b on b.asno=a.asno and b.isdel=0 LEFT OUTER JOIN comcode c on c.ccode=a.ccposition LEFT OUTER JOIN ( SELECT DISTINCT usertype,authname FROM menuauth ) d ON d.usertype = a.usertype LEFT OUTER JOIN userstatus us on a.userno = us.userno WHERE a.status < 98 and a.usertype <> 91 and a.usertype = ?param0 ) a where rno between 1 and 100 ORDER BY a.rno]
2025-12-12 12:59:06,788 [28016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] PreparedStatement : [SELECT a.* FROM ( SELECT a.userno,a.usertype,a.asno,a.pasname,a.userid,a.username,a.status,a.gender,a.jointype ,b.asname,b.isjoin,b.ceoname,b.brno,b.post aspost,b.address1 asaddress1,b.address2 asaddress2,b.btype asbtype,b.bkind asbkind ,CAST(AES_DECRYPT(UNHEX(a.email), 'np123@!' ) AS char) email ,CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!' ) AS char) mobile ,CAST(AES_DECRYPT(UNHEX(a.telno), 'np123@!' ) AS char) telno ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!' ) AS char) userpno ,a.usernameeng,a.logintime ,CAST(AES_DECRYPT(UNHEX(a.bankno), 'np123@!' ) AS char) bankno ,a.userkind,a.isacceptemail,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs ,a.bankname ,a.post,a.address1,a.address2,a.introhtml,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime ,a.kfcfyear,a.isassignuser,a.edus ,case when c.refcode='9' then a.ccpositionetc else c.cname end ccpositionname ,case when a.usertype=1 then '<27><><B1><B3><C0><B0>' when d.authname is null then '-' else d.authname end usertypestr ,CAST(AES_DECRYPT(UNHEX(a.birthday), 'np123@!' ) AS char) birthday ,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.di,a.ci,a.ischkatt,a.authplatform ,IFNULL(us.playbar, 0) as playbar ,IFNULL(us.isplay, 0) as isplay ,ROW_NUMBER() OVER(ORDER BY a.username ) rno ,COUNT(a.cdt) over() pagetotalcount FROM users a LEFT OUTER JOIN assign b on b.asno=a.asno and b.isdel=0 LEFT OUTER JOIN comcode c on c.ccode=a.ccposition LEFT OUTER JOIN ( SELECT DISTINCT usertype,authname FROM menuauth ) d ON d.usertype = a.usertype LEFT OUTER JOIN userstatus us on a.userno = us.userno WHERE a.status < 98 and a.usertype <> 91 and a.usertype = ?param0 ) a where rno between 1 and 100 ORDER BY a.rno]
2025-12-12 12:59:06,788 [28016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] Parameters: [?param0=[usertype,1]]
2025-12-12 12:59:06,788 [28016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] Types: [?param0=[Int32, System.Int32]]
2025-12-12 12:59:06,793 [28016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50153955" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 12:59:06,804 [28016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50153955" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:06:14,933 [37772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] PreparedStatement : [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-12 13:06:14,933 [37772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Parameters: [?param0=[userno,1], ?param1=[loginkey,74979248], ?param2=[IsDupCheck,1]]
2025-12-12 13:06:14,933 [37772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[Int32, System.Int32]]
2025-12-12 13:06:15,147 [37772] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34712225" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:06:15,151 [37772] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34712225" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:06:15,151 [37772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] PreparedStatement : [insert into actlog (logtype,logtarget,userno,logdata,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 )]
2025-12-12 13:06:15,152 [37772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] Parameters: [?param0=[logtype,10], ?param1=[logtarget,11], ?param2=[userno,null], ?param3=[logdata,<2C><><BB><E7><BF>ڸ<C0><DAB8><F1>], ?param4=[uno,1], ?param5=[uip,127.0.0.1]]
2025-12-12 13:06:15,152 [37772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[System.DBNull, null], ?param3=[String, System.String], ?param4=[Int64, System.Int64], ?param5=[String, System.String]]
2025-12-12 13:06:15,327 [37772] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "107902" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:06:15,347 [37772] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "107902" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:06:15,347 [37772] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.users] Prepared SQL: [SELECT a.* FROM ( SELECT a.userno,a.usertype,a.asno,a.pasname,a.userid,a.username,a.status,a.gender,a.jointype ,b.asname,b.isjoin,b.ceoname,b.brno,b.post aspost,b.address1 asaddress1,b.address2 asaddress2,b.btype asbtype,b.bkind asbkind ,CAST(AES_DECRYPT(UNHEX(a.email), 'np123@!' ) AS char) email ,CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!' ) AS char) mobile ,CAST(AES_DECRYPT(UNHEX(a.telno), 'np123@!' ) AS char) telno ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!' ) AS char) userpno ,a.usernameeng,a.logintime ,CAST(AES_DECRYPT(UNHEX(a.bankno), 'np123@!' ) AS char) bankno ,a.userkind,a.isacceptemail,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs ,a.bankname ,a.post,a.address1,a.address2,a.introhtml,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime ,a.kfcfyear,a.isassignuser,a.edus ,case when c.refcode='9' then a.ccpositionetc else c.cname end ccpositionname ,case when a.usertype=1 then '<27><><B1><B3><C0><B0>' when d.authname is null then '-' else d.authname end usertypestr ,CAST(AES_DECRYPT(UNHEX(a.birthday), 'np123@!' ) AS char) birthday ,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.di,a.ci,a.ischkatt,a.authplatform ,IFNULL(us.playbar, 0) as playbar ,IFNULL(us.isplay, 0) as isplay ,ROW_NUMBER() OVER(ORDER BY a.username ) rno ,COUNT(a.cdt) over() pagetotalcount FROM users a LEFT OUTER JOIN assign b on b.asno=a.asno and b.isdel=0 LEFT OUTER JOIN comcode c on c.ccode=a.ccposition LEFT OUTER JOIN ( SELECT DISTINCT usertype,authname FROM menuauth ) d ON d.usertype = a.usertype LEFT OUTER JOIN userstatus us on a.userno = us.userno WHERE a.status < 98 and a.usertype <> 91 and a.usertype = ?param0 ) a where rno between 1 and 100 ORDER BY a.rno]
2025-12-12 13:06:15,347 [37772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] PreparedStatement : [SELECT a.* FROM ( SELECT a.userno,a.usertype,a.asno,a.pasname,a.userid,a.username,a.status,a.gender,a.jointype ,b.asname,b.isjoin,b.ceoname,b.brno,b.post aspost,b.address1 asaddress1,b.address2 asaddress2,b.btype asbtype,b.bkind asbkind ,CAST(AES_DECRYPT(UNHEX(a.email), 'np123@!' ) AS char) email ,CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!' ) AS char) mobile ,CAST(AES_DECRYPT(UNHEX(a.telno), 'np123@!' ) AS char) telno ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!' ) AS char) userpno ,a.usernameeng,a.logintime ,CAST(AES_DECRYPT(UNHEX(a.bankno), 'np123@!' ) AS char) bankno ,a.userkind,a.isacceptemail,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs ,a.bankname ,a.post,a.address1,a.address2,a.introhtml,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime ,a.kfcfyear,a.isassignuser,a.edus ,case when c.refcode='9' then a.ccpositionetc else c.cname end ccpositionname ,case when a.usertype=1 then '<27><><B1><B3><C0><B0>' when d.authname is null then '-' else d.authname end usertypestr ,CAST(AES_DECRYPT(UNHEX(a.birthday), 'np123@!' ) AS char) birthday ,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.di,a.ci,a.ischkatt,a.authplatform ,IFNULL(us.playbar, 0) as playbar ,IFNULL(us.isplay, 0) as isplay ,ROW_NUMBER() OVER(ORDER BY a.username ) rno ,COUNT(a.cdt) over() pagetotalcount FROM users a LEFT OUTER JOIN assign b on b.asno=a.asno and b.isdel=0 LEFT OUTER JOIN comcode c on c.ccode=a.ccposition LEFT OUTER JOIN ( SELECT DISTINCT usertype,authname FROM menuauth ) d ON d.usertype = a.usertype LEFT OUTER JOIN userstatus us on a.userno = us.userno WHERE a.status < 98 and a.usertype <> 91 and a.usertype = ?param0 ) a where rno between 1 and 100 ORDER BY a.rno]
2025-12-12 13:06:15,347 [37772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] Parameters: [?param0=[usertype,1]]
2025-12-12 13:06:15,347 [37772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] Types: [?param0=[Int32, System.Int32]]
2025-12-12 13:06:15,355 [37772] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15645796" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:06:15,368 [37772] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15645796" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:19:08,904 [25396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] PreparedStatement : [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-12 13:19:08,904 [25396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Parameters: [?param0=[userno,1], ?param1=[loginkey,74979248], ?param2=[IsDupCheck,1]]
2025-12-12 13:19:08,904 [25396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[Int32, System.Int32]]
2025-12-12 13:19:09,109 [25396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9746598" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:19:09,113 [25396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9746598" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:19:09,113 [25396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] PreparedStatement : [insert into actlog (logtype,logtarget,userno,logdata,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 )]
2025-12-12 13:19:09,113 [25396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] Parameters: [?param0=[logtype,10], ?param1=[logtarget,11], ?param2=[userno,null], ?param3=[logdata,<2C><><BB><E7><BF>ڸ<C0><DAB8><F1>], ?param4=[uno,1], ?param5=[uip,127.0.0.1]]
2025-12-12 13:19:09,113 [25396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[System.DBNull, null], ?param3=[String, System.String], ?param4=[Int64, System.Int64], ?param5=[String, System.String]]
2025-12-12 13:19:09,216 [25396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34637009" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:19:09,243 [25396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34637009" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:19:09,243 [25396] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.users] Prepared SQL: [SELECT a.* FROM ( SELECT a.userno,a.usertype,a.asno,a.pasname,a.userid,a.username,a.status,a.gender,a.jointype ,b.asname,b.isjoin,b.ceoname,b.brno,b.post aspost,b.address1 asaddress1,b.address2 asaddress2,b.btype asbtype,b.bkind asbkind ,CAST(AES_DECRYPT(UNHEX(a.email), 'np123@!' ) AS char) email ,CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!' ) AS char) mobile ,CAST(AES_DECRYPT(UNHEX(a.telno), 'np123@!' ) AS char) telno ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!' ) AS char) userpno ,a.usernameeng,a.logintime ,CAST(AES_DECRYPT(UNHEX(a.bankno), 'np123@!' ) AS char) bankno ,a.userkind,a.isacceptemail,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs ,a.bankname ,a.post,a.address1,a.address2,a.introhtml,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime ,a.kfcfyear,a.isassignuser,a.edus ,case when c.refcode='9' then a.ccpositionetc else c.cname end ccpositionname ,case when a.usertype=1 then '<27><><B1><B3><C0><B0>' when d.authname is null then '-' else d.authname end usertypestr ,CAST(AES_DECRYPT(UNHEX(a.birthday), 'np123@!' ) AS char) birthday ,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.di,a.ci,a.ischkatt,a.authplatform ,IFNULL(us.playbar, 0) as playbar ,IFNULL(us.isplay, 0) as isplay ,ROW_NUMBER() OVER(ORDER BY a.username ) rno ,COUNT(a.cdt) over() pagetotalcount FROM users a LEFT OUTER JOIN assign b on b.asno=a.asno and b.isdel=0 LEFT OUTER JOIN comcode c on c.ccode=a.ccposition LEFT OUTER JOIN ( SELECT DISTINCT usertype,authname FROM menuauth ) d ON d.usertype = a.usertype LEFT OUTER JOIN userstatus us on a.userno = us.userno WHERE a.status < 98 and a.usertype <> 91 and a.usertype = ?param0 ) a where rno between 1 and 100 ORDER BY a.rno]
2025-12-12 13:19:09,243 [25396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] PreparedStatement : [SELECT a.* FROM ( SELECT a.userno,a.usertype,a.asno,a.pasname,a.userid,a.username,a.status,a.gender,a.jointype ,b.asname,b.isjoin,b.ceoname,b.brno,b.post aspost,b.address1 asaddress1,b.address2 asaddress2,b.btype asbtype,b.bkind asbkind ,CAST(AES_DECRYPT(UNHEX(a.email), 'np123@!' ) AS char) email ,CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!' ) AS char) mobile ,CAST(AES_DECRYPT(UNHEX(a.telno), 'np123@!' ) AS char) telno ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!' ) AS char) userpno ,a.usernameeng,a.logintime ,CAST(AES_DECRYPT(UNHEX(a.bankno), 'np123@!' ) AS char) bankno ,a.userkind,a.isacceptemail,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs ,a.bankname ,a.post,a.address1,a.address2,a.introhtml,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime ,a.kfcfyear,a.isassignuser,a.edus ,case when c.refcode='9' then a.ccpositionetc else c.cname end ccpositionname ,case when a.usertype=1 then '<27><><B1><B3><C0><B0>' when d.authname is null then '-' else d.authname end usertypestr ,CAST(AES_DECRYPT(UNHEX(a.birthday), 'np123@!' ) AS char) birthday ,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.di,a.ci,a.ischkatt,a.authplatform ,IFNULL(us.playbar, 0) as playbar ,IFNULL(us.isplay, 0) as isplay ,ROW_NUMBER() OVER(ORDER BY a.username ) rno ,COUNT(a.cdt) over() pagetotalcount FROM users a LEFT OUTER JOIN assign b on b.asno=a.asno and b.isdel=0 LEFT OUTER JOIN comcode c on c.ccode=a.ccposition LEFT OUTER JOIN ( SELECT DISTINCT usertype,authname FROM menuauth ) d ON d.usertype = a.usertype LEFT OUTER JOIN userstatus us on a.userno = us.userno WHERE a.status < 98 and a.usertype <> 91 and a.usertype = ?param0 ) a where rno between 1 and 100 ORDER BY a.rno]
2025-12-12 13:19:09,243 [25396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] Parameters: [?param0=[usertype,1]]
2025-12-12 13:19:09,243 [25396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] Types: [?param0=[Int32, System.Int32]]
2025-12-12 13:19:09,248 [25396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38215" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:19:09,260 [25396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38215" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:34:48,940 [708] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] PreparedStatement : [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-12 13:34:48,940 [708] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Parameters: [?param0=[userno,1], ?param1=[loginkey,74979248], ?param2=[IsDupCheck,1]]
2025-12-12 13:34:48,941 [708] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.check.admin] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[Int32, System.Int32]]
2025-12-12 13:34:49,107 [708] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "57610990" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:34:49,109 [708] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "57610990" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:34:49,109 [708] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] PreparedStatement : [insert into actlog (logtype,logtarget,userno,logdata,cdt,cno,udt,uno,uip) values( ?param0 , ?param1 , ?param2 , ?param3 ,now(), ?param4 ,now(), ?param4 , ?param5 )]
2025-12-12 13:34:49,109 [708] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] Parameters: [?param0=[logtype,10], ?param1=[logtarget,11], ?param2=[userno,null], ?param3=[logdata,<2C><><BB><E7><BF>ڸ<C0><DAB8><F1>], ?param4=[uno,1], ?param5=[uip,127.0.0.1]]
2025-12-12 13:34:49,109 [708] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cm.actlog.set] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[System.DBNull, null], ?param3=[String, System.String], ?param4=[Int64, System.Int64], ?param5=[String, System.String]]
2025-12-12 13:34:49,258 [708] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14346213" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:34:49,275 [708] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14346213" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:34:49,275 [708] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.users] Prepared SQL: [SELECT a.* FROM ( SELECT a.userno,a.usertype,a.asno,a.pasname,a.userid,a.username,a.status,a.gender,a.jointype ,b.asname,b.isjoin,b.ceoname,b.brno,b.post aspost,b.address1 asaddress1,b.address2 asaddress2,b.btype asbtype,b.bkind asbkind ,CAST(AES_DECRYPT(UNHEX(a.email), 'np123@!' ) AS char) email ,CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!' ) AS char) mobile ,CAST(AES_DECRYPT(UNHEX(a.telno), 'np123@!' ) AS char) telno ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!' ) AS char) userpno ,a.usernameeng,a.logintime ,CAST(AES_DECRYPT(UNHEX(a.bankno), 'np123@!' ) AS char) bankno ,a.userkind,a.isacceptemail,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs ,a.bankname ,a.post,a.address1,a.address2,a.introhtml,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime ,a.kfcfyear,a.isassignuser,a.edus ,case when c.refcode='9' then a.ccpositionetc else c.cname end ccpositionname ,case when a.usertype=1 then '<27><><B1><B3><C0><B0>' when d.authname is null then '-' else d.authname end usertypestr ,CAST(AES_DECRYPT(UNHEX(a.birthday), 'np123@!' ) AS char) birthday ,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.di,a.ci,a.ischkatt,a.authplatform ,IFNULL(us.playbar, 0) as playbar ,IFNULL(us.isplay, 0) as isplay ,ROW_NUMBER() OVER(ORDER BY a.username ) rno ,COUNT(a.cdt) over() pagetotalcount FROM users a LEFT OUTER JOIN assign b on b.asno=a.asno and b.isdel=0 LEFT OUTER JOIN comcode c on c.ccode=a.ccposition LEFT OUTER JOIN ( SELECT DISTINCT usertype,authname FROM menuauth ) d ON d.usertype = a.usertype LEFT OUTER JOIN userstatus us on a.userno = us.userno WHERE a.status < 98 and a.usertype <> 91 and a.usertype = ?param0 ) a where rno between 1 and 100 ORDER BY a.rno]
2025-12-12 13:34:49,275 [708] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] PreparedStatement : [SELECT a.* FROM ( SELECT a.userno,a.usertype,a.asno,a.pasname,a.userid,a.username,a.status,a.gender,a.jointype ,b.asname,b.isjoin,b.ceoname,b.brno,b.post aspost,b.address1 asaddress1,b.address2 asaddress2,b.btype asbtype,b.bkind asbkind ,CAST(AES_DECRYPT(UNHEX(a.email), 'np123@!' ) AS char) email ,CAST(AES_DECRYPT(UNHEX(a.mobile), 'np123@!' ) AS char) mobile ,CAST(AES_DECRYPT(UNHEX(a.telno), 'np123@!' ) AS char) telno ,CAST(AES_DECRYPT(UNHEX(a.userpno), 'np123@!' ) AS char) userpno ,a.usernameeng,a.logintime ,CAST(AES_DECRYPT(UNHEX(a.bankno), 'np123@!' ) AS char) bankno ,a.userkind,a.isacceptemail,a.depart,a.ccposition,a.ccpositionetc,a.fgnoprofile,a.ccjobs ,a.bankname ,a.post,a.address1,a.address2,a.introhtml,a.send335time,a.pwcalltime,a.pwcallno,a.eastereggkey,a.eetime ,a.kfcfyear,a.isassignuser,a.edus ,case when c.refcode='9' then a.ccpositionetc else c.cname end ccpositionname ,case when a.usertype=1 then '<27><><B1><B3><C0><B0>' when d.authname is null then '-' else d.authname end usertypestr ,CAST(AES_DECRYPT(UNHEX(a.birthday), 'np123@!' ) AS char) birthday ,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.di,a.ci,a.ischkatt,a.authplatform ,IFNULL(us.playbar, 0) as playbar ,IFNULL(us.isplay, 0) as isplay ,ROW_NUMBER() OVER(ORDER BY a.username ) rno ,COUNT(a.cdt) over() pagetotalcount FROM users a LEFT OUTER JOIN assign b on b.asno=a.asno and b.isdel=0 LEFT OUTER JOIN comcode c on c.ccode=a.ccposition LEFT OUTER JOIN ( SELECT DISTINCT usertype,authname FROM menuauth ) d ON d.usertype = a.usertype LEFT OUTER JOIN userstatus us on a.userno = us.userno WHERE a.status < 98 and a.usertype <> 91 and a.usertype = ?param0 ) a where rno between 1 and 100 ORDER BY a.rno]
2025-12-12 13:34:49,275 [708] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] Parameters: [?param0=[usertype,1]]
2025-12-12 13:34:49,275 [708] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.users] Types: [?param0=[Int32, System.Int32]]
2025-12-12 13:34:49,280 [708] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "28038974" to "MySQL, MySQL provider 6.10.5.0".
2025-12-12 13:34:49,287 [708] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "28038974" to "MySQL, MySQL provider 6.10.5.0".