2019-04-04 10:12:30,921 [12580] 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.isdeleted=0]
2019-04-04 10:12:31,412 [12580] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-04 10:12:31,415 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-04 10:12:31,416 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-04 10:12:31,417 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-04 10:12:31,417 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 10:12:31,417 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-04 10:12:31,418 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-04 10:12:31,418 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 10:12:31,418 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-04 10:12:31,419 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-04 10:12:31,419 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-04 10:12:31,419 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-04 10:12:31,420 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-04 10:12:31,422 [12580] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 10:12:31,422 [12580] 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]
2019-04-04 10:12:31,423 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-04 10:12:31,423 [12580] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-04 10:12:31,423 [12580] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-04 10:12:31,425 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-04 10:12:31,425 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 10:12:31,426 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-04 10:12:31,426 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 10:12:31,426 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 10:12:31,426 [12580] 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]
2019-04-04 10:12:31,426 [12580] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-04 10:12:31,427 [12580] 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]
2019-04-04 10:12:31,427 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-04 10:12:31,427 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-04 10:12:31,429 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-04 10:12:31,430 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 10:12:31,430 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-04 10:12:31,430 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-04 10:12:31,431 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-04 10:12:31,431 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-04 10:12:31,431 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-04 10:12:31,432 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-04 10:12:31,432 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-04 10:12:31,432 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-04 10:12:31,435 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-04 10:12:31,435 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 10:12:31,438 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-04 10:12:31,439 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 10:12:31,439 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-04 10:12:31,439 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-04 10:12:31,440 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-04 10:12:31,440 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-04 10:12:31,441 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-04 10:12:31,442 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-04 10:12:31,442 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 10:12:31,444 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-04 10:12:31,445 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-04 10:12:31,445 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-04 10:12:31,445 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-04 10:12:31,446 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-04 10:12:31,446 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 10:12:31,446 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 10:12:31,447 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-04 10:12:31,448 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-04 10:12:31,448 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-04 10:12:31,449 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.myorder] Prepared SQL: [select b.ONo from orderuser a inner join orders b on b.ono=a.ono and b.stdate < now() and (b.enddate is null or date_add(b.enddate, interval 24 hour) > now()) and b.progresstype in (0,2) and b.isopenfront=1 and b.isdeleted=0 where a.userno= ?param0 and a.status in (0,1,2,4,5,8) and a.isdeleted=0]
2019-04-04 10:12:31,452 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-04 10:12:31,452 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 10:12:31,454 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-04 10:12:31,454 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 10:12:31,454 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-04 10:12:31,455 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-04 10:12:31,455 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-04 10:12:31,455 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-04 10:12:31,456 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-04 10:12:31,456 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-04 10:12:31,456 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-04 10:12:31,456 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-04 10:12:31,456 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-04 10:12:31,456 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-04 10:12:31,457 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-04 10:12:31,457 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-04 10:12:31,459 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-04 10:12:31,460 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-04 10:12:31,461 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 10:12:31,462 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-04 10:12:31,463 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-04 10:12:31,463 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-04 10:12:31,463 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-04 10:12:31,464 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-04 10:12:31,465 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-04 10:12:31,525 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-04 10:12:31,527 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-04 10:12:31,528 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-04 10:12:31,530 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-04 10:12:31,530 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-04 10:12:31,531 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 10:12:31,531 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-04 10:12:31,532 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-04 10:12:31,533 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-04 10:12:31,533 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-04 10:12:31,533 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-04 10:12:31,534 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-04 10:12:31,534 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-04 10:12:31,536 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-04 10:12:31,536 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 10:12:31,536 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-04 10:12:31,536 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-04 10:12:31,537 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-04 10:12:31,537 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-04 10:12:31,537 [12580] 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]
2019-04-04 10:12:31,539 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-04 10:12:31,539 [12580] 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]
2019-04-04 10:12:31,540 [12580] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 10:12:31,540 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 10:12:31,540 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-04 10:12:31,542 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-04 10:12:31,542 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-04 10:12:31,544 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 10:12:31,545 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 10:12:31,545 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 10:12:31,556 [12580] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 10:12:31,556 [12580] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 10:12:31,556 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-04 10:12:31,556 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-04 10:12:31,803 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16050496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:12:31,826 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16050496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:12:31,829 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 10:12:31,829 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 10:12:31,829 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 10:12:31,835 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41308708" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:12:31,838 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41308708" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:12:31,852 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-04 10:12:31,852 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-04 10:12:31,857 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23997888" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:12:32,316 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23997888" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:12:41,366 [600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 10:12:41,366 [600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 10:12:41,366 [600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 10:12:41,373 [600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23966482" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:12:41,378 [600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23966482" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:12:41,378 [600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 10:12:41,378 [600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 10:12:41,390 [600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46784835" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:12:41,432 [600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46784835" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:15:29,091 [5996] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 10:15:29,091 [5996] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 10:15:29,091 [5996] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 10:15:29,097 [5996] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27575779" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:15:29,101 [5996] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27575779" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:15:29,101 [5996] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 10:15:29,101 [5996] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 10:15:29,106 [5996] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "18305845" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:15:29,531 [5996] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "18305845" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:15:57,329 [600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 10:15:57,329 [600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 10:15:57,329 [600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 10:15:57,334 [600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37635356" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:15:57,338 [600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37635356" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:15:57,338 [600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 10:15:57,338 [600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 10:15:57,343 [600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32193155" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:15:57,375 [600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32193155" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:32:01,010 [820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 10:32:01,010 [820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 10:32:01,010 [820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 10:32:01,118 [820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23280079" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:32:01,122 [820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23280079" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:32:01,126 [820] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','PayList','JobExp','IndExp','SchoolCode','Language','LanguageTest') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 10:32:01,126 [820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','PayList','JobExp','IndExp','SchoolCode','Language','LanguageTest') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 10:32:01,132 [820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43134975" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:32:01,569 [820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43134975" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:32:01,569 [820] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-04 10:32:01,569 [820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-04 10:32:01,569 [820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Parameters: [?param0=[Status,1]]
2019-04-04 10:32:01,569 [820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Types: [?param0=[Int32, System.Int32]]
2019-04-04 10:32:01,576 [820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61665251" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 10:32:01,590 [820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61665251" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:24,601 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-04 11:11:24,608 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 11:11:24,609 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-04 11:11:24,610 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-04 11:11:24,610 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-04 11:11:24,610 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-04 11:11:24,610 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-04 11:11:24,610 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 11:11:24,610 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 11:11:24,611 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 11:11:24,611 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 11:11:24,611 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 11:11:24,611 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 11:11:24,611 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 11:11:24,611 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-04 11:11:24,613 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,621 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-04 11:11:24,622 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,628 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-04 11:11:24,628 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,630 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-04 11:11:24,630 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-04 11:11:24,631 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 11:11:24,631 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-04 11:11:24,631 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 11:11:24,631 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-04 11:11:24,632 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-04 11:11:24,632 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-04 11:11:24,632 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-04 11:11:24,632 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-04 11:11:24,632 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-04 11:11:24,632 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-04 11:11:24,634 [10176] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 11:11:24,635 [10176] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:11:24,635 [10176] 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.isdeleted=0]
2019-04-04 11:11:24,636 [10176] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-04 11:11:24,637 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-04 11:11:24,637 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-04 11:11:24,638 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-04 11:11:24,638 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,638 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-04 11:11:24,639 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-04 11:11:24,639 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 11:11:24,639 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-04 11:11:24,639 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-04 11:11:24,639 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-04 11:11:24,639 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-04 11:11:24,640 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-04 11:11:24,641 [10176] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 11:11:24,641 [10176] 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]
2019-04-04 11:11:24,641 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-04 11:11:24,641 [10176] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-04 11:11:24,641 [10176] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-04 11:11:24,642 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-04 11:11:24,642 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,643 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-04 11:11:24,643 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,643 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,643 [10176] 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]
2019-04-04 11:11:24,644 [10176] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-04 11:11:24,644 [10176] 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]
2019-04-04 11:11:24,644 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-04 11:11:24,644 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-04 11:11:24,645 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-04 11:11:24,645 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 11:11:24,646 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-04 11:11:24,646 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-04 11:11:24,646 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-04 11:11:24,646 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-04 11:11:24,646 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-04 11:11:24,646 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-04 11:11:24,647 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-04 11:11:24,647 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-04 11:11:24,648 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-04 11:11:24,648 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,650 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-04 11:11:24,650 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,650 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-04 11:11:24,651 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-04 11:11:24,651 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-04 11:11:24,651 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-04 11:11:24,651 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-04 11:11:24,652 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-04 11:11:24,652 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 11:11:24,653 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-04 11:11:24,654 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-04 11:11:24,654 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-04 11:11:24,654 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-04 11:11:24,655 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-04 11:11:24,655 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 11:11:24,655 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 11:11:24,655 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-04 11:11:24,656 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-04 11:11:24,656 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-04 11:11:24,656 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.myorder] Prepared SQL: [select b.ONo from orderuser a inner join orders b on b.ono=a.ono and b.stdate < now() and (b.enddate is null or date_add(b.enddate, interval 24 hour) > now()) and b.progresstype in (0,2) and b.isopenfront=1 and b.isdeleted=0 where a.userno= ?param0 and a.status in (0,1,2,4,5,8) and a.isdeleted=0]
2019-04-04 11:11:24,658 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-04 11:11:24,659 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,659 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-04 11:11:24,659 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,660 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-04 11:11:24,660 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-04 11:11:24,660 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-04 11:11:24,660 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-04 11:11:24,660 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-04 11:11:24,660 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-04 11:11:24,660 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-04 11:11:24,660 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-04 11:11:24,660 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-04 11:11:24,660 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-04 11:11:24,660 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-04 11:11:24,661 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-04 11:11:24,661 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-04 11:11:24,662 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-04 11:11:24,664 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 11:11:24,664 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-04 11:11:24,666 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-04 11:11:24,666 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-04 11:11:24,666 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-04 11:11:24,666 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-04 11:11:24,666 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-04 11:11:24,667 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-04 11:11:24,668 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-04 11:11:24,669 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-04 11:11:24,672 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-04 11:11:24,672 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-04 11:11:24,672 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,672 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-04 11:11:24,673 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-04 11:11:24,673 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-04 11:11:24,674 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-04 11:11:24,674 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-04 11:11:24,674 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-04 11:11:24,676 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-04 11:11:24,677 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-04 11:11:24,677 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 11:11:24,678 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-04 11:11:24,678 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-04 11:11:24,679 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-04 11:11:24,679 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-04 11:11:24,679 [10176] 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]
2019-04-04 11:11:24,680 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-04 11:11:24,680 [10176] 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]
2019-04-04 11:11:24,680 [10176] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 11:11:24,680 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 11:11:24,680 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-04 11:11:24,681 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-04 11:11:24,681 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-04 11:11:24,683 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 11:11:24,683 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 11:11:24,683 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 11:11:24,688 [10176] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 11:11:24,688 [10176] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 11:11:24,689 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-04 11:11:24,689 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-04 11:11:24,854 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26682452" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:24,891 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26682452" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:24,896 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:11:24,897 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:11:24,897 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:11:24,903 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46243190" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:24,917 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46243190" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:24,960 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 order by a.Sort]
2019-04-04 11:11:24,960 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 order by a.Sort]
2019-04-04 11:11:24,970 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59867235" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:24,984 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59867235" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:24,984 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','SchoolCode','JobExp','IndExp') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:11:24,985 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','SchoolCode','JobExp','IndExp') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:11:24,991 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38637547" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:25,367 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38637547" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:31,789 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:11:31,789 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:11:31,789 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:11:31,794 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39086322" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:31,796 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39086322" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:31,797 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.users] Prepared SQL: [select a.*, b.sname SchoolName from ( select a.UserNo,b.UserName,b.Sex,b.UserType ,CAST(AES_DECRYPT(UNHEX(b.userid), 'N_P123@!' ) AS char) Email ,b.Birth,b.CompanyName,b.CareerKeyword,b.DBSrc,b.CDT,b.FGNo,b.UDT,b.AdminNo,b.IsBlackList ,a.SchoolSeqNo ,case when ?param0 = b.adminno then 1 else 0 end IsMyUser ,row_number() over(order by b.birth asc) RNO ,count(a.userno) over() PageTotalCount from ( select a.UserNo ,max(case when ?param1 is null or b.sname like concat('%', ?param1 ,'%') then 1 else 0 end) IsSchool ,max(case when ?param2 is null or b.SchoolMajorName like concat('%', ?param2 ,'%') then 1 else 0 end) IsSchoolMajor ,max(case when ?param3 is null or ?param3 like concat('%,', b.SGubun,',%') then 1 else 0 end) IsSGubun ,max(case when ?param4 is null or b.IsAbroad = ?param4 then 1 else 0 end) IsAbroad ,0 IsSCCK ,0 IsSCUC ,0 IsSCCI ,max(case when ?param5 is not null and ?param6 is not null and d.userno is not null then 1 else 0 end) IsSCCM ,max(case when ?param5 is not null and ?param7 is not null and e.userno is not null then 1 else 0 end) IsSCFG ,0 IsSCCN ,max(case when ?param8 is not null and ?param9 is not null and a.CareerKeyword like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCK ,max(case when ?param8 is not null and ?param10 is not null and c.companyname like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCUC ,max(case when ?param8 is not null and ?param11 is not null and a.CareerInfoText2 like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCI ,max(case when ?param8 is not null and ?param6 is not null and d2.userno is not null then 1 else 0 end) IsNotSCCM ,max(case when ?param8 is not null and ?param7 is not null and e2.userno is not null then 1 else 0 end) IsNotSCFG ,max(case when ?param8 is not null and ?param12 is not null and a.companyname like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCN ,max(b.seqno) SchoolSeqNo ,max(case when ?param13 is not null and a.username = ?param13 then 1 else 0 end) IsUserNameLike from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 left outer join usercareer c on c.userno=a.userno and c.isdeleted=0 and ?param10 is not null left outer join (select null userno) d on ?param6 is not null left outer join (select distinct BaseNo UserNo from comments where cmttype=1 and isdeleted=0 and ?param8 is not null and memo like concat('%', ?param8 ,'%')) d2 on d2.userno=a.userno and ?param8 is not null left outer join (select null userno) e on ?param7 is not null left outer join (select distinct a.UserNo from users a inner join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where ?param8 is not null and a.fgno is not null and b.orgname like concat('%', ?param8 ,'%') ) e2 on e2.userno=a.userno and ?param8 is not null where a.usergroup=0 and a.isdeleted=0 and a.Status <> 7 and a.username= ?param14 group by a.UserNo having ((isschool=1 and isschoolmajor=1 and issgubun=1 and isabroad=1) or ?param13 is not null) ) a inner join users b on b.userno=a.userno ) a left outer join userschool b on b.userno=a.userno and b.seqno=a.schoolseqno and b.isdeleted=0 where RNO between 1 and 20 order by a.rno]
2019-04-04 11:11:31,797 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.users] PreparedStatement : [select a.*, b.sname SchoolName from ( select a.UserNo,b.UserName,b.Sex,b.UserType ,CAST(AES_DECRYPT(UNHEX(b.userid), 'N_P123@!' ) AS char) Email ,b.Birth,b.CompanyName,b.CareerKeyword,b.DBSrc,b.CDT,b.FGNo,b.UDT,b.AdminNo,b.IsBlackList ,a.SchoolSeqNo ,case when ?param0 = b.adminno then 1 else 0 end IsMyUser ,row_number() over(order by b.birth asc) RNO ,count(a.userno) over() PageTotalCount from ( select a.UserNo ,max(case when ?param1 is null or b.sname like concat('%', ?param1 ,'%') then 1 else 0 end) IsSchool ,max(case when ?param2 is null or b.SchoolMajorName like concat('%', ?param2 ,'%') then 1 else 0 end) IsSchoolMajor ,max(case when ?param3 is null or ?param3 like concat('%,', b.SGubun,',%') then 1 else 0 end) IsSGubun ,max(case when ?param4 is null or b.IsAbroad = ?param4 then 1 else 0 end) IsAbroad ,0 IsSCCK ,0 IsSCUC ,0 IsSCCI ,max(case when ?param5 is not null and ?param6 is not null and d.userno is not null then 1 else 0 end) IsSCCM ,max(case when ?param5 is not null and ?param7 is not null and e.userno is not null then 1 else 0 end) IsSCFG ,0 IsSCCN ,max(case when ?param8 is not null and ?param9 is not null and a.CareerKeyword like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCK ,max(case when ?param8 is not null and ?param10 is not null and c.companyname like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCUC ,max(case when ?param8 is not null and ?param11 is not null and a.CareerInfoText2 like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCI ,max(case when ?param8 is not null and ?param6 is not null and d2.userno is not null then 1 else 0 end) IsNotSCCM ,max(case when ?param8 is not null and ?param7 is not null and e2.userno is not null then 1 else 0 end) IsNotSCFG ,max(case when ?param8 is not null and ?param12 is not null and a.companyname like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCN ,max(b.seqno) SchoolSeqNo ,max(case when ?param13 is not null and a.username = ?param13 then 1 else 0 end) IsUserNameLike from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 left outer join usercareer c on c.userno=a.userno and c.isdeleted=0 and ?param10 is not null left outer join (select null userno) d on ?param6 is not null left outer join (select distinct BaseNo UserNo from comments where cmttype=1 and isdeleted=0 and ?param8 is not null and memo like concat('%', ?param8 ,'%')) d2 on d2.userno=a.userno and ?param8 is not null left outer join (select null userno) e on ?param7 is not null left outer join (select distinct a.UserNo from users a inner join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where ?param8 is not null and a.fgno is not null and b.orgname like concat('%', ?param8 ,'%') ) e2 on e2.userno=a.userno and ?param8 is not null where a.usergroup=0 and a.isdeleted=0 and a.Status <> 7 and a.username= ?param14 group by a.UserNo having ((isschool=1 and isschoolmajor=1 and issgubun=1 and isabroad=1) or ?param13 is not null) ) a inner join users b on b.userno=a.userno ) a left outer join userschool b on b.userno=a.userno and b.seqno=a.schoolseqno and b.isdeleted=0 where RNO between 1 and 20 order by a.rno]
2019-04-04 11:11:31,797 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.users] Parameters: [?param0=[SUserNo,1252], ?param1=[SNameLike,null], ?param2=[SchoolMajorNameLike,null], ?param3=[SGubun,null], ?param4=[IsAbroad,null], ?param5=[SearchText,null], ?param6=[SCCM,null], ?param7=[SCFG,null], ?param8=[SearchTextNot,null], ?param9=[SCCK,null], ?param10=[SCUC,null], ?param11=[SCCI,null], ?param12=[SCCN,null], ?param13=[UserNameLike,null], ?param14=[UserName,test3]]
2019-04-04 11:11:31,797 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.users] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[System.DBNull, null], ?param4=[System.DBNull, null], ?param5=[System.DBNull, null], ?param6=[System.DBNull, null], ?param7=[System.DBNull, null], ?param8=[System.DBNull, null], ?param9=[System.DBNull, null], ?param10=[System.DBNull, null], ?param11=[System.DBNull, null], ?param12=[System.DBNull, null], ?param13=[System.DBNull, null], ?param14=[String, System.String]]
2019-04-04 11:11:31,801 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36181605" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:31,927 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36181605" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:31,929 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.comments.count] Prepared SQL: [select a.BaseNo UserNo,count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202601) and a.isdeleted=0 group by a.BaseNo]
2019-04-04 11:11:31,929 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.comments.count] PreparedStatement : [select a.BaseNo UserNo,count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202601) and a.isdeleted=0 group by a.BaseNo]
2019-04-04 11:11:31,934 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33163964" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:31,981 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33163964" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:31,981 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 order by a.Sort]
2019-04-04 11:11:31,981 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 order by a.Sort]
2019-04-04 11:11:31,986 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14421545" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:31,997 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14421545" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:31,997 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','SchoolCode','JobExp','IndExp') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:11:31,997 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','SchoolCode','JobExp','IndExp') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:11:32,002 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35567111" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:32,023 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35567111" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:32,025 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo in (670680)]
2019-04-04 11:11:32,026 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo in (670680)]
2019-04-04 11:11:32,030 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65066874" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:32,043 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65066874" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,180 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:11:33,180 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:11:33,180 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:11:33,187 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3318699" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,191 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3318699" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,198 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 11:11:33,198 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,202601], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,2], ?param4=[LogActivity,0], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 11:11:33,198 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 11:11:33,204 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42629054" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,232 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42629054" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,232 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.userview] PreparedStatement : [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-04 11:11:33,232 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.userview] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:11:33,232 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.userview] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:33,237 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33771145" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,248 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33771145" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,248 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:11:33,248 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:11:33,248 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670680]]
2019-04-04 11:11:33,248 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:33,254 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41572837" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,258 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41572837" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,258 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:11:33,258 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:11:33,258 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670681]]
2019-04-04 11:11:33,258 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:33,262 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61799993" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,265 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61799993" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,266 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-04 11:11:33,266 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-04 11:11:33,266 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:11:33,266 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:33,272 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "4898379" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,284 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "4898379" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,284 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] PreparedStatement : [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-04 11:11:33,284 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:11:33,284 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:33,289 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47022312" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,368 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47022312" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,368 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 11:11:33,368 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,1], ?param1=[BaseNo,202601]]
2019-04-04 11:11:33,368 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-04 11:11:33,374 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62103957" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,410 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62103957" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,411 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.myorder] Prepared SQL: [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-04 11:11:33,411 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] PreparedStatement : [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-04 11:11:33,411 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:11:33,411 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:33,415 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16145044" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,817 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16145044" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,817 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] PreparedStatement : [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 11:11:33,818 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:11:33,818 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:33,823 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "60495737" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:33,826 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "60495737" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,048 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:11:36,048 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:11:36,048 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:11:36,052 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45865146" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,056 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45865146" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,056 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.user] PreparedStatement : [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-04 11:11:36,056 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.user] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:11:36,056 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.user] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:36,060 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32799678" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,068 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32799678" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,068 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-04 11:11:36,068 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-04 11:11:36,068 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:11:36,068 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:36,073 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63680387" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,077 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63680387" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,078 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] PreparedStatement : [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-04 11:11:36,078 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:11:36,078 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:36,082 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33331245" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,158 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33331245" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,159 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','PayList','JobExp','IndExp','SchoolCode','Language','LanguageTest') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:11:36,159 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','PayList','JobExp','IndExp','SchoolCode','Language','LanguageTest') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:11:36,163 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22618271" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,193 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22618271" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,193 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:11:36,193 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:11:36,193 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670680]]
2019-04-04 11:11:36,193 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:36,197 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34553470" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,201 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34553470" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,201 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:11:36,201 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:11:36,201 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670681]]
2019-04-04 11:11:36,201 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:36,205 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15398446" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,209 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15398446" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,209 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-04 11:11:36,209 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-04 11:11:36,209 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Parameters: [?param0=[Status,1]]
2019-04-04 11:11:36,209 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Types: [?param0=[Int32, System.Int32]]
2019-04-04 11:11:36,213 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16326354" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,221 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16326354" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,221 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-04 11:11:36,221 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.orderuser] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:11:36,221 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.orderuser] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:36,225 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61793871" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,230 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61793871" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,230 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 11:11:36,231 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,1], ?param1=[BaseNo,202601]]
2019-04-04 11:11:36,231 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-04 11:11:36,234 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "8000841" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,278 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "8000841" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,278 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.myorder] Prepared SQL: [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-04 11:11:36,278 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] PreparedStatement : [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-04 11:11:36,278 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:11:36,278 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:36,284 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56496932" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,374 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56496932" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,374 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] PreparedStatement : [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 11:11:36,374 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:11:36,374 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:11:36,378 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16886276" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:11:36,382 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16886276" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,635 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:12:29,636 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:12:29,636 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:12:29,644 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52772710" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,647 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52772710" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,647 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 11:12:29,647 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,202601], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,2], ?param4=[LogActivity,0], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 11:12:29,647 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 11:12:29,656 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16197465" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,680 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16197465" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,680 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.userview] PreparedStatement : [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-04 11:12:29,680 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.userview] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:12:29,680 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.userview] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:29,685 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "60116324" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,692 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "60116324" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,693 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:12:29,693 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:12:29,693 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670680]]
2019-04-04 11:12:29,693 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:29,700 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48850190" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,704 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48850190" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,705 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:12:29,705 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:12:29,705 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670681]]
2019-04-04 11:12:29,705 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:29,710 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56700744" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,713 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56700744" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,713 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-04 11:12:29,713 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-04 11:12:29,713 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:12:29,713 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:29,719 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43029165" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,725 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43029165" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,725 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] PreparedStatement : [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-04 11:12:29,725 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:12:29,725 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:29,729 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19365308" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,806 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19365308" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,806 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 11:12:29,806 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,1], ?param1=[BaseNo,202601]]
2019-04-04 11:12:29,806 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-04 11:12:29,812 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55780126" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,850 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55780126" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,850 [10176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.myorder] Prepared SQL: [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-04 11:12:29,850 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] PreparedStatement : [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-04 11:12:29,850 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:12:29,850 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:29,855 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "5283813" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,959 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "5283813" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,959 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] PreparedStatement : [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 11:12:29,959 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:12:29,959 [10176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:29,979 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15309770" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:29,996 [10176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15309770" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,039 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:12:31,039 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:12:31,039 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:12:31,044 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "28763203" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,046 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "28763203" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,046 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.user] PreparedStatement : [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-04 11:12:31,046 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.user] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:12:31,046 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.user] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:31,051 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "57605583" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,057 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "57605583" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,057 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-04 11:12:31,057 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-04 11:12:31,057 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:12:31,057 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:31,062 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51031801" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,067 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51031801" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,067 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] PreparedStatement : [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-04 11:12:31,067 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:12:31,067 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:31,071 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9128462" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,145 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9128462" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,145 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','PayList','JobExp','IndExp','SchoolCode','Language','LanguageTest') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:12:31,145 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','PayList','JobExp','IndExp','SchoolCode','Language','LanguageTest') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:12:31,149 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2208787" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,177 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2208787" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,177 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:12:31,177 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:12:31,177 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670680]]
2019-04-04 11:12:31,177 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:31,181 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14616266" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,185 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14616266" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,186 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:12:31,186 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 11:12:31,186 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670681]]
2019-04-04 11:12:31,186 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:31,191 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3930951" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,194 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3930951" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,194 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-04 11:12:31,194 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-04 11:12:31,195 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Parameters: [?param0=[Status,1]]
2019-04-04 11:12:31,195 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Types: [?param0=[Int32, System.Int32]]
2019-04-04 11:12:31,199 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11227474" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,209 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11227474" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,209 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-04 11:12:31,210 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.orderuser] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:12:31,210 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.orderuser] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:31,214 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12763355" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,220 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12763355" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,220 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 11:12:31,220 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,1], ?param1=[BaseNo,202601]]
2019-04-04 11:12:31,221 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-04 11:12:31,225 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2482114" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,273 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2482114" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,273 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.myorder] Prepared SQL: [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-04 11:12:31,273 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] PreparedStatement : [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-04 11:12:31,273 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:12:31,274 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:31,278 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24729382" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,372 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24729382" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,372 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] PreparedStatement : [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 11:12:31,372 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Parameters: [?param0=[UserNo,202601]]
2019-04-04 11:12:31,372 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Types: [?param0=[Int64, System.Int64]]
2019-04-04 11:12:31,378 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42571914" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:31,380 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42571914" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:57,372 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:12:57,372 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:12:57,372 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:12:57,377 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11900006" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:57,380 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11900006" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:57,383 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:12:57,383 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:12:57,383 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 11:12:57,383 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 11:12:57,387 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29610714" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:57,453 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29610714" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:57,453 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:12:57,454 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:12:57,459 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21854613" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:57,467 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21854613" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:57,467 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:12:57,467 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:12:57,472 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3314337" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:12:57,515 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3314337" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:04,004 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:13:04,004 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:13:04,004 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:13:04,009 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9616428" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:04,011 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9616428" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:04,012 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType=1 group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:13:04,012 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType=1 group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:13:04,012 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 11:13:04,012 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 11:13:04,016 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20263529" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:04,066 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20263529" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:04,066 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:13:04,066 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:13:04,072 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11553101" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:04,078 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11553101" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:04,078 [2472] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:13:04,078 [2472] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:13:04,082 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24811588" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:04,125 [2472] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24811588" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:05,100 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:13:05,100 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:13:05,100 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:13:05,106 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64219123" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:05,109 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64219123" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:05,109 [10624] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:13:05,109 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:13:05,109 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 11:13:05,109 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 11:13:05,114 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25052438" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:05,168 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25052438" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:05,168 [10624] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:13:05,168 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:13:05,173 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51803751" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:05,181 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51803751" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:05,181 [10624] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:13:05,181 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:13:05,186 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "5912203" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:05,223 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "5912203" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:10,647 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:13:10,647 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:13:10,647 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:13:10,661 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34336177" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:13:10,664 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34336177" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:02,195 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:14:02,195 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:14:02,195 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:14:02,199 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46864006" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:02,203 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46864006" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:02,203 [10624] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:14:02,203 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:14:02,203 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 11:14:02,203 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 11:14:02,207 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "40132128" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:02,263 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "40132128" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:02,263 [10624] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:14:02,263 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:14:02,267 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32140736" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:02,274 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32140736" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:02,275 [10624] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:14:02,275 [10624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:14:02,279 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14427865" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:02,317 [10624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14427865" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:15,325 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:14:15,325 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:14:15,325 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:14:15,330 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52356628" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:15,333 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52356628" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:15,333 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType=1 group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:14:15,333 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType=1 group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:14:15,334 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 11:14:15,334 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 11:14:15,338 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15337950" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:15,392 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15337950" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:15,392 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:14:15,392 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:14:15,399 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13362082" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:15,405 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13362082" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:15,405 [10992] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:14:15,405 [10992] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:14:15,409 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50762242" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:15,455 [10992] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50762242" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,098 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:14:16,099 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:14:16,099 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:14:16,103 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46853828" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,106 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46853828" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,106 [8864] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:14:16,106 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:14:16,107 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 11:14:16,107 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 11:14:16,111 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25599999" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,165 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25599999" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,165 [8864] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:14:16,165 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:14:16,180 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53387259" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,187 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53387259" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,187 [8864] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:14:16,187 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:14:16,195 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47619832" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,239 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47619832" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,717 [8924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:14:16,717 [8924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:14:16,717 [8924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:14:16,724 [8924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48430908" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,730 [8924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48430908" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,730 [8924] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType=3 group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:14:16,730 [8924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType=3 group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:14:16,730 [8924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 11:14:16,730 [8924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 11:14:16,734 [8924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16701302" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,784 [8924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16701302" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,784 [8924] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:14:16,784 [8924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:14:16,788 [8924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12753815" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,795 [8924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12753815" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,795 [8924] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:14:16,795 [8924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:14:16,799 [8924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "4863577" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:16,841 [8924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "4863577" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:17,334 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 11:14:17,334 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 11:14:17,334 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 11:14:17,338 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1420022" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:17,342 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1420022" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:17,342 [8864] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:14:17,342 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 11:14:17,342 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 11:14:17,342 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 11:14:17,346 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25192566" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:17,397 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25192566" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:17,397 [8864] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:14:17,397 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 11:14:17,401 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26904055" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:17,409 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26904055" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:17,409 [8864] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:14:17,409 [8864] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 11:14:17,413 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3933113" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 11:14:17,456 [8864] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3933113" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:09,081 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-04 13:12:09,093 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 13:12:09,094 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-04 13:12:09,095 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-04 13:12:09,095 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-04 13:12:09,095 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-04 13:12:09,095 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-04 13:12:09,095 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 13:12:09,096 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 13:12:09,096 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 13:12:09,096 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 13:12:09,096 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 13:12:09,096 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 13:12:09,097 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 13:12:09,098 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-04 13:12:09,099 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,099 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-04 13:12:09,099 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,105 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-04 13:12:09,105 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,106 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-04 13:12:09,107 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-04 13:12:09,107 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 13:12:09,107 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-04 13:12:09,107 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 13:12:09,107 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-04 13:12:09,109 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-04 13:12:09,109 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-04 13:12:09,109 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-04 13:12:09,110 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-04 13:12:09,110 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-04 13:12:09,110 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-04 13:12:09,127 [15792] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 13:12:09,128 [15792] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:12:09,128 [15792] 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.isdeleted=0]
2019-04-04 13:12:09,128 [15792] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-04 13:12:09,129 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-04 13:12:09,130 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-04 13:12:09,131 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-04 13:12:09,131 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,131 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-04 13:12:09,131 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-04 13:12:09,131 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 13:12:09,132 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-04 13:12:09,132 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-04 13:12:09,132 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-04 13:12:09,132 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-04 13:12:09,152 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-04 13:12:09,173 [15792] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 13:12:09,173 [15792] 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]
2019-04-04 13:12:09,173 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-04 13:12:09,173 [15792] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-04 13:12:09,173 [15792] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-04 13:12:09,174 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-04 13:12:09,174 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,175 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-04 13:12:09,175 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,175 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,175 [15792] 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]
2019-04-04 13:12:09,176 [15792] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-04 13:12:09,176 [15792] 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]
2019-04-04 13:12:09,176 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-04 13:12:09,176 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-04 13:12:09,198 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-04 13:12:09,199 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 13:12:09,199 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-04 13:12:09,199 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-04 13:12:09,200 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-04 13:12:09,200 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-04 13:12:09,201 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-04 13:12:09,201 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-04 13:12:09,202 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-04 13:12:09,202 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-04 13:12:09,205 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-04 13:12:09,205 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,211 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-04 13:12:09,211 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,212 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-04 13:12:09,212 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-04 13:12:09,213 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-04 13:12:09,213 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-04 13:12:09,214 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-04 13:12:09,215 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-04 13:12:09,216 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 13:12:09,237 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-04 13:12:09,238 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-04 13:12:09,238 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-04 13:12:09,238 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-04 13:12:09,239 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-04 13:12:09,240 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 13:12:09,240 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 13:12:09,240 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-04 13:12:09,243 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-04 13:12:09,243 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-04 13:12:09,244 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.myorder] Prepared SQL: [select b.ONo from orderuser a inner join orders b on b.ono=a.ono and b.stdate < now() and (b.enddate is null or date_add(b.enddate, interval 24 hour) > now()) and b.progresstype in (0,2) and b.isopenfront=1 and b.isdeleted=0 where a.userno= ?param0 and a.status in (0,1,2,4,5,8) and a.isdeleted=0]
2019-04-04 13:12:09,249 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-04 13:12:09,249 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,250 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-04 13:12:09,250 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,251 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-04 13:12:09,251 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-04 13:12:09,252 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-04 13:12:09,252 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-04 13:12:09,252 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-04 13:12:09,252 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-04 13:12:09,252 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-04 13:12:09,253 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-04 13:12:09,253 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-04 13:12:09,253 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-04 13:12:09,253 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-04 13:12:09,254 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-04 13:12:09,255 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-04 13:12:09,267 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-04 13:12:09,269 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 13:12:09,269 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-04 13:12:09,286 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-04 13:12:09,286 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-04 13:12:09,287 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-04 13:12:09,287 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-04 13:12:09,287 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-04 13:12:09,288 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-04 13:12:09,289 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-04 13:12:09,313 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-04 13:12:09,327 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-04 13:12:09,327 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-04 13:12:09,327 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,327 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-04 13:12:09,344 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-04 13:12:09,345 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-04 13:12:09,345 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-04 13:12:09,345 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-04 13:12:09,345 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-04 13:12:09,346 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-04 13:12:09,346 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-04 13:12:09,347 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 13:12:09,347 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-04 13:12:09,347 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-04 13:12:09,348 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-04 13:12:09,348 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-04 13:12:09,348 [15792] 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]
2019-04-04 13:12:09,349 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-04 13:12:09,349 [15792] 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]
2019-04-04 13:12:09,350 [15792] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:12:09,350 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 13:12:09,350 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-04 13:12:09,364 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-04 13:12:09,365 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-04 13:12:09,366 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 13:12:09,366 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 13:12:09,366 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 13:12:09,383 [15792] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 13:12:09,385 [15792] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 13:12:09,394 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-04 13:12:09,394 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:12:09,581 [15792] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17086942" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:09,654 [15792] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17086942" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:09,661 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:12:09,662 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:12:09,662 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:12:09,669 [15792] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6634578" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:09,677 [15792] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6634578" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:09,722 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-04 13:12:09,722 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-04 13:12:09,728 [15792] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59961695" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:10,191 [15792] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59961695" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:18,047 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:12:18,047 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:12:18,047 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:12:18,053 [15328] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9452180" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:18,056 [15328] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9452180" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:18,057 [15328] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:18,057 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:18,062 [15328] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20582959" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:18,096 [15328] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20582959" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:28,684 [15328] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:28,684 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:28,684 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,48]]
2019-04-04 13:12:28,684 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:12:28,693 [15328] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29431898" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:28,701 [15328] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29431898" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:35,460 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:12:35,461 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,0], ?param3=[PageType,0], ?param4=[POrder,9], ?param5=[PageName,Mypage], ?param6=[PageDesc,±â¾÷ȸ¿ø], ?param7=[PageUrl,], ?param8=[PageHtml,], ?param9=[IsOpen,2], ?param10=[UserType,11], ?param11=[RefCode,], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,48], ?param16=[PPNo,null]]
2019-04-04 13:12:35,461 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[System.DBNull, null]]
2019-04-04 13:12:35,469 [15328] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "57383379" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:35,512 [15328] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "57383379" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:36,141 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:12:36,141 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:12:36,142 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:12:36,147 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49538252" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:36,150 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49538252" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:36,150 [2356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:36,150 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:36,155 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62696216" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:36,587 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62696216" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:40,545 [15328] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:40,545 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:40,545 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,8]]
2019-04-04 13:12:40,545 [15328] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:12:40,561 [15328] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21210599" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:40,573 [15328] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21210599" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:43,794 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:12:43,794 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,0], ?param3=[PageType,0], ?param4=[POrder,8], ?param5=[PageName,Mypage], ?param6=[PageDesc,°³ÀÎȸ¿ø], ?param7=[PageUrl,], ?param8=[PageHtml,], ?param9=[IsOpen,2], ?param10=[UserType,3], ?param11=[RefCode,Menu.AuthMenu], ?param12=[ImageCode,mypage], ?param13=[BGTitle,Mypage], ?param14=[BGDesc,This change is rapidly transforming the talent,skills and performance that are required to lead and manage organizaitons], ?param15=[PNo,8], ?param16=[PPNo,null]]
2019-04-04 13:12:43,794 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[System.DBNull, null]]
2019-04-04 13:12:43,803 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63566392" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:43,832 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63566392" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:44,419 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:12:44,419 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:12:44,419 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:12:44,424 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61669314" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:44,429 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61669314" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:44,429 [14004] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:44,429 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:44,434 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29158541" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:44,470 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29158541" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:48,116 [2356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:48,116 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:12:48,116 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,8]]
2019-04-04 13:12:48,117 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:12:48,122 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "963711" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:12:48,132 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "963711" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:18,751 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:13:18,751 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:13:18,751 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,49]]
2019-04-04 13:13:18,751 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:13:18,757 [15792] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49819435" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:18,766 [15792] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49819435" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:29,772 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:13:29,773 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,1], ?param3=[PageType,2], ?param4=[POrder,1], ?param5=[PageName,Home], ?param6=[PageDesc,MyHome], ?param7=[PageUrl,/My/Index], ?param8=[PageHtml,], ?param9=[IsOpen,1], ?param10=[UserType,0], ?param11=[RefCode,MypageUT3], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,49], ?param16=[PPNo,8]]
2019-04-04 13:13:29,773 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-04 13:13:29,778 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35451336" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:29,823 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35451336" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:30,374 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:13:30,374 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:13:30,374 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:13:30,380 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21647132" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:30,386 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21647132" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:30,387 [5676] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:13:30,387 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:13:30,408 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36736776" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:30,763 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36736776" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:45,745 [5676] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:13:45,745 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:13:45,745 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,70]]
2019-04-04 13:13:45,745 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:13:45,751 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13726014" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:45,760 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13726014" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:55,316 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:13:55,316 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,1], ?param3=[PageType,2], ?param4=[POrder,1], ?param5=[PageName,Home], ?param6=[PageDesc,MyHome], ?param7=[PageUrl,/My/HRIndex], ?param8=[PageHtml,], ?param9=[IsOpen,1], ?param10=[UserType,11], ?param11=[RefCode,MypageUT11], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,70], ?param16=[PPNo,48]]
2019-04-04 13:13:55,317 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-04 13:13:55,322 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2086040" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:55,361 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2086040" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:55,900 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:13:55,900 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:13:55,900 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:13:55,906 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48925409" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:55,909 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48925409" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:55,910 [14004] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:13:55,910 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:13:55,915 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3535220" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:13:55,943 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3535220" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:04,011 [15792] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:14:04,011 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:14:04,011 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,49]]
2019-04-04 13:14:04,011 [15792] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:14:04,039 [15792] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30762943" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:04,055 [15792] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30762943" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:07,012 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:14:07,012 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,1], ?param3=[PageType,2], ?param4=[POrder,1], ?param5=[PageName,Home], ?param6=[PageDesc,MyHome], ?param7=[PageUrl,/My/Index], ?param8=[PageHtml,], ?param9=[IsOpen,1], ?param10=[UserType,11], ?param11=[RefCode,MypageUT3], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,49], ?param16=[PPNo,8]]
2019-04-04 13:14:07,012 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-04 13:14:07,019 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42020956" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:07,048 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42020956" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:07,949 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:14:07,949 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:14:07,949 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:14:07,954 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10818129" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:07,957 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10818129" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:07,958 [2356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:14:07,958 [2356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:14:07,962 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "8253412" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:07,989 [2356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "8253412" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:41,460 [14004] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:14:41,460 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:14:41,460 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,71]]
2019-04-04 13:14:41,460 [14004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:14:41,466 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43730302" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:41,474 [14004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43730302" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:49,733 [15628] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:14:49,733 [15628] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,1], ?param3=[PageType,0], ?param4=[POrder,2], ?param5=[PageName,ä¿ëÇöȲ Á¶È¸], ?param6=[PageDesc,], ?param7=[PageUrl,], ?param8=[PageHtml,], ?param9=[IsOpen,1], ?param10=[UserType,3], ?param11=[RefCode,], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,71], ?param16=[PPNo,48]]
2019-04-04 13:14:49,733 [15628] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-04 13:14:49,742 [15628] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3196068" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:49,767 [15628] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3196068" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:50,288 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:14:50,289 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:14:50,289 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:14:50,294 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24791236" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:50,298 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24791236" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:50,298 [5676] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:14:50,298 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:14:50,303 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64929777" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:14:50,330 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64929777" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:15:56,302 [10164] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:15:56,302 [10164] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:15:56,303 [10164] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,51]]
2019-04-04 13:15:56,303 [10164] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:15:56,309 [10164] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "57148679" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:15:56,318 [10164] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "57148679" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:16:14,110 [15224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:16:14,110 [15224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,1], ?param3=[PageType,0], ?param4=[POrder,3], ?param5=[PageName,ä¿ë°ø°í], ?param6=[PageDesc,], ?param7=[PageUrl,], ?param8=[PageHtml,], ?param9=[IsOpen,1], ?param10=[UserType,3], ?param11=[RefCode,], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,51], ?param16=[PPNo,8]]
2019-04-04 13:16:14,110 [15224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-04 13:16:14,117 [15224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58014215" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:16:14,148 [15224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58014215" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:16:15,106 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:16:15,106 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:16:15,107 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:16:15,112 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39668794" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:16:15,115 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39668794" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:16:15,115 [5676] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:16:15,116 [5676] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:16:15,120 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10140833" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:16:15,146 [5676] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10140833" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:36,723 [8076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:19:36,724 [8076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:19:36,724 [8076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:19:36,730 [8076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42225389" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:36,733 [8076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42225389" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:36,734 [8076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:19:36,734 [8076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:19:36,739 [8076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36905940" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:36,766 [8076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36905940" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:43,771 [1904] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:19:43,771 [1904] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:19:43,771 [1904] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,60]]
2019-04-04 13:19:43,771 [1904] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:19:43,777 [1904] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58844646" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:43,785 [1904] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58844646" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:48,880 [2968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:19:48,880 [2968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,2], ?param3=[PageType,2], ?param4=[POrder,1], ?param5=[PageName,Àüü°ø°í Á¶È¸], ?param6=[PageDesc,], ?param7=[PageUrl,/My/Os], ?param8=[PageHtml,], ?param9=[IsOpen,3], ?param10=[UserType,3], ?param11=[RefCode,Mypage.Os], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,60], ?param16=[PPNo,51]]
2019-04-04 13:19:48,880 [2968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-04 13:19:48,886 [2968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51942182" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:48,919 [2968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51942182" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:49,458 [1904] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:19:49,458 [1904] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:19:49,458 [1904] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:19:49,464 [1904] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52650895" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:49,467 [1904] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52650895" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:49,467 [1904] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:19:49,468 [1904] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:19:49,474 [1904] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34694169" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:19:49,892 [1904] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34694169" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:22:30,566 [14020] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:22:30,566 [14020] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:22:30,566 [14020] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:22:30,572 [14020] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9257328" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:22:30,575 [14020] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9257328" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:22:30,575 [14020] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:22:30,575 [14020] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:22:30,581 [14020] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41725626" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:22:30,612 [14020] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41725626" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:24:44,561 [2968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:24:44,561 [2968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:24:44,561 [2968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:24:44,568 [2968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37245770" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:24:44,570 [2968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37245770" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:24:44,571 [2968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:24:44,571 [2968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:24:44,582 [2968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62787825" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:24:44,610 [2968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62787825" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:24:49,278 [11664] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:24:49,278 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:24:49,278 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,61]]
2019-04-04 13:24:49,278 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:24:49,284 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15142863" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:24:49,293 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15142863" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:13,804 [8076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:25:13,804 [8076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:25:13,804 [8076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:25:13,814 [8076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43814541" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:13,817 [8076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43814541" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:13,817 [8076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:13,817 [8076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:13,822 [8076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63192488" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:13,850 [8076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63192488" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:20,827 [2968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:25:20,827 [2968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:25:20,827 [2968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:25:20,834 [2968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45870702" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:20,837 [2968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45870702" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:20,837 [2968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:20,837 [2968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:20,844 [2968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65271984" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:20,877 [2968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65271984" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:27,711 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:25:27,711 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:25:27,711 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:25:27,717 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3768430" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:27,720 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3768430" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:27,721 [11664] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:27,721 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:27,726 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50435370" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:27,755 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50435370" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:32,335 [4352] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:32,335 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:32,335 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,61]]
2019-04-04 13:25:32,335 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:25:32,340 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31148088" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:32,350 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31148088" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:35,061 [11664] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:35,063 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:35,063 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,61]]
2019-04-04 13:25:35,063 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:25:35,068 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65113229" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:35,077 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65113229" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:42,159 [15948] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:42,159 [15948] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:42,159 [15948] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,61]]
2019-04-04 13:25:42,159 [15948] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:25:42,166 [15948] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16262232" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:42,175 [15948] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16262232" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:56,147 [4352] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:56,147 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:25:56,148 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,61]]
2019-04-04 13:25:56,148 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:25:56,153 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14718343" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:25:56,163 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14718343" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:01,768 [11664] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:01,768 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:01,769 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,51]]
2019-04-04 13:26:01,769 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:26:01,775 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29467765" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:01,783 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29467765" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:09,673 [15948] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:09,673 [15948] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:09,673 [15948] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,60]]
2019-04-04 13:26:09,673 [15948] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:26:09,678 [15948] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37708257" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:09,687 [15948] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37708257" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:13,154 [4352] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:13,154 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:13,154 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,61]]
2019-04-04 13:26:13,154 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:26:13,160 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15879194" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:13,169 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15879194" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:16,335 [15948] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:26:16,335 [15948] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,2], ?param3=[PageType,2], ?param4=[POrder,2], ?param5=[PageName,¸ÂÃãÇü°ø°í Á¶È¸], ?param6=[PageDesc,], ?param7=[PageUrl,/My/Ks], ?param8=[PageHtml,], ?param9=[IsOpen,3], ?param10=[UserType,3], ?param11=[RefCode,Mypage.Ks], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,61], ?param16=[PPNo,51]]
2019-04-04 13:26:16,335 [15948] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-04 13:26:16,347 [15948] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39580743" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:16,380 [15948] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39580743" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:17,504 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:26:17,504 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:26:17,504 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:26:17,511 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29089744" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:17,514 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29089744" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:17,514 [4352] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:17,514 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:17,520 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2578716" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:17,938 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2578716" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:21,288 [4352] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:21,288 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:21,288 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,62]]
2019-04-04 13:26:21,288 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:26:21,294 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25860140" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:21,302 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25860140" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:25,355 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:26:25,356 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,2], ?param3=[PageType,2], ?param4=[POrder,3], ?param5=[PageName,Áö¿øÇöȲ Á¶È¸], ?param6=[PageDesc,], ?param7=[PageUrl,/My/As], ?param8=[PageHtml,], ?param9=[IsOpen,3], ?param10=[UserType,3], ?param11=[RefCode,Mypage.As], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,62], ?param16=[PPNo,51]]
2019-04-04 13:26:25,356 [11664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-04 13:26:25,362 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9219916" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:25,396 [11664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9219916" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:25,918 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:26:25,919 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:26:25,919 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:26:25,924 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62890007" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:25,927 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62890007" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:25,927 [4352] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:25,927 [4352] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:26:25,932 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45228917" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:26:25,962 [4352] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45228917" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:29:11,889 [15252] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:29:11,889 [15252] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:29:11,889 [15252] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,42]]
2019-04-04 13:29:11,889 [15252] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:29:11,925 [15252] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63743590" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:29:11,936 [15252] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63743590" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:33:14,144 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:33:14,144 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:33:14,144 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:33:14,150 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "8300737" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:33:14,154 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "8300737" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:33:14,154 [7940] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:33:14,154 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:33:14,162 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1271092" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:33:14,191 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1271092" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:36:01,083 [7940] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:36:01,083 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:36:01,083 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,49]]
2019-04-04 13:36:01,083 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:36:01,090 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22339591" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:36:01,100 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22339591" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:36:06,270 [14524] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:36:06,270 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:36:06,270 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,70]]
2019-04-04 13:36:06,270 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:36:06,276 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47619221" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:36:06,284 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47619221" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:38:14,964 [7940] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:38:14,965 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:38:14,965 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,49]]
2019-04-04 13:38:14,965 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:38:14,970 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30493172" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:38:14,979 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30493172" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:39:54,791 [15716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:39:54,791 [15716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:39:54,791 [15716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,49]]
2019-04-04 13:39:54,791 [15716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:39:54,796 [15716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6518580" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:39:54,805 [15716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6518580" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:40:08,204 [15716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:40:08,204 [15716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,1], ?param3=[PageType,2], ?param4=[POrder,1], ?param5=[PageName,Home], ?param6=[PageDesc,MyHome], ?param7=[PageUrl,/My/Index], ?param8=[PageHtml,], ?param9=[IsOpen,1], ?param10=[UserType,11], ?param11=[RefCode,MypageUT3], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,49], ?param16=[PPNo,8]]
2019-04-04 13:40:08,204 [15716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-04 13:40:08,219 [15716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53985653" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:40:08,254 [15716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53985653" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:40:08,795 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:40:08,795 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:40:08,795 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:40:08,801 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31998166" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:40:08,804 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31998166" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:40:08,804 [7940] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:40:08,804 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:40:08,809 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41714621" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:40:08,837 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41714621" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:43:08,532 [7940] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:43:08,532 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:43:08,532 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,40]]
2019-04-04 13:43:08,533 [7940] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:43:08,538 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "18347625" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:43:08,548 [7940] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "18347625" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:44:34,679 [13632] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:44:34,679 [13632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:44:34,679 [13632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,8]]
2019-04-04 13:44:34,679 [13632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:44:34,684 [13632] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38950317" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:44:34,693 [13632] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38950317" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:44:44,693 [4152] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:44:44,693 [4152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:44:44,693 [4152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,48]]
2019-04-04 13:44:44,693 [4152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:44:44,699 [4152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "8854297" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:44:44,707 [4152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "8854297" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:44:54,655 [13632] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:44:54,655 [13632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:44:54,655 [13632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,7]]
2019-04-04 13:44:54,655 [13632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:44:54,661 [13632] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "40332136" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:44:54,670 [13632] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "40332136" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:01,070 [4152] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:01,070 [4152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:01,070 [4152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,8]]
2019-04-04 13:45:01,070 [4152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:45:01,123 [4152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "54764953" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:01,158 [4152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "54764953" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:04,980 [14524] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:04,981 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:04,981 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,49]]
2019-04-04 13:45:04,981 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:45:04,987 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63754263" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:04,996 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63754263" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:09,585 [14156] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:09,585 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:09,585 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,49]]
2019-04-04 13:45:09,585 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:45:09,590 [14156] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9712451" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:09,598 [14156] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9712451" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:13,435 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:45:13,435 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,1], ?param3=[PageType,2], ?param4=[POrder,1], ?param5=[PageName,Home], ?param6=[PageDesc,MyHome], ?param7=[PageUrl,/My/Index], ?param8=[PageHtml,], ?param9=[IsOpen,1], ?param10=[UserType,3], ?param11=[RefCode,MypageUT3], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,49], ?param16=[PPNo,8]]
2019-04-04 13:45:13,436 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-04 13:45:13,454 [14156] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31722606" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:13,504 [14156] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31722606" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:18,586 [13604] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:45:18,587 [13604] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:45:18,587 [13604] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:45:18,637 [13604] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49843228" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:18,666 [13604] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49843228" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:18,666 [13604] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:18,666 [13604] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:18,718 [13604] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34897679" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:19,099 [13604] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34897679" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:23,139 [13604] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:23,139 [13604] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:23,139 [13604] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,49]]
2019-04-04 13:45:23,139 [13604] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:45:23,188 [13604] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "8170502" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:23,213 [13604] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "8170502" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:28,542 [14524] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:28,542 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:28,542 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,51]]
2019-04-04 13:45:28,542 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:45:28,550 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56417788" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:28,559 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56417788" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:31,674 [14156] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:31,674 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:31,674 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,60]]
2019-04-04 13:45:31,674 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:45:31,681 [14156] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "60425906" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:31,688 [14156] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "60425906" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:33,678 [14524] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:33,678 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:33,678 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,61]]
2019-04-04 13:45:33,678 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:45:33,684 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11001614" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:33,700 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11001614" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:35,939 [14524] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:35,939 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:45:35,939 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,62]]
2019-04-04 13:45:35,939 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:45:35,950 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25396274" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:45:35,959 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25396274" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:49:10,725 [13632] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:49:10,725 [13632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:49:10,725 [13632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,60]]
2019-04-04 13:49:10,725 [13632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:49:10,732 [13632] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38868816" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:49:10,742 [13632] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38868816" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:49:55,017 [13248] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:49:55,017 [13248] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:49:55,017 [13248] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,31]]
2019-04-04 13:49:55,017 [13248] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:49:55,023 [13248] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45476325" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:49:55,031 [13248] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45476325" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:50:50,408 [13248] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:50:50,408 [13248] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:50:50,408 [13248] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,31]]
2019-04-04 13:50:50,408 [13248] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:50:50,416 [13248] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56420388" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:50:50,425 [13248] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56420388" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:51:08,787 [14156] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:51:08,787 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:51:08,787 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,31]]
2019-04-04 13:51:08,787 [14156] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:51:08,793 [14156] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10655880" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:51:08,801 [14156] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10655880" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:51:37,374 [13248] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:51:37,374 [13248] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:51:37,374 [13248] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,12]]
2019-04-04 13:51:37,374 [13248] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:51:37,380 [13248] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56846462" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:51:37,389 [13248] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56846462" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:51:43,495 [16024] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:51:43,496 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:51:43,496 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,13]]
2019-04-04 13:51:43,496 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:51:43,501 [16024] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22734785" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:51:43,511 [16024] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22734785" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:52:07,548 [5152] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:52:07,549 [5152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:52:07,549 [5152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,71]]
2019-04-04 13:52:07,549 [5152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:52:07,554 [5152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31602823" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:52:07,563 [5152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31602823" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:52:20,182 [5152] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:52:20,182 [5152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:52:20,182 [5152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,13]]
2019-04-04 13:52:20,182 [5152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:52:20,193 [5152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42476115" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:52:20,201 [5152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42476115" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:52:32,960 [16024] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:52:32,960 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:52:32,960 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,60]]
2019-04-04 13:52:32,960 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:52:32,966 [16024] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22449346" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:52:32,974 [16024] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22449346" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:55:26,592 [16024] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:55:26,592 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:55:26,592 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,60]]
2019-04-04 13:55:26,592 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-04 13:55:26,599 [16024] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46284418" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:55:26,608 [16024] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46284418" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:55:28,366 [8664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 13:55:28,366 [8664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,2], ?param3=[PageType,2], ?param4=[POrder,1], ?param5=[PageName,Àüü°ø°í Á¶È¸], ?param6=[PageDesc,], ?param7=[PageUrl,/My/Os], ?param8=[PageHtml,], ?param9=[IsOpen,3], ?param10=[UserType,3], ?param11=[RefCode,Mypage.Os], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,60], ?param16=[PPNo,51]]
2019-04-04 13:55:28,366 [8664] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-04 13:55:28,373 [8664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2921340" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:55:28,408 [8664] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2921340" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:55:28,937 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 13:55:28,937 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 13:55:28,937 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 13:55:28,943 [16024] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35784525" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:55:28,946 [16024] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35784525" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:55:28,946 [16024] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:55:28,946 [16024] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-04 13:55:28,951 [16024] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43468623" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 13:55:28,978 [16024] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43468623" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:34,673 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-04 14:36:34,685 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 14:36:34,687 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-04 14:36:34,687 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-04 14:36:34,687 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-04 14:36:34,688 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-04 14:36:34,688 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-04 14:36:34,688 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 14:36:34,688 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 14:36:34,688 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 14:36:34,689 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 14:36:34,689 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 14:36:34,689 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 14:36:34,691 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 14:36:34,691 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-04 14:36:34,692 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,693 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-04 14:36:34,693 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,704 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-04 14:36:34,704 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,706 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-04 14:36:34,706 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-04 14:36:34,707 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 14:36:34,707 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-04 14:36:34,707 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 14:36:34,707 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-04 14:36:34,710 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-04 14:36:34,710 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-04 14:36:34,710 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-04 14:36:34,710 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-04 14:36:34,710 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-04 14:36:34,710 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-04 14:36:34,714 [10716] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 14:36:34,714 [10716] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:36:34,715 [10716] 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.isdeleted=0]
2019-04-04 14:36:34,715 [10716] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-04 14:36:34,716 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-04 14:36:34,716 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-04 14:36:34,717 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-04 14:36:34,717 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,717 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-04 14:36:34,717 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-04 14:36:34,718 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 14:36:34,718 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-04 14:36:34,718 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-04 14:36:34,718 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-04 14:36:34,718 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-04 14:36:34,718 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-04 14:36:34,719 [10716] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 14:36:34,720 [10716] 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]
2019-04-04 14:36:34,720 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-04 14:36:34,720 [10716] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-04 14:36:34,720 [10716] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-04 14:36:34,721 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-04 14:36:34,722 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,723 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-04 14:36:34,723 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,723 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,723 [10716] 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]
2019-04-04 14:36:34,723 [10716] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-04 14:36:34,723 [10716] 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]
2019-04-04 14:36:34,724 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-04 14:36:34,724 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-04 14:36:34,725 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-04 14:36:34,725 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:36:34,725 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-04 14:36:34,725 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-04 14:36:34,726 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-04 14:36:34,726 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-04 14:36:34,726 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-04 14:36:34,726 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-04 14:36:34,726 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-04 14:36:34,727 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-04 14:36:34,728 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-04 14:36:34,728 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,730 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-04 14:36:34,730 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,730 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-04 14:36:34,731 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-04 14:36:34,731 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-04 14:36:34,731 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-04 14:36:34,731 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-04 14:36:34,732 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-04 14:36:34,732 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 14:36:34,733 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-04 14:36:34,733 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-04 14:36:34,733 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-04 14:36:34,733 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-04 14:36:34,734 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-04 14:36:34,734 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 14:36:34,734 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 14:36:34,734 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-04 14:36:34,735 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-04 14:36:34,735 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-04 14:36:34,735 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.myorder] Prepared SQL: [select b.ONo from orderuser a inner join orders b on b.ono=a.ono and b.stdate < now() and (b.enddate is null or date_add(b.enddate, interval 24 hour) > now()) and b.progresstype in (0,2) and b.isopenfront=1 and b.isdeleted=0 where a.userno= ?param0 and a.status in (0,1,2,4,5,8) and a.isdeleted=0]
2019-04-04 14:36:34,737 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-04 14:36:34,737 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,738 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-04 14:36:34,738 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,739 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-04 14:36:34,739 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-04 14:36:34,739 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-04 14:36:34,740 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-04 14:36:34,740 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-04 14:36:34,740 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-04 14:36:34,740 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-04 14:36:34,740 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-04 14:36:34,740 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-04 14:36:34,740 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-04 14:36:34,740 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-04 14:36:34,740 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-04 14:36:34,741 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-04 14:36:34,742 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-04 14:36:34,743 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 14:36:34,743 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-04 14:36:34,744 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-04 14:36:34,744 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-04 14:36:34,744 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-04 14:36:34,744 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-04 14:36:34,745 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-04 14:36:34,745 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-04 14:36:34,746 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-04 14:36:34,747 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-04 14:36:34,748 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-04 14:36:34,748 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-04 14:36:34,748 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,748 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-04 14:36:34,749 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-04 14:36:34,749 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-04 14:36:34,749 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-04 14:36:34,749 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-04 14:36:34,749 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-04 14:36:34,750 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-04 14:36:34,750 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-04 14:36:34,750 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 14:36:34,750 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-04 14:36:34,751 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-04 14:36:34,752 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-04 14:36:34,752 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-04 14:36:34,752 [10716] 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]
2019-04-04 14:36:34,753 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-04 14:36:34,753 [10716] 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]
2019-04-04 14:36:34,754 [10716] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 14:36:34,754 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 14:36:34,754 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-04 14:36:34,755 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-04 14:36:34,755 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-04 14:36:34,756 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 14:36:34,756 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 14:36:34,756 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 14:36:34,768 [10716] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 14:36:34,770 [10716] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 14:36:34,777 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-04 14:36:34,777 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:36:34,961 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21199831" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:35,002 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21199831" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:35,004 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:36:35,004 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:36:35,004 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:36:35,010 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36546205" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:35,014 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36546205" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:35,036 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 14:36:35,037 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 14:36:35,037 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 14:36:35,037 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 14:36:35,042 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64267506" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:35,081 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64267506" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:35,082 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:36:35,082 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:36:35,087 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17722076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:35,097 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17722076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:35,097 [10716] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 14:36:35,097 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 14:36:35,103 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55516513" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:35,124 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55516513" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:41,597 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:36:41,597 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:36:41,597 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:36:41,602 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63238509" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:41,604 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63238509" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:41,605 [11440] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 14:36:41,605 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 14:36:41,605 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 14:36:41,605 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 14:36:41,610 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11679222" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:41,639 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11679222" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:41,639 [11440] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:36:41,639 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:36:41,644 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35410979" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:41,651 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35410979" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:41,651 [11440] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 14:36:41,651 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 14:36:41,655 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "57416410" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:41,677 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "57416410" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,746 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:36:45,746 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:36:45,746 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:36:45,752 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7339810" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,754 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7339810" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,759 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 14:36:45,759 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:36:45,759 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:36:45,765 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2192437" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,774 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2192437" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,775 [13332] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:36:45,775 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:36:45,775 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:36:45,775 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:36:45,780 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48657371" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,786 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48657371" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,786 [13332] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:36:45,786 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:36:45,791 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55492274" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,798 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55492274" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,798 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 14:36:45,798 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:36:45,798 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:36:45,803 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39948218" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,814 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39948218" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,815 [13332] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:36:45,815 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:36:45,824 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1689058" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,853 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1689058" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,855 [13332] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-04 14:36:45,855 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-04 14:36:45,856 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9236], ?param1=[KeyWords[0],,2735,]]
2019-04-04 14:36:45,856 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String]]
2019-04-04 14:36:45,861 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30619839" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,914 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30619839" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,915 [13332] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:36:45,915 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:36:45,915 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-04 14:36:45,915 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:36:45,919 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59192235" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,926 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59192235" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,927 [13332] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,202601,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-04 14:36:45,927 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,202601,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-04 14:36:45,932 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42629054" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,942 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42629054" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,942 [13332] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:36:45,942 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:36:45,942 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:36:45,942 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:36:45,949 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33771145" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:45,955 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33771145" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:49,061 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 14:36:49,062 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9236]]
2019-04-04 14:36:49,062 [10716] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-04 14:36:49,069 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16209714" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:49,090 [10716] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16209714" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:54,618 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:36:54,618 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:36:54,618 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:36:54,623 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52364178" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:54,625 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52364178" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:54,626 [13332] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 14:36:54,626 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 14:36:54,626 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 14:36:54,626 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 14:36:54,630 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58426401" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:54,678 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58426401" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:54,678 [13332] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:36:54,678 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:36:54,683 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14293208" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:54,691 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14293208" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:54,691 [13332] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 14:36:54,691 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 14:36:54,695 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59086672" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:54,736 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59086672" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:57,591 [13332] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:36:57,592 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:36:57,592 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:36:57,592 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:36:57,598 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15816579" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:57,601 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15816579" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:57,601 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.getorderfullconsultant] PreparedStatement : [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-04 14:36:57,601 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.getorderfullconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:36:57,601 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.getorderfullconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:36:57,607 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48342539" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:57,610 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48342539" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:57,611 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderprogress.update] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-04 14:36:57,611 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderprogress.update] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[Progress,166], ?param3=[ProgressType,0], ?param4=[ONo,9236]]
2019-04-04 14:36:57,611 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderprogress.update] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32]]
2019-04-04 14:36:57,616 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43843491" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:57,653 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43843491" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:57,654 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 14:36:57,654 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9236], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 14:36:57,654 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 14:36:57,659 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11596458" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:36:57,685 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11596458" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,590 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:37:02,590 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:37:02,590 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:37:02,595 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56140151" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,597 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56140151" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,598 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 14:37:02,598 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:02,598 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:02,603 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1997173" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,610 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1997173" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,610 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:37:02,610 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:37:02,610 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:02,610 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:02,615 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "54718731" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,619 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "54718731" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,619 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:37:02,619 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:37:02,624 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49508310" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,631 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49508310" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,631 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 14:37:02,631 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:02,631 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:02,636 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "108048" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,642 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "108048" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,642 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:37:02,642 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:37:02,647 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6590935" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,697 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6590935" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,698 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-04 14:37:02,698 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-04 14:37:02,698 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9236], ?param1=[KeyWords[0],,2735,]]
2019-04-04 14:37:02,698 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String]]
2019-04-04 14:37:02,703 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "66502754" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,803 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "66502754" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,803 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:37:02,804 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:37:02,804 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-04 14:37:02,804 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:37:02,810 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30136159" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,815 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30136159" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,815 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,202601,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-04 14:37:02,815 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,202601,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-04 14:37:02,821 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26366415" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,829 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26366415" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,829 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:37:02,829 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:37:02,829 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:37:02,829 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:02,834 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64847492" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:02,838 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64847492" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:03,053 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 14:37:03,053 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9236]]
2019-04-04 14:37:03,053 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-04 14:37:03,059 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27778196" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:03,109 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27778196" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,550 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:37:05,550 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:37:05,550 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:37:05,555 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36213758" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,558 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36213758" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,561 [11440] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:37:05,561 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:37:05,561 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:37:05,561 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:05,566 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64651675" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,569 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64651675" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,570 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:37:05,570 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:05,570 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:05,575 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30018436" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,584 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30018436" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,584 [11440] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:37:05,584 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:37:05,584 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:05,584 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:05,589 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61617225" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,593 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61617225" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,593 [11440] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:37:05,593 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:37:05,593 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-04 14:37:05,593 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:37:05,598 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "66454027" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,601 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "66454027" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,602 [11440] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:37:05,602 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:37:05,602 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-04 14:37:05,602 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-04 14:37:05,607 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35021870" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,615 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35021870" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,615 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 14:37:05,615 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:05,615 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:05,620 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38350037" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,626 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38350037" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,626 [11440] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:37:05,626 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:37:05,631 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "103653" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:05,643 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "103653" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:17,301 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 14:37:17,302 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[IsOpenFront,1], ?param3=[FrontTitle,1234], ?param4=[FrontContent,¡ÜÁ÷Ã¥
¡Ü¾÷¹«
¡Üä¿ëÁ¶°Ç
], ?param5=[ONo,9236]]
2019-04-04 14:37:17,302 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[String, System.String], ?param4=[String, System.String], ?param5=[Int32, System.Int32]]
2019-04-04 14:37:17,308 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55430947" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:17,335 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55430947" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:17,339 [11440] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.inserttousertype] Prepared SQL: [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-04 14:37:17,339 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] PreparedStatement : [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-04 14:37:17,340 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Parameters: [?param0=[PMNo,null], ?param1=[SendUserGroup,0], ?param2=[MTitle,ȨÆäÀÌÁö °ø°í°¡ µî·ÏµÇ¾ú½À´Ï´Ù.], ?param3=[MContents,½Å±Ô ȨÆäÀÌÁö °ø°í [·¹¾Ë¸ðÀÌÀÇ¿ø/]°¡ µî·ÏµÇ¾ú½À´Ï´Ù. ÇÁ·ÎÁ§Æ® ¸ñ·ÏÀ» È®ÀÎÇØÁÖ¼¼¿ä.], ?param4=[FGNo,null], ?param5=[RefNo,null], ?param6=[RefDesc,], ?param7=[CNO,1252], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 14:37:17,340 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Types: [?param0=[System.DBNull, null], ?param1=[Int32, System.Int32], ?param2=[String, System.String], ?param3=[String, System.String], ?param4=[System.DBNull, null], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[Int64, System.Int64], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 14:37:17,345 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31761888" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:17,401 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31761888" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:17,401 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 14:37:17,401 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9236], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 14:37:17,401 [11440] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 14:37:17,406 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12828686" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:17,436 [11440] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12828686" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:17,988 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:37:17,989 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:37:17,989 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:37:17,995 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45249378" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:17,998 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45249378" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:17,998 [15312] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:37:17,998 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:37:17,998 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:37:17,998 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:18,003 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49406825" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,006 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49406825" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,006 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:37:18,006 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:18,006 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:18,011 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1316054" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,019 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1316054" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,019 [15312] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:37:18,019 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:37:18,019 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:18,019 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:18,024 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2642034" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,028 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2642034" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,028 [15312] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:37:18,028 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:37:18,028 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-04 14:37:18,028 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:37:18,032 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "5810098" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,036 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "5810098" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,036 [15312] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:37:18,036 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:37:18,037 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-04 14:37:18,037 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-04 14:37:18,044 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39499739" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,051 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39499739" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,051 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 14:37:18,051 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:18,051 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:18,056 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13111418" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,062 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13111418" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,062 [15312] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:37:18,062 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:37:18,068 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23816547" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:18,082 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23816547" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:49,650 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 14:37:49,650 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[IsOpenFront,0], ?param3=[FrontTitle,1234], ?param4=[FrontContent,¡ÜÁ÷Ã¥
¡Ü¾÷¹«
¡Üä¿ëÁ¶°Ç
], ?param5=[ONo,9236]]
2019-04-04 14:37:49,650 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[String, System.String], ?param4=[String, System.String], ?param5=[Int32, System.Int32]]
2019-04-04 14:37:49,658 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37859355" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:49,683 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37859355" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:49,683 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 14:37:49,683 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9236], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 14:37:49,683 [13332] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 14:37:49,689 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58618865" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:49,775 [13332] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58618865" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,350 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:37:50,350 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:37:50,350 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:37:50,355 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27354086" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,359 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27354086" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,359 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:37:50,359 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:37:50,359 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:37:50,359 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:50,364 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "57986540" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,367 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "57986540" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,368 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:37:50,368 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:50,368 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:50,373 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47518043" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,380 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47518043" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,380 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:37:50,380 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:37:50,380 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:50,380 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:50,385 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12919499" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,389 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12919499" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,389 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:37:50,389 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:37:50,389 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-04 14:37:50,389 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:37:50,394 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49891972" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,397 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49891972" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,398 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:37:50,398 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:37:50,398 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-04 14:37:50,398 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-04 14:37:50,403 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23511423" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,409 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23511423" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,409 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 14:37:50,410 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:37:50,410 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:37:50,414 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24910686" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,420 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24910686" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,421 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:37:50,421 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:37:50,426 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43156878" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:50,438 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43156878" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:59,522 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 14:37:59,522 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[IsOpenFront,1], ?param3=[FrontTitle,1234], ?param4=[FrontContent,¡ÜÁ÷Ã¥
¡Ü¾÷¹«
¡Üä¿ëÁ¶°Ç
], ?param5=[ONo,9236]]
2019-04-04 14:37:59,522 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[String, System.String], ?param4=[String, System.String], ?param5=[Int32, System.Int32]]
2019-04-04 14:37:59,527 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16421213" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:59,558 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16421213" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:59,558 [15312] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.inserttousertype] Prepared SQL: [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-04 14:37:59,558 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] PreparedStatement : [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-04 14:37:59,558 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Parameters: [?param0=[PMNo,null], ?param1=[SendUserGroup,0], ?param2=[MTitle,ȨÆäÀÌÁö °ø°í°¡ µî·ÏµÇ¾ú½À´Ï´Ù.], ?param3=[MContents,½Å±Ô ȨÆäÀÌÁö °ø°í [·¹¾Ë¸ðÀÌÀÇ¿ø/]°¡ µî·ÏµÇ¾ú½À´Ï´Ù. ÇÁ·ÎÁ§Æ® ¸ñ·ÏÀ» È®ÀÎÇØÁÖ¼¼¿ä.], ?param4=[FGNo,null], ?param5=[RefNo,null], ?param6=[RefDesc,], ?param7=[CNO,1252], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 14:37:59,558 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Types: [?param0=[System.DBNull, null], ?param1=[Int32, System.Int32], ?param2=[String, System.String], ?param3=[String, System.String], ?param4=[System.DBNull, null], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[Int64, System.Int64], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 14:37:59,563 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65017972" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:59,616 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65017972" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:59,616 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 14:37:59,616 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9236], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 14:37:59,616 [15312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 14:37:59,621 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23400471" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:37:59,666 [15312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23400471" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,103 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:38:01,103 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:38:01,103 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:38:01,108 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31809186" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,112 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31809186" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,112 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:38:01,112 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:38:01,112 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:38:01,112 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:38:01,117 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61312212" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,121 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61312212" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,121 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:38:01,121 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:38:01,121 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:38:01,126 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49057421" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,136 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49057421" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,137 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:38:01,137 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:38:01,137 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:38:01,137 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:38:01,142 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39712698" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,146 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39712698" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,146 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:38:01,146 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:38:01,146 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-04 14:38:01,147 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:38:01,152 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6555496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,159 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6555496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,159 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:38:01,159 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:38:01,159 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-04 14:38:01,159 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-04 14:38:01,164 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64340990" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,170 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64340990" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,170 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 14:38:01,170 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:38:01,170 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:38:01,175 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32486298" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,181 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32486298" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,181 [6968] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:38:01,181 [6968] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:38:01,186 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35507182" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:38:01,198 [6968] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35507182" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,626 [16096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:55:05,626 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:55:05,626 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:55:05,626 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:05,766 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64899704" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,769 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64899704" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,770 [16096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:55:05,770 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:55:05,770 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:55:05,770 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:05,775 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27637090" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,779 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27637090" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,780 [16096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:55:05,780 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:55:05,786 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59652897" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,791 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59652897" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,791 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-04 14:55:05,794 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[UserNo,202586], ?param3=[OrderName,º°À» º¸¿©µå¸³´Ï´Ù], ?param4=[Assign,150], ?param5=[IndustryIdx,159], ?param6=[Salary,30000000], ?param7=[Position,null], ?param8=[Premium,20], ?param9=[SalesGubun,1], ?param10=[Sales,6000000], ?param11=[PreSales,0], ?param12=[MiddleSales,0], ?param13=[RemainSales,0], ?param14=[StDate,2019-04-01 ¿ÀÀü 12:00:00], ?param15=[EndDate,2019-04-04 ¿ÀÀü 12:00:00], ?param16=[FGNo,670668], ?param17=[GoalDate,null], ?param18=[KeyWord,2735], ?param19=[KeyWordText,CFO], ?param20=[OrderInfo,

], ?param21=[Progress,166], ?param22=[ProgressType,0], ?param23=[RecommanCount,2], ?param24=[IsLock,0], ?param25=[ONo,9236]]
2019-04-04 14:55:05,794 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int64, System.Int64], ?param3=[String, System.String], ?param4=[Int32, System.Int32], ?param5=[Int32, System.Int32], ?param6=[Double, System.Double], ?param7=[System.DBNull, null], ?param8=[Double, System.Double], ?param9=[Int32, System.Int32], ?param10=[Double, System.Double], ?param11=[Double, System.Double], ?param12=[Double, System.Double], ?param13=[Double, System.Double], ?param14=[DateTime, System.DateTime], ?param15=[DateTime, System.DateTime], ?param16=[Int64, System.Int64], ?param17=[System.DBNull, null], ?param18=[String, System.String], ?param19=[String, System.String], ?param20=[String, System.String], ?param21=[Int32, System.Int32], ?param22=[Int32, System.Int32], ?param23=[Int32, System.Int32], ?param24=[Int32, System.Int32], ?param25=[Int32, System.Int32]]
2019-04-04 14:55:05,799 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59714927" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,825 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59714927" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,825 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:55:05,825 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:55:05,825 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:05,831 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "66476185" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,839 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "66476185" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,839 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 14:55:05,839 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9236], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 14:55:05,839 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 14:55:05,846 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65255812" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:05,876 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65255812" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,085 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:55:07,085 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:55:07,085 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:55:07,091 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64665289" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,096 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64665289" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,096 [7096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:55:07,096 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:55:07,096 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:55:07,096 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:07,102 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "60731599" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,106 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "60731599" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,106 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:55:07,106 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:55:07,106 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:07,112 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61912302" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,119 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61912302" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,120 [7096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:55:07,120 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:55:07,120 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:55:07,120 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:07,127 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "28054347" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,131 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "28054347" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,131 [7096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:55:07,131 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:55:07,131 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-04 14:55:07,131 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:55:07,137 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35809261" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,141 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35809261" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,141 [7096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:55:07,141 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:55:07,142 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-04 14:55:07,142 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-04 14:55:07,148 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23888360" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,155 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23888360" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,155 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 14:55:07,155 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:55:07,155 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:07,161 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17244747" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,168 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17244747" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,168 [7096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:55:07,168 [7096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:55:07,174 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56517414" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:07,186 [7096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56517414" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,660 [1348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:55:21,660 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:55:21,660 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:55:21,660 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:21,668 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35687028" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,672 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35687028" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,672 [1348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:55:21,672 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:55:21,672 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:55:21,672 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:21,678 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31693542" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,683 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31693542" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,683 [1348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:55:21,683 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:55:21,689 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2269826" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,694 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2269826" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,694 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-04 14:55:21,694 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[UserNo,202586], ?param3=[OrderName,º°À» º¸¿©µå¸³´Ï´Ù], ?param4=[Assign,150], ?param5=[IndustryIdx,159], ?param6=[Salary,30000000], ?param7=[Position,null], ?param8=[Premium,20], ?param9=[SalesGubun,1], ?param10=[Sales,6000000], ?param11=[PreSales,0], ?param12=[MiddleSales,0], ?param13=[RemainSales,0], ?param14=[StDate,2019-04-01 ¿ÀÀü 12:00:00], ?param15=[EndDate,null], ?param16=[FGNo,670668], ?param17=[GoalDate,null], ?param18=[KeyWord,2735], ?param19=[KeyWordText,CFO], ?param20=[OrderInfo,
], ?param21=[Progress,166], ?param22=[ProgressType,0], ?param23=[RecommanCount,2], ?param24=[IsLock,0], ?param25=[ONo,9236]]
2019-04-04 14:55:21,694 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int64, System.Int64], ?param3=[String, System.String], ?param4=[Int32, System.Int32], ?param5=[Int32, System.Int32], ?param6=[Double, System.Double], ?param7=[System.DBNull, null], ?param8=[Double, System.Double], ?param9=[Int32, System.Int32], ?param10=[Double, System.Double], ?param11=[Double, System.Double], ?param12=[Double, System.Double], ?param13=[Double, System.Double], ?param14=[DateTime, System.DateTime], ?param15=[System.DBNull, null], ?param16=[Int64, System.Int64], ?param17=[System.DBNull, null], ?param18=[String, System.String], ?param19=[String, System.String], ?param20=[String, System.String], ?param21=[Int32, System.Int32], ?param22=[Int32, System.Int32], ?param23=[Int32, System.Int32], ?param24=[Int32, System.Int32], ?param25=[Int32, System.Int32]]
2019-04-04 14:55:21,701 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15292887" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,825 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15292887" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,825 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:55:21,825 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:55:21,825 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:21,831 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32562778" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,839 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32562778" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,839 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 14:55:21,839 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9236], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 14:55:21,839 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 14:55:21,845 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43815499" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:21,877 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43815499" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,408 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:55:22,408 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:55:22,408 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:55:22,416 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41417137" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,419 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41417137" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,419 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:55:22,419 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:55:22,420 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:55:22,420 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:22,426 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49624873" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,429 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49624873" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,429 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:55:22,429 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:55:22,429 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:22,435 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37575032" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,444 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37575032" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,444 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:55:22,445 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:55:22,445 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:55:22,445 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:22,451 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "18120224" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,456 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "18120224" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,456 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:55:22,456 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:55:22,456 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-04 14:55:22,456 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:55:22,462 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34319462" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,468 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34319462" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,468 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:55:22,468 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:55:22,468 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-04 14:55:22,468 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-04 14:55:22,474 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52894030" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,481 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52894030" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,481 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 14:55:22,481 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:55:22,481 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:55:22,488 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "4336539" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,494 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "4336539" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,495 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:55:22,495 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:55:22,501 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20266963" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:55:22,514 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20266963" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,219 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:56:24,219 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:56:24,219 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:56:24,228 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22081378" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,231 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22081378" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,231 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 14:56:24,231 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:56:24,231 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:24,237 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12167848" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,245 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12167848" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,245 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:56:24,245 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:56:24,245 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:56:24,245 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:24,251 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32789591" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,257 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32789591" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,257 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:24,257 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:24,294 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14236340" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,302 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14236340" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,302 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 14:56:24,302 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9236]]
2019-04-04 14:56:24,302 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:24,309 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65202627" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,317 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65202627" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,317 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:56:24,317 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:56:24,324 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53030727" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,376 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53030727" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,376 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-04 14:56:24,376 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-04 14:56:24,376 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9236], ?param1=[KeyWords[0],,2735,]]
2019-04-04 14:56:24,376 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String]]
2019-04-04 14:56:24,382 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19783366" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,467 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19783366" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,467 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:56:24,467 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:56:24,467 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-04 14:56:24,467 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:56:24,473 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20927874" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,478 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20927874" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,478 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,202601,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-04 14:56:24,478 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,202601,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-04 14:56:24,484 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16039552" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,493 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16039552" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,493 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:56:24,493 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:56:24,493 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:56:24,493 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:24,499 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "530051" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:24,503 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "530051" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:25,068 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 14:56:25,068 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9236]]
2019-04-04 14:56:25,068 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-04 14:56:25,074 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "4276899" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:25,124 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "4276899" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:26,034 [7132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:56:26,034 [7132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:56:26,034 [7132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:56:26,040 [7132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "54456079" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:26,044 [7132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "54456079" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:26,044 [7132] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 14:56:26,045 [7132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 14:56:26,045 [7132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 14:56:26,045 [7132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 14:56:26,051 [7132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31250578" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:26,101 [7132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31250578" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:26,101 [7132] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:26,101 [7132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:26,107 [7132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20622693" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:26,114 [7132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20622693" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:26,115 [7132] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 14:56:26,115 [7132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 14:56:26,121 [7132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38862309" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:26,152 [7132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38862309" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:34,503 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:56:34,503 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:56:34,503 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:56:34,509 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "4449719" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:34,513 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "4449719" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:34,513 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-03-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 14:56:34,513 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-03-01' and '2019-04-04 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-04 14:56:34,513 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-04 14:56:34,513 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-04 14:56:34,519 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33056308" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:34,573 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33056308" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:34,573 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:34,573 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:34,579 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "44375338" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:34,586 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "44375338" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:34,586 [11160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-03-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 14:56:34,586 [11160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-03-01' and '2019-04-04 23:59:59' ) a]
2019-04-04 14:56:34,592 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48357342" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:34,636 [11160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48357342" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,246 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:56:36,246 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:56:36,246 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:56:36,253 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29531943" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,256 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29531943" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,256 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 14:56:36,256 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:56:36,256 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:36,262 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3254480" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,269 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3254480" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,269 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:56:36,269 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:56:36,269 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:56:36,269 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:36,275 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56228628" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,280 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56228628" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,280 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:36,280 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:36,286 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9390624" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,294 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9390624" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,294 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 14:56:36,294 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:56:36,294 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:36,300 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49009660" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,307 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49009660" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,307 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (54083) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:56:36,307 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (54083) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:56:36,313 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65258009" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,369 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65258009" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,369 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:56:36,369 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:56:36,369 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670662]]
2019-04-04 14:56:36,369 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:56:36,376 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7464918" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,380 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7464918" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,381 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:56:36,381 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:56:36,381 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:56:36,381 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:36,387 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45920568" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,391 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45920568" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,646 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 14:56:36,646 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9234]]
2019-04-04 14:56:36,646 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-04 14:56:36,654 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62710086" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:36,707 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62710086" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,190 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:56:41,190 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:56:41,190 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:56:41,197 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22285583" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,200 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22285583" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,200 [16096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:56:41,200 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:56:41,200 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:56:41,200 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:41,206 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13209490" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,210 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13209490" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,210 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:56:41,210 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:56:41,210 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:41,216 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30548342" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,223 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30548342" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,223 [16096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:56:41,223 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:56:41,223 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:56:41,223 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:41,229 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41435013" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,234 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41435013" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,234 [16096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:56:41,234 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:56:41,234 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670662]]
2019-04-04 14:56:41,234 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:56:41,240 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20122588" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,244 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20122588" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,244 [16096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:56:41,244 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:56:41,245 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,1656], ?param1=[UserType,11]]
2019-04-04 14:56:41,245 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-04 14:56:41,251 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45878512" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,259 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45878512" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,259 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 14:56:41,259 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:56:41,259 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:41,264 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34701887" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,271 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34701887" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,271 [16096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:41,271 [16096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:41,277 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24409336" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:41,289 [16096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24409336" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:48,915 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 14:56:48,916 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[IsOpenFront,1], ?param3=[FrontTitle,231231321231231321231231321231231321231231321], ?param4=[FrontContent,¡ÜÁ÷Ã¥
¡Ü¾÷¹«
¡Üä¿ëÁ¶°Ç
], ?param5=[ONo,9234]]
2019-04-04 14:56:48,916 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[String, System.String], ?param4=[String, System.String], ?param5=[Int32, System.Int32]]
2019-04-04 14:56:48,923 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64501556" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:48,956 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64501556" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:48,956 [9808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.inserttousertype] Prepared SQL: [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-04 14:56:48,956 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] PreparedStatement : [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-04 14:56:48,956 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Parameters: [?param0=[PMNo,null], ?param1=[SendUserGroup,0], ?param2=[MTitle,ȨÆäÀÌÁö °ø°í°¡ µî·ÏµÇ¾ú½À´Ï´Ù.], ?param3=[MContents,½Å±Ô ȨÆäÀÌÁö °ø°í [(ÁÖ)»ï¶ô 25½Ã/]°¡ µî·ÏµÇ¾ú½À´Ï´Ù. ÇÁ·ÎÁ§Æ® ¸ñ·ÏÀ» È®ÀÎÇØÁÖ¼¼¿ä.], ?param4=[FGNo,null], ?param5=[RefNo,null], ?param6=[RefDesc,], ?param7=[CNO,1252], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 14:56:48,956 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Types: [?param0=[System.DBNull, null], ?param1=[Int32, System.Int32], ?param2=[String, System.String], ?param3=[String, System.String], ?param4=[System.DBNull, null], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[Int64, System.Int64], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 14:56:48,965 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45452080" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,014 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45452080" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,014 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 14:56:49,014 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9234], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 14:56:49,014 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 14:56:49,020 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52919480" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,064 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52919480" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,609 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:56:49,609 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:56:49,609 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:56:49,616 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13340041" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,620 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13340041" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,620 [9808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:56:49,620 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:56:49,620 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:56:49,620 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:49,627 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15646411" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,631 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15646411" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,631 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:56:49,631 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:56:49,631 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:49,637 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63183527" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,645 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63183527" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,645 [9808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:56:49,645 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:56:49,645 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:56:49,645 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:49,651 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "66208647" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,655 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "66208647" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,655 [9808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:56:49,655 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:56:49,655 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670662]]
2019-04-04 14:56:49,655 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:56:49,661 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10888093" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,665 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10888093" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,666 [9808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:56:49,666 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:56:49,666 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,1656], ?param1=[UserType,11]]
2019-04-04 14:56:49,666 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-04 14:56:49,672 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15273760" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,680 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15273760" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,680 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 14:56:49,680 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:56:49,680 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:56:49,687 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12130451" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,694 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12130451" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,694 [9808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:49,694 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:56:49,700 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51259134" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:56:49,713 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51259134" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,617 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:58:18,617 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:58:18,617 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:58:18,617 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:18,624 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62137659" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,628 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62137659" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,628 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:58:18,628 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:58:18,628 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:58:18,628 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:18,634 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37257658" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,639 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37257658" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,639 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-04 14:58:18,639 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[UserNo,202595], ?param3=[OrderName,44], ?param4=[Assign,148], ?param5=[IndustryIdx,153], ?param6=[Salary,1000000000], ?param7=[Position,null], ?param8=[Premium,1], ?param9=[SalesGubun,1], ?param10=[Sales,100000], ?param11=[PreSales,0], ?param12=[MiddleSales,0], ?param13=[RemainSales,0], ?param14=[StDate,2019-03-27 ¿ÀÀü 12:00:00], ?param15=[EndDate,null], ?param16=[FGNo,670662], ?param17=[GoalDate,2019-03-22 ¿ÀÀü 12:00:00], ?param18=[KeyWord,null], ?param19=[KeyWordText,null], ?param20=[OrderInfo,null], ?param21=[Progress,166], ?param22=[ProgressType,0], ?param23=[RecommanCount,2], ?param24=[IsLock,0], ?param25=[ONo,9234]]
2019-04-04 14:58:18,639 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int64, System.Int64], ?param3=[String, System.String], ?param4=[Int32, System.Int32], ?param5=[Int32, System.Int32], ?param6=[Double, System.Double], ?param7=[System.DBNull, null], ?param8=[Double, System.Double], ?param9=[Int32, System.Int32], ?param10=[Double, System.Double], ?param11=[Double, System.Double], ?param12=[Double, System.Double], ?param13=[Double, System.Double], ?param14=[DateTime, System.DateTime], ?param15=[System.DBNull, null], ?param16=[Int64, System.Int64], ?param17=[DateTime, System.DateTime], ?param18=[System.DBNull, null], ?param19=[System.DBNull, null], ?param20=[System.DBNull, null], ?param21=[Int32, System.Int32], ?param22=[Int32, System.Int32], ?param23=[Int32, System.Int32], ?param24=[Int32, System.Int32], ?param25=[Int32, System.Int32]]
2019-04-04 14:58:18,646 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "18838456" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,677 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "18838456" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,677 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:58:18,677 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:58:18,677 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:18,684 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38976672" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,692 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38976672" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,692 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant.delete] Prepared SQL: [delete a.* from orderconsultant a left outer join ( select a.ocno from orderconsultant a where a.ono= ?param0 and a.AdminNo= ?param1 and a.Gubun= ?param2 ) b on b.ocno=a.ocno where ?param3 = 0 and a.ono= ?param0 and b.ocno is null]
2019-04-04 14:58:18,692 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.delete] PreparedStatement : [delete a.* from orderconsultant a left outer join ( select a.ocno from orderconsultant a where a.ono= ?param0 and a.AdminNo= ?param1 and a.Gubun= ?param2 ) b on b.ocno=a.ocno where ?param3 = 0 and a.ono= ?param0 and b.ocno is null]
2019-04-04 14:58:18,693 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.delete] Parameters: [?param0=[ONo,9234], ?param1=[Consultants[0].AdminNo,102], ?param2=[Consultants[0].Gubun,1], ?param3=[IsLock,0]]
2019-04-04 14:58:18,693 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.delete] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32]]
2019-04-04 14:58:18,700 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56286579" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,704 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56286579" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,704 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant.save] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, ?param0 ConsultantPremium, ?param1 ConsultantSales from orderconsultant a where a.ono= ?param2 and a.AdminNo= ?param3 and a.Gubun= ?param4 ) b on b.ocno=a.ocno set a.ConsultantPremium=b.ConsultantPremium , a.udt=now(), a.uno= ?param5 , a.uip= ?param6 where a.ONo= ?param2 ; insert into orderconsultant(ONo,AdminNo,ConsultantPremium,ConsultantSales,Gubun, CDT,CNO,UDT,UNO,UIP ) select ?param2 ,a.AdminNo,a.ConsultantPremium,a.ConsultantSales,a.Gubun, now(), ?param5 ,now(), ?param5 , ?param6 from ( select ?param3 AdminNo, ?param0 ConsultantPremium, ?param1 ConsultantSales, ?param4 Gubun ) a left outer join orderconsultant b on b.ono= ?param2 and b.adminno=a.adminno and b.gubun=a.gubun where ?param7 =0 and b.ocno is null]
2019-04-04 14:58:18,704 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] PreparedStatement : [update orderconsultant a inner join ( select a.ocno, ?param0 ConsultantPremium, ?param1 ConsultantSales from orderconsultant a where a.ono= ?param2 and a.AdminNo= ?param3 and a.Gubun= ?param4 ) b on b.ocno=a.ocno set a.ConsultantPremium=b.ConsultantPremium , a.udt=now(), a.uno= ?param5 , a.uip= ?param6 where a.ONo= ?param2 ; insert into orderconsultant(ONo,AdminNo,ConsultantPremium,ConsultantSales,Gubun, CDT,CNO,UDT,UNO,UIP ) select ?param2 ,a.AdminNo,a.ConsultantPremium,a.ConsultantSales,a.Gubun, now(), ?param5 ,now(), ?param5 , ?param6 from ( select ?param3 AdminNo, ?param0 ConsultantPremium, ?param1 ConsultantSales, ?param4 Gubun ) a left outer join orderconsultant b on b.ono= ?param2 and b.adminno=a.adminno and b.gubun=a.gubun where ?param7 =0 and b.ocno is null]
2019-04-04 14:58:18,705 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] Parameters: [?param0=[Consultants[0].ConsultantPremium,20], ?param1=[Consultants[0].ConsultantSales,0], ?param2=[ONo,9234], ?param3=[Consultants[0].AdminNo,102], ?param4=[Consultants[0].Gubun,1], ?param5=[UNO,1252], ?param6=[UIP,127.0.0.1], ?param7=[IsLock,0]]
2019-04-04 14:58:18,705 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] Types: [?param0=[Double, System.Double], ?param1=[Double, System.Double], ?param2=[Int32, System.Int32], ?param3=[Int64, System.Int64], ?param4=[Int32, System.Int32], ?param5=[Int64, System.Int64], ?param6=[String, System.String], ?param7=[Int32, System.Int32]]
2019-04-04 14:58:18,711 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45516246" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,737 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45516246" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,737 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 14:58:18,737 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9234], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 14:58:18,737 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 14:58:18,743 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42448647" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:18,769 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42448647" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,307 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:58:19,307 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:58:19,307 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:58:19,315 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12679837" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,321 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12679837" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,321 [13132] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:58:19,321 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:58:19,321 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:58:19,321 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:19,329 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26637039" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,333 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26637039" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,333 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 14:58:19,333 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:58:19,333 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:19,340 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37165447" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,348 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37165447" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,349 [13132] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:58:19,349 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:58:19,349 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:58:19,349 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:19,355 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20280810" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,363 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20280810" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,363 [13132] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:58:19,363 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:58:19,363 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670662]]
2019-04-04 14:58:19,363 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:58:19,371 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55036379" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,376 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55036379" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,376 [13132] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:58:19,376 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 14:58:19,376 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,1656], ?param1=[UserType,11]]
2019-04-04 14:58:19,376 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-04 14:58:19,383 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61429086" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,391 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61429086" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,391 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 14:58:19,391 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:58:19,391 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:19,399 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48847544" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,407 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48847544" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,407 [13132] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:58:19,407 [13132] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:58:19,414 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36463212" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:19,429 [13132] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36463212" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,174 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:58:40,174 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:58:40,174 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:58:40,180 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61135812" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,184 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61135812" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,185 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 14:58:40,185 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:58:40,185 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:40,192 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58674905" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,200 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58674905" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,200 [1348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:58:40,200 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:58:40,200 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:58:40,200 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:40,206 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19496964" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,210 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19496964" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,210 [1348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:58:40,211 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:58:40,217 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21201476" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,227 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21201476" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,227 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 14:58:40,227 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:58:40,227 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:40,233 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32938815" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,241 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32938815" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,241 [1348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (54083) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:58:40,241 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (54083) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:58:40,248 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23711262" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,297 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23711262" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,297 [1348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:58:40,297 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:58:40,297 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670662]]
2019-04-04 14:58:40,297 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:58:40,305 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11117835" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,309 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11117835" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,309 [1348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:58:40,309 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:58:40,309 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:58:40,309 [1348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:40,319 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47552167" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,326 [1348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47552167" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,709 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 14:58:40,709 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9234]]
2019-04-04 14:58:40,709 [9808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-04 14:58:40,716 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65550006" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:40,764 [9808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65550006" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,713 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 14:58:48,714 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 14:58:48,714 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 14:58:48,720 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49498651" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,724 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49498651" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,724 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 14:58:48,724 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:58:48,724 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:48,731 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "67096909" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,739 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "67096909" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,739 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:58:48,739 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 14:58:48,739 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:58:48,739 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:48,746 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65423233" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,751 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65423233" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,751 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:58:48,751 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 14:58:48,764 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30761520" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,772 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30761520" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,772 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 14:58:48,772 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9234]]
2019-04-04 14:58:48,772 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:48,779 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42407061" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,785 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42407061" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,785 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (54083) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:58:48,785 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (54083) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 14:58:48,791 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6706771" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,834 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6706771" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,834 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:58:48,834 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 14:58:48,834 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670662]]
2019-04-04 14:58:48,834 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 14:58:48,841 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6130630" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,845 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6130630" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,845 [11080] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:58:48,845 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 14:58:48,845 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 14:58:48,845 [11080] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 14:58:48,851 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59112523" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:48,855 [11080] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59112523" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:49,051 [1312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 14:58:49,052 [1312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9234]]
2019-04-04 14:58:49,052 [1312] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-04 14:58:49,059 [1312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42527949" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 14:58:49,107 [1312] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42527949" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,149 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-04 15:42:02,156 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 15:42:02,156 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-04 15:42:02,157 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-04 15:42:02,157 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-04 15:42:02,158 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-04 15:42:02,158 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-04 15:42:02,158 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 15:42:02,159 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 15:42:02,159 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 15:42:02,159 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 15:42:02,159 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 15:42:02,159 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 15:42:02,159 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 15:42:02,159 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-04 15:42:02,161 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,161 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-04 15:42:02,161 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,167 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-04 15:42:02,168 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,169 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-04 15:42:02,170 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-04 15:42:02,170 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 15:42:02,170 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-04 15:42:02,170 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 15:42:02,170 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-04 15:42:02,172 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-04 15:42:02,172 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-04 15:42:02,172 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-04 15:42:02,172 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-04 15:42:02,172 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-04 15:42:02,172 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-04 15:42:02,174 [11096] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 15:42:02,176 [11096] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 15:42:02,176 [11096] 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.isdeleted=0]
2019-04-04 15:42:02,176 [11096] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-04 15:42:02,177 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-04 15:42:02,178 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-04 15:42:02,178 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-04 15:42:02,178 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,178 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-04 15:42:02,179 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-04 15:42:02,179 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 15:42:02,179 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-04 15:42:02,179 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-04 15:42:02,179 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-04 15:42:02,179 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-04 15:42:02,180 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-04 15:42:02,181 [11096] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 15:42:02,181 [11096] 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]
2019-04-04 15:42:02,182 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-04 15:42:02,182 [11096] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-04 15:42:02,182 [11096] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-04 15:42:02,183 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-04 15:42:02,183 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,183 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-04 15:42:02,183 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,183 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,183 [11096] 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]
2019-04-04 15:42:02,184 [11096] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-04 15:42:02,184 [11096] 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]
2019-04-04 15:42:02,184 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-04 15:42:02,184 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-04 15:42:02,185 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-04 15:42:02,185 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 15:42:02,185 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-04 15:42:02,185 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-04 15:42:02,186 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-04 15:42:02,186 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-04 15:42:02,186 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-04 15:42:02,186 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-04 15:42:02,187 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-04 15:42:02,187 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-04 15:42:02,188 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-04 15:42:02,188 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,191 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-04 15:42:02,191 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,191 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-04 15:42:02,192 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-04 15:42:02,192 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-04 15:42:02,192 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-04 15:42:02,193 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-04 15:42:02,193 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-04 15:42:02,194 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 15:42:02,195 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-04 15:42:02,195 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-04 15:42:02,195 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-04 15:42:02,195 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-04 15:42:02,196 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-04 15:42:02,196 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 15:42:02,196 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 15:42:02,196 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-04 15:42:02,197 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-04 15:42:02,197 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-04 15:42:02,197 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.myorder] Prepared SQL: [select b.ONo from orderuser a inner join orders b on b.ono=a.ono and b.stdate < now() and (b.enddate is null or date_add(b.enddate, interval 24 hour) > now()) and b.progresstype in (0,2) and b.isopenfront=1 and b.isdeleted=0 where a.userno= ?param0 and a.status in (0,1,2,4,5,8) and a.isdeleted=0]
2019-04-04 15:42:02,200 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-04 15:42:02,200 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,201 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-04 15:42:02,201 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,201 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-04 15:42:02,201 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-04 15:42:02,202 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-04 15:42:02,202 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-04 15:42:02,202 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-04 15:42:02,202 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-04 15:42:02,202 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-04 15:42:02,202 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-04 15:42:02,202 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-04 15:42:02,202 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-04 15:42:02,202 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-04 15:42:02,203 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-04 15:42:02,204 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-04 15:42:02,205 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-04 15:42:02,206 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 15:42:02,206 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-04 15:42:02,206 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-04 15:42:02,207 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-04 15:42:02,207 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-04 15:42:02,207 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-04 15:42:02,208 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-04 15:42:02,208 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-04 15:42:02,210 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-04 15:42:02,215 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-04 15:42:02,217 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-04 15:42:02,217 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-04 15:42:02,217 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,217 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-04 15:42:02,224 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-04 15:42:02,224 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-04 15:42:02,224 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-04 15:42:02,225 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-04 15:42:02,225 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-04 15:42:02,225 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-04 15:42:02,231 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-04 15:42:02,231 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 15:42:02,231 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-04 15:42:02,231 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-04 15:42:02,232 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-04 15:42:02,232 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-04 15:42:02,232 [11096] 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]
2019-04-04 15:42:02,238 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-04 15:42:02,238 [11096] 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]
2019-04-04 15:42:02,239 [11096] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 15:42:02,239 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 15:42:02,239 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-04 15:42:02,245 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-04 15:42:02,246 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-04 15:42:02,247 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 15:42:02,247 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 15:42:02,247 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 15:42:02,262 [11096] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 15:42:02,262 [11096] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 15:42:02,268 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-04 15:42:02,268 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-04 15:42:02,481 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21199831" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,506 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21199831" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,508 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 15:42:02,508 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 15:42:02,508 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 15:42:02,516 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49995417" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,521 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49995417" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,537 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 15:42:02,537 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9234]]
2019-04-04 15:42:02,537 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 15:42:02,544 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24482722" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,560 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24482722" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,560 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 15:42:02,560 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 15:42:02,560 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9234]]
2019-04-04 15:42:02,560 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 15:42:02,566 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17722076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,573 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17722076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,573 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 15:42:02,573 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 15:42:02,579 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55516513" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,591 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55516513" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,591 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 15:42:02,591 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9234]]
2019-04-04 15:42:02,591 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-04 15:42:02,598 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61584554" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,610 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61584554" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,611 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (54083) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 15:42:02,611 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (54083) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-04 15:42:02,616 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41938759" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,663 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41938759" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,664 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 15:42:02,664 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 15:42:02,664 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670662]]
2019-04-04 15:42:02,664 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 15:42:02,670 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41767538" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,674 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41767538" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,675 [11096] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 15:42:02,675 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 15:42:02,675 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 15:42:02,675 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 15:42:02,681 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34747467" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:02,687 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34747467" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:03,749 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 15:42:03,749 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9234]]
2019-04-04 15:42:03,749 [11096] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-04 15:42:03,757 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13698448" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 15:42:03,807 [11096] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13698448" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,558 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-04 16:16:34,566 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 16:16:34,566 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-04 16:16:34,567 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-04 16:16:34,567 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-04 16:16:34,567 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-04 16:16:34,567 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-04 16:16:34,568 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 16:16:34,568 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 16:16:34,568 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 16:16:34,568 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 16:16:34,568 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 16:16:34,568 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 16:16:34,568 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 16:16:34,569 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-04 16:16:34,569 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,570 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-04 16:16:34,570 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,572 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-04 16:16:34,572 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,574 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-04 16:16:34,575 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-04 16:16:34,575 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 16:16:34,575 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-04 16:16:34,575 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 16:16:34,575 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-04 16:16:34,578 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-04 16:16:34,578 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-04 16:16:34,578 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-04 16:16:34,578 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-04 16:16:34,578 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-04 16:16:34,578 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-04 16:16:34,582 [15516] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 16:16:34,583 [15516] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 16:16:34,583 [15516] 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.isdeleted=0]
2019-04-04 16:16:34,583 [15516] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-04 16:16:34,584 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-04 16:16:34,585 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-04 16:16:34,585 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-04 16:16:34,585 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,585 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-04 16:16:34,586 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-04 16:16:34,586 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 16:16:34,586 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-04 16:16:34,586 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-04 16:16:34,586 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-04 16:16:34,587 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-04 16:16:34,587 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-04 16:16:34,588 [15516] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 16:16:34,588 [15516] 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]
2019-04-04 16:16:34,589 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-04 16:16:34,589 [15516] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-04 16:16:34,589 [15516] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-04 16:16:34,590 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-04 16:16:34,590 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,591 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-04 16:16:34,591 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,591 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,591 [15516] 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]
2019-04-04 16:16:34,591 [15516] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-04 16:16:34,592 [15516] 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]
2019-04-04 16:16:34,592 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-04 16:16:34,592 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-04 16:16:34,593 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-04 16:16:34,593 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 16:16:34,593 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-04 16:16:34,593 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-04 16:16:34,594 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-04 16:16:34,594 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-04 16:16:34,594 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-04 16:16:34,594 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-04 16:16:34,594 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-04 16:16:34,595 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-04 16:16:34,596 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-04 16:16:34,596 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,599 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-04 16:16:34,599 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,599 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-04 16:16:34,599 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-04 16:16:34,599 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-04 16:16:34,599 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-04 16:16:34,600 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-04 16:16:34,600 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-04 16:16:34,601 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 16:16:34,602 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-04 16:16:34,602 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-04 16:16:34,602 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-04 16:16:34,602 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-04 16:16:34,602 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-04 16:16:34,603 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 16:16:34,603 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 16:16:34,603 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-04 16:16:34,604 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-04 16:16:34,604 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-04 16:16:34,604 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.myorder] Prepared SQL: [select b.ONo from orderuser a inner join orders b on b.ono=a.ono and b.stdate < now() and (b.enddate is null or date_add(b.enddate, interval 24 hour) > now()) and b.progresstype in (0,2) and b.isopenfront=1 and b.isdeleted=0 where a.userno= ?param0 and a.status in (0,1,2,4,5,8) and a.isdeleted=0]
2019-04-04 16:16:34,607 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-04 16:16:34,607 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,608 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-04 16:16:34,608 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,609 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-04 16:16:34,609 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-04 16:16:34,609 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-04 16:16:34,609 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-04 16:16:34,609 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-04 16:16:34,609 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-04 16:16:34,609 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-04 16:16:34,609 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-04 16:16:34,609 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-04 16:16:34,609 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-04 16:16:34,609 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-04 16:16:34,610 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-04 16:16:34,610 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-04 16:16:34,611 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-04 16:16:34,612 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 16:16:34,612 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-04 16:16:34,613 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-04 16:16:34,613 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-04 16:16:34,613 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-04 16:16:34,613 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-04 16:16:34,614 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-04 16:16:34,614 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-04 16:16:34,615 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-04 16:16:34,616 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-04 16:16:34,617 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-04 16:16:34,617 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-04 16:16:34,617 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,617 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-04 16:16:34,618 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-04 16:16:34,618 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-04 16:16:34,618 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-04 16:16:34,619 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-04 16:16:34,619 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-04 16:16:34,619 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-04 16:16:34,620 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-04 16:16:34,620 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:16:34,620 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-04 16:16:34,620 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-04 16:16:34,621 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-04 16:16:34,621 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-04 16:16:34,621 [15516] 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]
2019-04-04 16:16:34,621 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-04 16:16:34,622 [15516] 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]
2019-04-04 16:16:34,622 [15516] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 16:16:34,622 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 16:16:34,622 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-04 16:16:34,623 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-04 16:16:34,624 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-04 16:16:34,625 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 16:16:34,625 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 16:16:34,625 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 16:16:34,629 [15516] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 16:16:34,629 [15516] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 16:16:34,630 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-04 16:16:34,630 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-04 16:16:34,804 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38297227" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,827 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38297227" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,830 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 16:16:34,830 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 16:16:34,830 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 16:16:34,836 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61689540" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,840 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61689540" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,855 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 16:16:34,855 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 16:16:34,855 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 16:16:34,855 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 16:16:34,861 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "28623447" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,867 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "28623447" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,868 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 16:16:34,868 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9234]]
2019-04-04 16:16:34,868 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 16:16:34,873 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50404369" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,888 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50404369" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,888 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 16:16:34,888 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 16:16:34,888 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9234]]
2019-04-04 16:16:34,888 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 16:16:34,894 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53313231" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,901 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53313231" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,901 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 16:16:34,901 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 16:16:34,901 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670662]]
2019-04-04 16:16:34,901 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 16:16:34,908 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38358840" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,911 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38358840" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,912 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 16:16:34,912 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 16:16:34,912 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,1656], ?param1=[UserType,11]]
2019-04-04 16:16:34,912 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-04 16:16:34,917 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29208607" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,931 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29208607" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,931 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 16:16:34,931 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9234]]
2019-04-04 16:16:34,931 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-04 16:16:34,937 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56702202" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,943 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56702202" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,943 [15516] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 16:16:34,943 [15516] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 16:16:34,949 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43088941" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:34,960 [15516] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43088941" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:43,934 [15056] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 16:16:43,936 [15056] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[IsOpenFront,1], ?param3=[FrontTitle,231231321231231321231231321231231321231231321], ?param4=[FrontContent,¡ÜÁ÷Ã¥
1
2
¡Ü¾÷¹«
¡Üä¿ëÁ¶°Ç
], ?param5=[ONo,9234]]
2019-04-04 16:16:43,936 [15056] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[String, System.String], ?param4=[String, System.String], ?param5=[Int32, System.Int32]]
2019-04-04 16:16:43,943 [15056] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "5544944" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:43,981 [15056] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "5544944" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:43,984 [15056] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.inserttousertype] Prepared SQL: [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-04 16:16:43,984 [15056] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] PreparedStatement : [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-04 16:16:43,986 [15056] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Parameters: [?param0=[PMNo,null], ?param1=[SendUserGroup,0], ?param2=[MTitle,ȨÆäÀÌÁö °ø°í°¡ µî·ÏµÇ¾ú½À´Ï´Ù.], ?param3=[MContents,½Å±Ô ȨÆäÀÌÁö °ø°í [(ÁÖ)»ï¶ô 25½Ã/]°¡ µî·ÏµÇ¾ú½À´Ï´Ù. ÇÁ·ÎÁ§Æ® ¸ñ·ÏÀ» È®ÀÎÇØÁÖ¼¼¿ä.], ?param4=[FGNo,null], ?param5=[RefNo,null], ?param6=[RefDesc,], ?param7=[CNO,1252], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 16:16:43,986 [15056] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Types: [?param0=[System.DBNull, null], ?param1=[Int32, System.Int32], ?param2=[String, System.String], ?param3=[String, System.String], ?param4=[System.DBNull, null], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[Int64, System.Int64], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 16:16:43,991 [15056] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3266810" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,043 [15056] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3266810" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,044 [15056] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 16:16:44,044 [15056] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9234], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-04 16:16:44,044 [15056] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-04 16:16:44,050 [15056] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25855998" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,086 [15056] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25855998" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,618 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 16:16:44,618 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 16:16:44,618 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 16:16:44,624 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36963566" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,627 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36963566" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,627 [10916] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 16:16:44,627 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-04 16:16:44,627 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-04 16:16:44,627 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-04 16:16:44,634 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25474675" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,638 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25474675" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,638 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 16:16:44,638 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9234]]
2019-04-04 16:16:44,638 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-04 16:16:44,643 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3038911" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,651 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3038911" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,651 [10916] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 16:16:44,651 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-04 16:16:44,651 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9234]]
2019-04-04 16:16:44,651 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-04 16:16:44,657 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45330878" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,661 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45330878" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,661 [10916] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 16:16:44,661 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 16:16:44,661 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670662]]
2019-04-04 16:16:44,661 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 16:16:44,667 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "66629781" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,671 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "66629781" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,671 [10916] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 16:16:44,671 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-04 16:16:44,671 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,1656], ?param1=[UserType,11]]
2019-04-04 16:16:44,671 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-04 16:16:44,676 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49382823" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,683 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49382823" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,683 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 16:16:44,683 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9234]]
2019-04-04 16:16:44,683 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-04 16:16:44,689 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15225125" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,696 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15225125" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,696 [10916] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 16:16:44,696 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 16:16:44,701 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26458746" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:16:44,714 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26458746" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:51,099 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-04 16:59:51,106 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 16:59:51,106 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-04 16:59:51,107 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-04 16:59:51,107 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-04 16:59:51,107 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-04 16:59:51,107 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-04 16:59:51,108 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 16:59:51,108 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 16:59:51,108 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 16:59:51,108 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 16:59:51,108 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 16:59:51,108 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 16:59:51,108 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 16:59:51,109 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-04 16:59:51,110 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,110 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-04 16:59:51,110 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,117 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-04 16:59:51,117 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,118 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-04 16:59:51,118 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-04 16:59:51,119 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 16:59:51,119 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-04 16:59:51,119 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 16:59:51,119 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-04 16:59:51,120 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-04 16:59:51,120 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-04 16:59:51,120 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-04 16:59:51,120 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-04 16:59:51,120 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-04 16:59:51,120 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-04 16:59:51,123 [5600] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 16:59:51,124 [5600] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 16:59:51,124 [5600] 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.isdeleted=0]
2019-04-04 16:59:51,124 [5600] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-04 16:59:51,125 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-04 16:59:51,125 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-04 16:59:51,126 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-04 16:59:51,126 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,126 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-04 16:59:51,126 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-04 16:59:51,126 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 16:59:51,126 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-04 16:59:51,127 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-04 16:59:51,127 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-04 16:59:51,127 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-04 16:59:51,127 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-04 16:59:51,129 [5600] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 16:59:51,129 [5600] 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]
2019-04-04 16:59:51,129 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-04 16:59:51,129 [5600] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-04 16:59:51,129 [5600] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-04 16:59:51,130 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-04 16:59:51,130 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,131 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-04 16:59:51,131 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,131 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,131 [5600] 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]
2019-04-04 16:59:51,131 [5600] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-04 16:59:51,131 [5600] 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]
2019-04-04 16:59:51,131 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-04 16:59:51,132 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-04 16:59:51,133 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-04 16:59:51,133 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 16:59:51,133 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-04 16:59:51,133 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-04 16:59:51,134 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-04 16:59:51,134 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-04 16:59:51,134 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-04 16:59:51,135 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-04 16:59:51,135 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-04 16:59:51,135 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-04 16:59:51,137 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-04 16:59:51,137 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,139 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-04 16:59:51,139 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,139 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-04 16:59:51,140 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-04 16:59:51,140 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-04 16:59:51,140 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-04 16:59:51,140 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-04 16:59:51,141 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-04 16:59:51,142 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 16:59:51,143 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-04 16:59:51,143 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-04 16:59:51,144 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-04 16:59:51,144 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-04 16:59:51,144 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-04 16:59:51,144 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 16:59:51,144 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 16:59:51,145 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-04 16:59:51,146 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-04 16:59:51,146 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-04 16:59:51,146 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.myorder] Prepared SQL: [select b.ONo from orderuser a inner join orders b on b.ono=a.ono and b.stdate < now() and (b.enddate is null or date_add(b.enddate, interval 24 hour) > now()) and b.progresstype in (0,2) and b.isopenfront=1 and b.isdeleted=0 where a.userno= ?param0 and a.status in (0,1,2,4,5,8) and a.isdeleted=0]
2019-04-04 16:59:51,148 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-04 16:59:51,148 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,149 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-04 16:59:51,149 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,150 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-04 16:59:51,150 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-04 16:59:51,150 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-04 16:59:51,150 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-04 16:59:51,150 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-04 16:59:51,150 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-04 16:59:51,150 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-04 16:59:51,150 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-04 16:59:51,151 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-04 16:59:51,151 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-04 16:59:51,151 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-04 16:59:51,151 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-04 16:59:51,152 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-04 16:59:51,153 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-04 16:59:51,154 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 16:59:51,154 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-04 16:59:51,155 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-04 16:59:51,155 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-04 16:59:51,155 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-04 16:59:51,155 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-04 16:59:51,156 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-04 16:59:51,156 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-04 16:59:51,157 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-04 16:59:51,158 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-04 16:59:51,159 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-04 16:59:51,159 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-04 16:59:51,159 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,159 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-04 16:59:51,160 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-04 16:59:51,161 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-04 16:59:51,161 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-04 16:59:51,161 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-04 16:59:51,161 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-04 16:59:51,161 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-04 16:59:51,162 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-04 16:59:51,162 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 16:59:51,162 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-04 16:59:51,163 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-04 16:59:51,163 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-04 16:59:51,163 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-04 16:59:51,163 [5600] 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]
2019-04-04 16:59:51,164 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-04 16:59:51,164 [5600] 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]
2019-04-04 16:59:51,165 [5600] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 16:59:51,165 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 16:59:51,165 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-04 16:59:51,166 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-04 16:59:51,166 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-04 16:59:51,167 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 16:59:51,167 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 16:59:51,167 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 16:59:51,171 [5600] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 16:59:51,172 [5600] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 16:59:51,172 [5600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-04 16:59:51,172 [5600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-04 16:59:51,336 [5600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26682452" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:51,362 [5600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26682452" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:51,365 [5600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 16:59:51,365 [5600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 16:59:51,365 [5600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 16:59:51,383 [5600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61689540" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:51,386 [5600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61689540" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:51,405 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 order by a.Sort]
2019-04-04 16:59:51,405 [5600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 order by a.Sort]
2019-04-04 16:59:51,409 [5600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22738596" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:51,423 [5600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22738596" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:51,424 [5600] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','SchoolCode','JobExp','IndExp') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 16:59:51,424 [5600] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','SchoolCode','JobExp','IndExp') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 16:59:51,428 [5600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59867235" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:51,801 [5600] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59867235" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:54,990 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 16:59:54,990 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 16:59:54,990 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 16:59:54,998 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3038911" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:55,000 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3038911" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:55,001 [3824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.users] Prepared SQL: [select a.*, b.sname SchoolName from ( select a.UserNo,b.UserName,b.Sex,b.UserType ,CAST(AES_DECRYPT(UNHEX(b.userid), 'N_P123@!' ) AS char) Email ,b.Birth,b.CompanyName,b.CareerKeyword,b.DBSrc,b.CDT,b.FGNo,b.UDT,b.AdminNo,b.IsBlackList ,a.SchoolSeqNo ,case when ?param0 = b.adminno then 1 else 0 end IsMyUser ,row_number() over(order by b.birth asc) RNO ,count(a.userno) over() PageTotalCount from ( select a.UserNo ,max(case when ?param1 is null or b.sname like concat('%', ?param1 ,'%') then 1 else 0 end) IsSchool ,max(case when ?param2 is null or b.SchoolMajorName like concat('%', ?param2 ,'%') then 1 else 0 end) IsSchoolMajor ,max(case when ?param3 is null or ?param3 like concat('%,', b.SGubun,',%') then 1 else 0 end) IsSGubun ,max(case when ?param4 is null or b.IsAbroad = ?param4 then 1 else 0 end) IsAbroad ,0 IsSCCK ,0 IsSCUC ,0 IsSCCI ,max(case when ?param5 is not null and ?param6 is not null and d.userno is not null then 1 else 0 end) IsSCCM ,max(case when ?param5 is not null and ?param7 is not null and e.userno is not null then 1 else 0 end) IsSCFG ,0 IsSCCN ,max(case when ?param8 is not null and ?param9 is not null and a.CareerKeyword like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCK ,max(case when ?param8 is not null and ?param10 is not null and c.companyname like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCUC ,max(case when ?param8 is not null and ?param11 is not null and a.CareerInfoText2 like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCI ,max(case when ?param8 is not null and ?param6 is not null and d2.userno is not null then 1 else 0 end) IsNotSCCM ,max(case when ?param8 is not null and ?param7 is not null and e2.userno is not null then 1 else 0 end) IsNotSCFG ,max(case when ?param8 is not null and ?param12 is not null and a.companyname like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCN ,max(b.seqno) SchoolSeqNo ,max(case when ?param13 is not null and a.username = ?param13 then 1 else 0 end) IsUserNameLike from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 left outer join usercareer c on c.userno=a.userno and c.isdeleted=0 and ?param10 is not null left outer join (select null userno) d on ?param6 is not null left outer join (select distinct BaseNo UserNo from comments where cmttype=1 and isdeleted=0 and ?param8 is not null and memo like concat('%', ?param8 ,'%')) d2 on d2.userno=a.userno and ?param8 is not null left outer join (select null userno) e on ?param7 is not null left outer join (select distinct a.UserNo from users a inner join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where ?param8 is not null and a.fgno is not null and b.orgname like concat('%', ?param8 ,'%') ) e2 on e2.userno=a.userno and ?param8 is not null where a.usergroup=0 and a.isdeleted=0 and a.Status <> 7 group by a.UserNo having ((isschool=1 and isschoolmajor=1 and issgubun=1 and isabroad=1) or ?param13 is not null) ) a inner join users b on b.userno=a.userno ) a left outer join userschool b on b.userno=a.userno and b.seqno=a.schoolseqno and b.isdeleted=0 where RNO between 1 and 20 order by a.rno]
2019-04-04 16:59:55,001 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.users] PreparedStatement : [select a.*, b.sname SchoolName from ( select a.UserNo,b.UserName,b.Sex,b.UserType ,CAST(AES_DECRYPT(UNHEX(b.userid), 'N_P123@!' ) AS char) Email ,b.Birth,b.CompanyName,b.CareerKeyword,b.DBSrc,b.CDT,b.FGNo,b.UDT,b.AdminNo,b.IsBlackList ,a.SchoolSeqNo ,case when ?param0 = b.adminno then 1 else 0 end IsMyUser ,row_number() over(order by b.birth asc) RNO ,count(a.userno) over() PageTotalCount from ( select a.UserNo ,max(case when ?param1 is null or b.sname like concat('%', ?param1 ,'%') then 1 else 0 end) IsSchool ,max(case when ?param2 is null or b.SchoolMajorName like concat('%', ?param2 ,'%') then 1 else 0 end) IsSchoolMajor ,max(case when ?param3 is null or ?param3 like concat('%,', b.SGubun,',%') then 1 else 0 end) IsSGubun ,max(case when ?param4 is null or b.IsAbroad = ?param4 then 1 else 0 end) IsAbroad ,0 IsSCCK ,0 IsSCUC ,0 IsSCCI ,max(case when ?param5 is not null and ?param6 is not null and d.userno is not null then 1 else 0 end) IsSCCM ,max(case when ?param5 is not null and ?param7 is not null and e.userno is not null then 1 else 0 end) IsSCFG ,0 IsSCCN ,max(case when ?param8 is not null and ?param9 is not null and a.CareerKeyword like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCK ,max(case when ?param8 is not null and ?param10 is not null and c.companyname like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCUC ,max(case when ?param8 is not null and ?param11 is not null and a.CareerInfoText2 like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCI ,max(case when ?param8 is not null and ?param6 is not null and d2.userno is not null then 1 else 0 end) IsNotSCCM ,max(case when ?param8 is not null and ?param7 is not null and e2.userno is not null then 1 else 0 end) IsNotSCFG ,max(case when ?param8 is not null and ?param12 is not null and a.companyname like concat('%', ?param8 ,'%') then 1 else 0 end) IsNotSCCN ,max(b.seqno) SchoolSeqNo ,max(case when ?param13 is not null and a.username = ?param13 then 1 else 0 end) IsUserNameLike from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 left outer join usercareer c on c.userno=a.userno and c.isdeleted=0 and ?param10 is not null left outer join (select null userno) d on ?param6 is not null left outer join (select distinct BaseNo UserNo from comments where cmttype=1 and isdeleted=0 and ?param8 is not null and memo like concat('%', ?param8 ,'%')) d2 on d2.userno=a.userno and ?param8 is not null left outer join (select null userno) e on ?param7 is not null left outer join (select distinct a.UserNo from users a inner join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where ?param8 is not null and a.fgno is not null and b.orgname like concat('%', ?param8 ,'%') ) e2 on e2.userno=a.userno and ?param8 is not null where a.usergroup=0 and a.isdeleted=0 and a.Status <> 7 group by a.UserNo having ((isschool=1 and isschoolmajor=1 and issgubun=1 and isabroad=1) or ?param13 is not null) ) a inner join users b on b.userno=a.userno ) a left outer join userschool b on b.userno=a.userno and b.seqno=a.schoolseqno and b.isdeleted=0 where RNO between 1 and 20 order by a.rno]
2019-04-04 16:59:55,001 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.users] Parameters: [?param0=[SUserNo,1252], ?param1=[SNameLike,null], ?param2=[SchoolMajorNameLike,null], ?param3=[SGubun,null], ?param4=[IsAbroad,null], ?param5=[SearchText,null], ?param6=[SCCM,null], ?param7=[SCFG,null], ?param8=[SearchTextNot,null], ?param9=[SCCK,null], ?param10=[SCUC,null], ?param11=[SCCI,null], ?param12=[SCCN,null], ?param13=[UserNameLike,null]]
2019-04-04 16:59:55,001 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.users] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[System.DBNull, null], ?param4=[System.DBNull, null], ?param5=[System.DBNull, null], ?param6=[System.DBNull, null], ?param7=[System.DBNull, null], ?param8=[System.DBNull, null], ?param9=[System.DBNull, null], ?param10=[System.DBNull, null], ?param11=[System.DBNull, null], ?param12=[System.DBNull, null], ?param13=[System.DBNull, null]]
2019-04-04 16:59:55,005 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45330878" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:56,122 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45330878" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:56,124 [3824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.comments.count] Prepared SQL: [select a.BaseNo UserNo,count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202598,202599,202600,6385,6390,6392,6401,6402,6403,6407,6410,6476,6477,6481,6483,6484,6485,6486,6487,6587) and a.isdeleted=0 group by a.BaseNo]
2019-04-04 16:59:56,124 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.comments.count] PreparedStatement : [select a.BaseNo UserNo,count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202598,202599,202600,6385,6390,6392,6401,6402,6403,6407,6410,6476,6477,6481,6483,6484,6485,6486,6487,6587) and a.isdeleted=0 group by a.BaseNo]
2019-04-04 16:59:56,129 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49382823" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:56,185 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49382823" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:56,187 [3824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 order by a.Sort]
2019-04-04 16:59:56,187 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 order by a.Sort]
2019-04-04 16:59:56,193 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15225125" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:56,204 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15225125" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:56,204 [3824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','SchoolCode','JobExp','IndExp') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 16:59:56,204 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','SchoolCode','JobExp','IndExp') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 16:59:56,209 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26458746" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:56,232 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26458746" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:56,233 [3824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo in (306385,306390,306392,306401,306402,306403,306407,306410,306476,306477,306481,306483,306484,306485,306486,306487,306587)]
2019-04-04 16:59:56,233 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo in (306385,306390,306392,306401,306402,306403,306407,306410,306476,306477,306481,306483,306484,306485,306486,306487,306587)]
2019-04-04 16:59:56,238 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39449526" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 16:59:56,249 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39449526" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:20,889 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 17:01:20,889 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 17:01:20,890 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 17:01:20,903 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59457647" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:20,911 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59457647" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:20,911 [3824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admins] Prepared SQL: [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.status= ?param0 ) a where RNO between 1 and 20 order by a.rno]
2019-04-04 17:01:20,912 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] PreparedStatement : [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.status= ?param0 ) a where RNO between 1 and 20 order by a.rno]
2019-04-04 17:01:20,912 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Parameters: [?param0=[Status,1]]
2019-04-04 17:01:20,912 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Types: [?param0=[String, System.String]]
2019-04-04 17:01:20,924 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39317806" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:20,943 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39317806" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:23,267 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 17:01:23,267 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 17:01:23,267 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 17:01:23,274 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45031366" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:23,282 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45031366" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:23,285 [3824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admins] Prepared SQL: [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.adminNo= ?param0 ) a order by a.rno]
2019-04-04 17:01:23,285 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] PreparedStatement : [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.adminNo= ?param0 ) a order by a.rno]
2019-04-04 17:01:23,285 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Parameters: [?param0=[AdminNo,1255]]
2019-04-04 17:01:23,285 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Types: [?param0=[Int64, System.Int64]]
2019-04-04 17:01:23,292 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26242080" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:23,300 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26242080" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:23,300 [3824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 17:01:23,300 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 17:01:23,300 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670649]]
2019-04-04 17:01:23,300 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 17:01:23,306 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31432899" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:23,309 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31432899" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:23,309 [3824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('Position') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 17:01:23,309 [3824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('Position') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 17:01:23,313 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22166585" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:01:23,321 [3824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22166585" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:29,583 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-04 17:25:29,590 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-04 17:25:29,591 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-04 17:25:29,592 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-04 17:25:29,592 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-04 17:25:29,592 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-04 17:25:29,592 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-04 17:25:29,592 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 17:25:29,592 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 17:25:29,592 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 17:25:29,593 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 17:25:29,593 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 17:25:29,593 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-04 17:25:29,593 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 17:25:29,593 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-04 17:25:29,594 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,595 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-04 17:25:29,595 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,601 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-04 17:25:29,601 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,603 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-04 17:25:29,604 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-04 17:25:29,604 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 17:25:29,604 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-04 17:25:29,604 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-04 17:25:29,604 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-04 17:25:29,606 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-04 17:25:29,606 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-04 17:25:29,606 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-04 17:25:29,606 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-04 17:25:29,606 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-04 17:25:29,606 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-04 17:25:29,608 [4076] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-04 17:25:29,609 [4076] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 17:25:29,609 [4076] 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.isdeleted=0]
2019-04-04 17:25:29,609 [4076] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-04 17:25:29,610 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-04 17:25:29,611 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-04 17:25:29,611 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-04 17:25:29,611 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,611 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-04 17:25:29,612 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-04 17:25:29,612 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-04 17:25:29,612 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-04 17:25:29,612 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-04 17:25:29,612 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-04 17:25:29,612 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-04 17:25:29,613 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-04 17:25:29,614 [4076] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 17:25:29,614 [4076] 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]
2019-04-04 17:25:29,614 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-04 17:25:29,614 [4076] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-04 17:25:29,615 [4076] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-04 17:25:29,616 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-04 17:25:29,616 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,616 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-04 17:25:29,616 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,617 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,617 [4076] 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]
2019-04-04 17:25:29,617 [4076] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-04 17:25:29,617 [4076] 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]
2019-04-04 17:25:29,617 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-04 17:25:29,617 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-04 17:25:29,619 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-04 17:25:29,619 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-04 17:25:29,619 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-04 17:25:29,619 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-04 17:25:29,619 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-04 17:25:29,620 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-04 17:25:29,620 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-04 17:25:29,620 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-04 17:25:29,620 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-04 17:25:29,621 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-04 17:25:29,622 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-04 17:25:29,622 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,624 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-04 17:25:29,624 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,624 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-04 17:25:29,624 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-04 17:25:29,624 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-04 17:25:29,625 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-04 17:25:29,625 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-04 17:25:29,625 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-04 17:25:29,626 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-04 17:25:29,627 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-04 17:25:29,627 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-04 17:25:29,627 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-04 17:25:29,627 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-04 17:25:29,628 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-04 17:25:29,628 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-04 17:25:29,628 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-04 17:25:29,628 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-04 17:25:29,629 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-04 17:25:29,630 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-04 17:25:29,630 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.myorder] Prepared SQL: [select b.ONo from orderuser a inner join orders b on b.ono=a.ono and b.stdate < now() and (b.enddate is null or date_add(b.enddate, interval 24 hour) > now()) and b.progresstype in (0,2) and b.isopenfront=1 and b.isdeleted=0 where a.userno= ?param0 and a.status in (0,1,2,4,5,8) and a.isdeleted=0]
2019-04-04 17:25:29,632 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-04 17:25:29,632 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,633 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-04 17:25:29,633 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,634 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-04 17:25:29,634 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-04 17:25:29,634 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-04 17:25:29,634 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-04 17:25:29,634 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-04 17:25:29,634 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-04 17:25:29,634 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-04 17:25:29,634 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-04 17:25:29,634 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-04 17:25:29,634 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-04 17:25:29,635 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-04 17:25:29,635 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-04 17:25:29,636 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-04 17:25:29,636 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-04 17:25:29,637 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-04 17:25:29,638 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-04 17:25:29,638 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-04 17:25:29,638 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-04 17:25:29,638 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-04 17:25:29,639 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-04 17:25:29,639 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-04 17:25:29,639 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-04 17:25:29,640 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-04 17:25:29,641 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-04 17:25:29,642 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-04 17:25:29,642 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-04 17:25:29,642 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,643 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-04 17:25:29,643 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-04 17:25:29,644 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-04 17:25:29,644 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-04 17:25:29,644 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-04 17:25:29,644 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-04 17:25:29,644 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-04 17:25:29,645 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-04 17:25:29,645 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-04 17:25:29,645 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-04 17:25:29,646 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-04 17:25:29,646 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-04 17:25:29,646 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-04 17:25:29,646 [4076] 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]
2019-04-04 17:25:29,647 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-04 17:25:29,647 [4076] 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]
2019-04-04 17:25:29,647 [4076] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-04 17:25:29,647 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-04 17:25:29,647 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-04 17:25:29,648 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-04 17:25:29,649 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-04 17:25:29,650 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 17:25:29,650 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 17:25:29,650 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-04 17:25:29,654 [4076] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 17:25:29,654 [4076] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-04 17:25:29,654 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-04 17:25:29,654 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-04 17:25:29,820 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3448048" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:29,848 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3448048" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:29,851 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 17:25:29,851 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 17:25:29,851 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 17:25:29,865 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32261624" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:29,869 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32261624" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:29,882 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admins] Prepared SQL: [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.status= ?param0 and (a.usernamereal = ?param1 or CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char)= ?param1 ) ) a where RNO between 1 and 20 order by a.rno]
2019-04-04 17:25:29,882 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] PreparedStatement : [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.status= ?param0 and (a.usernamereal = ?param1 or CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char)= ?param1 ) ) a where RNO between 1 and 20 order by a.rno]
2019-04-04 17:25:29,883 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Parameters: [?param0=[Status,1], ?param1=[UserNameIdIC,linda]]
2019-04-04 17:25:29,883 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Types: [?param0=[String, System.String], ?param1=[String, System.String]]
2019-04-04 17:25:29,888 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41938759" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:29,910 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41938759" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:30,635 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 17:25:30,635 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 17:25:30,635 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 17:25:30,641 [1124] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12036987" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:30,648 [1124] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12036987" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:30,649 [1124] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admins] Prepared SQL: [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.status= ?param0 and (a.usernamereal = ?param1 or CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char)= ?param1 ) ) a where RNO between 1 and 20 order by a.rno]
2019-04-04 17:25:30,649 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] PreparedStatement : [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.status= ?param0 and (a.usernamereal = ?param1 or CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char)= ?param1 ) ) a where RNO between 1 and 20 order by a.rno]
2019-04-04 17:25:30,649 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Parameters: [?param0=[Status,1], ?param1=[UserNameIdIC,linda]]
2019-04-04 17:25:30,649 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Types: [?param0=[String, System.String], ?param1=[String, System.String]]
2019-04-04 17:25:30,658 [1124] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42715336" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:30,669 [1124] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42715336" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:33,583 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 17:25:33,583 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 17:25:33,583 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 17:25:33,590 [1124] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38097371" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:33,594 [1124] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38097371" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:33,596 [1124] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admins] Prepared SQL: [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.adminNo= ?param0 ) a order by a.rno]
2019-04-04 17:25:33,596 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] PreparedStatement : [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.adminNo= ?param0 ) a order by a.rno]
2019-04-04 17:25:33,596 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Parameters: [?param0=[AdminNo,102]]
2019-04-04 17:25:33,596 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Types: [?param0=[Int64, System.Int64]]
2019-04-04 17:25:33,603 [1124] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26137466" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:33,612 [1124] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26137466" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:33,612 [1124] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('Position') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 17:25:33,612 [1124] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('Position') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 17:25:33,619 [1124] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27562175" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:33,631 [1124] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27562175" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:39,581 [16224] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.checkadmin] Prepared SQL: [select CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email from admin a where a.Email=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!' )) and a.adminno<> ?param1]
2019-04-04 17:25:39,582 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.checkadmin] PreparedStatement : [select CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email from admin a where a.Email=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!' )) and a.adminno<> ?param1]
2019-04-04 17:25:39,582 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.checkadmin] Parameters: [?param0=[Email,linda@younpartners.com], ?param1=[AdminNo,102]]
2019-04-04 17:25:39,582 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.checkadmin] Types: [?param0=[String, System.String], ?param1=[Int64, System.Int64]]
2019-04-04 17:25:39,602 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9369933" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:39,607 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9369933" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:39,608 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.authlog] PreparedStatement : [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-04 17:25:39,608 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.authlog] Parameters: [?param0=[AdminNo,1252], ?param1=[AdminNoChange,102], ?param2=[UserType,31], ?param3=[UNO,1252], ?param4=[UIP,127.0.0.1]]
2019-04-04 17:25:39,609 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.authlog] Types: [?param0=[Int64, System.Int64], ?param1=[Int64, System.Int64], ?param2=[Int32, System.Int32], ?param3=[Int64, System.Int64], ?param4=[String, System.String]]
2019-04-04 17:25:39,629 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56473561" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:39,632 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56473561" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:39,633 [16224] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.update] Prepared SQL: [update admin set udt=now(),uno= ?param0 ,uip= ?param1 ,UserType= ?param2 ,UserNameReal= ?param3 ,Position= ?param4 ,Email=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!' )) ,Mobile=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!' )) ,TelNo=HEX(AES_ENCRYPT( ?param7 , 'N_P123@!' )) ,BirthDay= ?param8 ,Info= ?param9 ,FGNoProfile= ?param10 ,FGNoCCV= ?param11 ,EnterDate= ?param12 ,RetireDate= ?param13 ,ConsultantType= ?param14 ,ConsultantCompany= ?param15 ,ConsultantTeam= ?param16 ,IsTeamManage= ?param17 ,Status= ?param18 ,Security= ?param19 ,IsOpen= ?param20 ,Etc= ?param21 where adminno= ?param22]
2019-04-04 17:25:39,633 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.update] PreparedStatement : [update admin set udt=now(),uno= ?param0 ,uip= ?param1 ,UserType= ?param2 ,UserNameReal= ?param3 ,Position= ?param4 ,Email=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!' )) ,Mobile=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!' )) ,TelNo=HEX(AES_ENCRYPT( ?param7 , 'N_P123@!' )) ,BirthDay= ?param8 ,Info= ?param9 ,FGNoProfile= ?param10 ,FGNoCCV= ?param11 ,EnterDate= ?param12 ,RetireDate= ?param13 ,ConsultantType= ?param14 ,ConsultantCompany= ?param15 ,ConsultantTeam= ?param16 ,IsTeamManage= ?param17 ,Status= ?param18 ,Security= ?param19 ,IsOpen= ?param20 ,Etc= ?param21 where adminno= ?param22]
2019-04-04 17:25:39,635 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.update] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[UserType,31], ?param3=[UserNameReal,Á¦Á¤È], ?param4=[Position,3], ?param5=[Email,linda@younpartners.com], ?param6=[Mobile,010-3225-9086], ?param7=[TelNo,--], ?param8=[BirthDay,0001-01-01 ¿ÀÀü 12:00:00], ?param9=[Info,1
2
], ?param10=[FGNoProfile,null], ?param11=[FGNoCCV,null], ?param12=[EnterDate,2017-09-04 ¿ÀÀü 12:00:00], ?param13=[RetireDate,null], ?param14=[ConsultantType,0], ?param15=[ConsultantCompany,0], ?param16=[ConsultantTeam,8], ?param17=[IsTeamManage,0], ?param18=[Status,1], ?param19=[Security,0], ?param20=[IsOpen,0], ?param21=[Etc,null], ?param22=[UserNo,102]]
2019-04-04 17:25:39,635 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.update] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[String, System.String], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[DateTime, System.DateTime], ?param9=[String, System.String], ?param10=[System.DBNull, null], ?param11=[System.DBNull, null], ?param12=[DateTime, System.DateTime], ?param13=[System.DBNull, null], ?param14=[Int32, System.Int32], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32], ?param17=[Int32, System.Int32], ?param18=[Int32, System.Int32], ?param19=[Int32, System.Int32], ?param20=[Int32, System.Int32], ?param21=[System.DBNull, null], ?param22=[Int64, System.Int64]]
2019-04-04 17:25:39,642 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15741081" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:39,670 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15741081" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:40,221 [17384] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 17:25:40,221 [17384] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 17:25:40,221 [17384] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 17:25:40,228 [17384] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34863594" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:40,232 [17384] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34863594" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:40,232 [17384] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admins] Prepared SQL: [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.adminNo= ?param0 ) a order by a.rno]
2019-04-04 17:25:40,232 [17384] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] PreparedStatement : [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.adminNo= ?param0 ) a order by a.rno]
2019-04-04 17:25:40,232 [17384] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Parameters: [?param0=[AdminNo,102]]
2019-04-04 17:25:40,232 [17384] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Types: [?param0=[Int64, System.Int64]]
2019-04-04 17:25:40,239 [17384] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "66283498" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:40,248 [17384] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "66283498" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:40,248 [17384] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('Position') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 17:25:40,248 [17384] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('Position') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 17:25:40,255 [17384] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46474734" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:25:40,265 [17384] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46474734" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:06,816 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.checkadmin] Prepared SQL: [select CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email from admin a where a.Email=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!' )) and a.adminno<> ?param1]
2019-04-04 17:26:06,816 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.checkadmin] PreparedStatement : [select CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email from admin a where a.Email=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!' )) and a.adminno<> ?param1]
2019-04-04 17:26:06,816 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.checkadmin] Parameters: [?param0=[Email,linda@younpartners.com], ?param1=[AdminNo,102]]
2019-04-04 17:26:06,816 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.checkadmin] Types: [?param0=[String, System.String], ?param1=[Int64, System.Int64]]
2019-04-04 17:26:06,844 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35614004" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:06,854 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35614004" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:06,859 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.filegroup.insert] PreparedStatement : [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-04 17:26:06,860 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.filegroup.insert] Parameters: [?param0=[FolderName,Admin], ?param1=[UsingTable,Admin.FGNoProfile]]
2019-04-04 17:26:06,860 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.filegroup.insert] Types: [?param0=[String, System.String], ?param1=[String, System.String]]
2019-04-04 17:26:07,184 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50888052" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,231 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] PreparedStatement : [SELECT LAST_INSERT_ID()]
2019-04-04 17:26:07,236 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50888052" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,238 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.save] Prepared SQL: [INSERT INTO fileinfo (FGNo, OrgName, FileUrl, FileSize, Extension, DCount, IsDeleted, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , 0, 0, now() , ?param5 , now() , ?param5 , ?param6 )]
2019-04-04 17:26:07,238 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.filegroup.save] PreparedStatement : [INSERT INTO fileinfo (FGNo, OrgName, FileUrl, FileSize, Extension, DCount, IsDeleted, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , 0, 0, now() , ?param5 , now() , ?param5 , ?param6 )]
2019-04-04 17:26:07,239 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.filegroup.save] Parameters: [?param0=[FGNo,670685], ?param1=[Files[0].OrgName,Screenshot_1546495875.png], ?param2=[Files[0].FileUrl,/201904/Admin/20190404172606857_1252.png], ?param3=[Files[0].FileSize,126116], ?param4=[Files[0].Extension,png], ?param5=[UNO,1252], ?param6=[UIP,127.0.0.1]]
2019-04-04 17:26:07,239 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.filegroup.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[String, System.String], ?param3=[Int32, System.Int32], ?param4=[String, System.String], ?param5=[Int64, System.Int64], ?param6=[String, System.String]]
2019-04-04 17:26:07,246 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46122755" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,278 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46122755" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,278 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.authlog] PreparedStatement : [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-04 17:26:07,278 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.authlog] Parameters: [?param0=[AdminNo,1252], ?param1=[AdminNoChange,102], ?param2=[UserType,31], ?param3=[UNO,1252], ?param4=[UIP,127.0.0.1]]
2019-04-04 17:26:07,278 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.authlog] Types: [?param0=[Int64, System.Int64], ?param1=[Int64, System.Int64], ?param2=[Int32, System.Int32], ?param3=[Int64, System.Int64], ?param4=[String, System.String]]
2019-04-04 17:26:07,296 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11984781" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,309 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11984781" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,309 [4076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.update] Prepared SQL: [update admin set udt=now(),uno= ?param0 ,uip= ?param1 ,UserType= ?param2 ,UserNameReal= ?param3 ,Position= ?param4 ,Email=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!' )) ,Mobile=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!' )) ,TelNo=HEX(AES_ENCRYPT( ?param7 , 'N_P123@!' )) ,BirthDay= ?param8 ,Info= ?param9 ,FGNoProfile= ?param10 ,FGNoCCV= ?param11 ,EnterDate= ?param12 ,RetireDate= ?param13 ,ConsultantType= ?param14 ,ConsultantCompany= ?param15 ,ConsultantTeam= ?param16 ,IsTeamManage= ?param17 ,Status= ?param18 ,Security= ?param19 ,IsOpen= ?param20 ,Etc= ?param21 where adminno= ?param22]
2019-04-04 17:26:07,309 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.update] PreparedStatement : [update admin set udt=now(),uno= ?param0 ,uip= ?param1 ,UserType= ?param2 ,UserNameReal= ?param3 ,Position= ?param4 ,Email=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!' )) ,Mobile=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!' )) ,TelNo=HEX(AES_ENCRYPT( ?param7 , 'N_P123@!' )) ,BirthDay= ?param8 ,Info= ?param9 ,FGNoProfile= ?param10 ,FGNoCCV= ?param11 ,EnterDate= ?param12 ,RetireDate= ?param13 ,ConsultantType= ?param14 ,ConsultantCompany= ?param15 ,ConsultantTeam= ?param16 ,IsTeamManage= ?param17 ,Status= ?param18 ,Security= ?param19 ,IsOpen= ?param20 ,Etc= ?param21 where adminno= ?param22]
2019-04-04 17:26:07,309 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.update] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[UserType,31], ?param3=[UserNameReal,Á¦Á¤È], ?param4=[Position,3], ?param5=[Email,linda@younpartners.com], ?param6=[Mobile,010-3225-9086], ?param7=[TelNo,--], ?param8=[BirthDay,0001-01-01 ¿ÀÀü 12:00:00], ?param9=[Info,1
2
], ?param10=[FGNoProfile,670685], ?param11=[FGNoCCV,null], ?param12=[EnterDate,2017-09-04 ¿ÀÀü 12:00:00], ?param13=[RetireDate,null], ?param14=[ConsultantType,0], ?param15=[ConsultantCompany,0], ?param16=[ConsultantTeam,8], ?param17=[IsTeamManage,0], ?param18=[Status,1], ?param19=[Security,0], ?param20=[IsOpen,0], ?param21=[Etc,null], ?param22=[UserNo,102]]
2019-04-04 17:26:07,309 [4076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admin.update] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[String, System.String], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[DateTime, System.DateTime], ?param9=[String, System.String], ?param10=[Int64, System.Int64], ?param11=[System.DBNull, null], ?param12=[DateTime, System.DateTime], ?param13=[System.DBNull, null], ?param14=[Int32, System.Int32], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32], ?param17=[Int32, System.Int32], ?param18=[Int32, System.Int32], ?param19=[Int32, System.Int32], ?param20=[Int32, System.Int32], ?param21=[System.DBNull, null], ?param22=[Int64, System.Int64]]
2019-04-04 17:26:07,331 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21613997" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,370 [4076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21613997" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,892 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-04 17:26:07,892 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-04 17:26:07,892 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-04 17:26:07,909 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58715103" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,925 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58715103" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,926 [16224] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admins] Prepared SQL: [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.adminNo= ?param0 ) a order by a.rno]
2019-04-04 17:26:07,926 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] PreparedStatement : [select a.* from ( select a.AdminNo UserNo,a.UserType,a.UserName,a.Position,a.AdminNo,a.UserNameReal ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!' ) AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Email), 'N_P123@!' ) AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo ), 'N_P123@!' ) AS char) TelNo ,a.BirthDay,a.Info,a.FGNoProfile,a.FGNoCCV,a.EnterDate,a.RetireDate,a.ConsultantType,a.ConsultantCompany,a.ConsultantTeam,a.IsTeamManage,a.Status,a.Security,a.IsOpen,a.Etc,a.Sort ,row_number() over(order by a.enterdate desc) RNO ,count(a.adminno) over() PageTotalCount from admin a where a.adminNo= ?param0 ) a order by a.rno]
2019-04-04 17:26:07,926 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Parameters: [?param0=[AdminNo,102]]
2019-04-04 17:26:07,926 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.admins] Types: [?param0=[Int64, System.Int64]]
2019-04-04 17:26:07,951 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58467792" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,968 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58467792" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:07,968 [16224] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 17:26:07,968 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-04 17:26:07,968 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670685]]
2019-04-04 17:26:07,968 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-04 17:26:07,994 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46349554" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:08,012 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46349554" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:08,012 [16224] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('Position') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 17:26:08,012 [16224] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('Position') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-04 17:26:08,045 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56535656" to "MySQL, MySQL provider 6.10.5.0".
2019-04-04 17:26:08,068 [16224] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56535656" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:29,814 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-05 09:22:29,850 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 09:22:29,852 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-05 09:22:29,852 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-05 09:22:29,852 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-05 09:22:29,853 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-05 09:22:29,853 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-05 09:22:29,853 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 09:22:29,853 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 09:22:29,853 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 09:22:29,853 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 09:22:29,853 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 09:22:29,853 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 09:22:29,855 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 09:22:29,855 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-05 09:22:29,856 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,857 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-05 09:22:29,857 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,862 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-05 09:22:29,863 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,864 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-05 09:22:29,865 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-05 09:22:29,865 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 09:22:29,865 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-05 09:22:29,865 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 09:22:29,865 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-05 09:22:29,867 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-05 09:22:29,867 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-05 09:22:29,867 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-05 09:22:29,867 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-05 09:22:29,868 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-05 09:22:29,868 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-05 09:22:29,876 [12576] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 09:22:29,877 [12576] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 09:22:29,877 [12576] 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.isdeleted=0]
2019-04-05 09:22:29,877 [12576] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-05 09:22:29,878 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-05 09:22:29,879 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-05 09:22:29,879 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-05 09:22:29,879 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,880 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-05 09:22:29,880 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-05 09:22:29,880 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-05 09:22:29,880 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-05 09:22:29,880 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-05 09:22:29,881 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-05 09:22:29,881 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-05 09:22:29,882 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-05 09:22:29,887 [12576] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 09:22:29,888 [12576] 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]
2019-04-05 09:22:29,888 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-05 09:22:29,888 [12576] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-05 09:22:29,888 [12576] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-05 09:22:29,889 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-05 09:22:29,889 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,890 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-05 09:22:29,890 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,890 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,890 [12576] 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]
2019-04-05 09:22:29,890 [12576] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-05 09:22:29,890 [12576] 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]
2019-04-05 09:22:29,891 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-05 09:22:29,891 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-05 09:22:29,897 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-05 09:22:29,897 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 09:22:29,897 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-05 09:22:29,897 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-05 09:22:29,897 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-05 09:22:29,897 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-05 09:22:29,898 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-05 09:22:29,898 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-05 09:22:29,898 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-05 09:22:29,898 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-05 09:22:29,900 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-05 09:22:29,900 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,902 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-05 09:22:29,902 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,902 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-05 09:22:29,903 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-05 09:22:29,903 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-05 09:22:29,903 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-05 09:22:29,903 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-05 09:22:29,904 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-05 09:22:29,904 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-05 09:22:29,910 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-05 09:22:29,911 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-05 09:22:29,911 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-05 09:22:29,911 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-05 09:22:29,911 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-05 09:22:29,911 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 09:22:29,912 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 09:22:29,912 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-05 09:22:29,913 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-05 09:22:29,913 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-05 09:22:29,913 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.myorder] Prepared SQL: [select b.ONo from orderuser a inner join orders b on b.ono=a.ono and b.stdate < now() and (b.enddate is null or date_add(b.enddate, interval 24 hour) > now()) and b.progresstype in (0,2) and b.isopenfront=1 and b.isdeleted=0 where a.userno= ?param0 and a.status in (0,1,2,4,5,8) and a.isdeleted=0]
2019-04-05 09:22:29,915 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-05 09:22:29,915 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,916 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-05 09:22:29,916 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,916 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-05 09:22:29,917 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-05 09:22:29,917 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-05 09:22:29,917 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-05 09:22:29,917 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-05 09:22:29,917 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-05 09:22:29,917 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-05 09:22:29,917 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-05 09:22:29,917 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-05 09:22:29,917 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-05 09:22:29,917 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-05 09:22:29,918 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-05 09:22:29,919 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-05 09:22:29,924 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-05 09:22:29,926 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-05 09:22:29,926 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-05 09:22:29,936 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-05 09:22:29,936 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-05 09:22:29,936 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-05 09:22:29,937 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-05 09:22:29,937 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-05 09:22:29,937 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-05 09:22:29,938 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-05 09:22:29,944 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-05 09:22:29,949 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-05 09:22:29,950 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-05 09:22:29,950 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,950 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-05 09:22:29,955 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-05 09:22:29,955 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-05 09:22:29,956 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-05 09:22:29,957 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-05 09:22:29,957 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-05 09:22:29,958 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 09:22:29,958 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-05 09:22:29,958 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 09:22:29,958 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-05 09:22:29,959 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-05 09:22:29,959 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-05 09:22:29,960 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-05 09:22:29,960 [12576] 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]
2019-04-05 09:22:29,960 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 09:22:29,961 [12576] 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]
2019-04-05 09:22:29,961 [12576] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 09:22:29,961 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 09:22:29,961 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-05 09:22:29,966 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-05 09:22:29,967 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-05 09:22:29,968 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 09:22:29,968 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 09:22:29,968 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 09:22:29,981 [12576] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 09:22:29,982 [12576] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 09:22:29,990 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-05 09:22:29,990 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:22:30,168 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6614575" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:30,201 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6614575" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:30,204 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 09:22:30,204 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,0], ?param1=[UserGroup,0]]
2019-04-05 09:22:30,204 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 09:22:30,209 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "5923823" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:30,213 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "5923823" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,478 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] PreparedStatement : [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-05 09:22:34,478 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] Parameters: [?param0=[UserId,sysadmin]]
2019-04-05 09:22:34,478 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] Types: [?param0=[String, System.String]]
2019-04-05 09:22:34,483 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9098101" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,494 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9098101" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,494 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.intranetip] Prepared SQL: [select a.IPNo,a.SIP,a.EIP,a.Memo,a.IsActive,a.UDT ,b.username CNOName from intranetip a left outer join admin b on b.adminno=a.cno where a.isdeleted=0 and a.IsActive= ?param0]
2019-04-05 09:22:34,494 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] PreparedStatement : [select a.IPNo,a.SIP,a.EIP,a.Memo,a.IsActive,a.UDT ,b.username CNOName from intranetip a left outer join admin b on b.adminno=a.cno where a.isdeleted=0 and a.IsActive= ?param0]
2019-04-05 09:22:34,494 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] Parameters: [?param0=[IsActive,1]]
2019-04-05 09:22:34,494 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:22:34,499 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31801906" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,507 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31801906" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,509 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] PreparedStatement : [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 09:22:34,509 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] Parameters: [?param0=[AdminNo,1252], ?param1=[LoginStatus,1], ?param2=[LoginData,null], ?param3=[UNO,0], ?param4=[UIP,127.0.0.1]]
2019-04-05 09:22:34,509 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] Types: [?param0=[Int64, System.Int64], ?param1=[Int16, System.Int16], ?param2=[System.DBNull, null], ?param3=[Int64, System.Int64], ?param4=[String, System.String]]
2019-04-05 09:22:34,514 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42829968" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,550 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42829968" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,575 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 09:22:34,575 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 09:22:34,575 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 09:22:34,578 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51982961" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,581 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51982961" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,594 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-05 09:22:34,594 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-05 09:22:34,594 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Parameters: [?param0=[Status,1]]
2019-04-05 09:22:34,594 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:22:34,599 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63360839" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,608 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63360839" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,608 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata] Prepared SQL: [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y%m')=date_format( now() ,'%Y%m') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-05 09:22:34,608 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata] PreparedStatement : [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y%m')=date_format( now() ,'%Y%m') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-05 09:22:34,613 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10532909" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,698 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10532909" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,698 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] PreparedStatement : [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-05 09:22:34,698 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Parameters: [?param0=[AdminNo,1252]]
2019-04-05 09:22:34,698 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Types: [?param0=[Int64, System.Int64]]
2019-04-05 09:22:34,703 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12041683" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,709 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12041683" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,712 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata3] Prepared SQL: [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a]
2019-04-05 09:22:34,712 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] PreparedStatement : [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a]
2019-04-05 09:22:34,713 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Parameters: [?param0=[LongVal1,1252]]
2019-04-05 09:22:34,713 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Types: [?param0=[Int64, System.Int64]]
2019-04-05 09:22:34,717 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61831242" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:34,774 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61831242" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:42,470 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 09:22:42,471 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 09:22:42,471 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 09:22:42,475 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62332484" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:42,478 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62332484" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:42,485 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 09:22:42,485 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 09:22:42,485 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-05 09:22:42,485 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-05 09:22:42,489 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17276581" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:42,550 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17276581" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:42,551 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:22:42,551 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:22:42,555 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33256275" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:42,567 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33256275" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:42,567 [12576] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 09:22:42,567 [12576] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 09:22:42,572 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23715282" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:42,613 [12576] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23715282" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:57,553 [13060] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 09:22:57,554 [13060] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 09:22:57,554 [13060] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 09:22:57,560 [13060] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34250480" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:57,563 [13060] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34250480" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:57,563 [13060] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-03-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 09:22:57,563 [13060] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-03-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 09:22:57,563 [13060] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-05 09:22:57,563 [13060] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-05 09:22:57,568 [13060] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14472917" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:57,633 [13060] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14472917" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:57,633 [13060] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:22:57,633 [13060] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:22:57,638 [13060] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59107228" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:57,646 [13060] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59107228" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:57,647 [13060] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-03-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 09:22:57,647 [13060] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-03-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 09:22:57,653 [13060] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51866944" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:22:57,697 [13060] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51866944" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,782 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 09:23:04,782 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 09:23:04,782 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 09:23:04,786 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "18866172" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,789 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "18866172" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,793 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 09:23:04,794 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:04,794 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:04,798 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9525577" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,809 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9525577" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,809 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:04,809 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:04,809 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:04,809 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:04,814 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38597246" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,820 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38597246" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,820 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:04,820 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:04,825 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19197970" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,832 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19197970" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,832 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 09:23:04,832 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:04,832 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:04,837 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1848722" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,849 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1848722" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,850 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-05 09:23:04,850 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-05 09:23:04,854 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "8133937" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,908 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "8133937" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:04,913 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-05 09:23:04,913 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-05 09:23:04,914 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9236], ?param1=[KeyWords[0],,2735,]]
2019-04-05 09:23:04,914 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String]]
2019-04-05 09:23:04,918 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41948122" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:05,016 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41948122" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:05,017 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 09:23:05,017 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 09:23:05,017 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 09:23:05,017 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 09:23:05,022 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "8779938" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:05,029 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "8779938" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:05,029 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-05 09:23:05,029 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-05 09:23:05,033 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "4966652" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:05,046 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "4966652" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:05,046 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:05,046 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:05,046 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 09:23:05,046 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:05,051 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46887898" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:05,056 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46887898" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:08,278 [13060] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 09:23:08,278 [13060] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9236]]
2019-04-05 09:23:08,278 [13060] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-05 09:23:08,284 [13060] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "40901866" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:08,328 [13060] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "40901866" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,836 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 09:23:10,836 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 09:23:10,836 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 09:23:10,841 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25896256" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,844 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25896256" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,847 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:10,847 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:10,847 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 09:23:10,847 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:10,852 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32423297" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,854 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32423297" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,855 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 09:23:10,856 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:10,856 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:10,859 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6202638" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,868 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6202638" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,868 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:10,868 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:10,868 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:10,868 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:10,872 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7841090" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,876 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7841090" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,876 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 09:23:10,876 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 09:23:10,876 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 09:23:10,876 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 09:23:10,880 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "66893021" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,884 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "66893021" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,884 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 09:23:10,884 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 09:23:10,884 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-05 09:23:10,884 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-05 09:23:10,888 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50489001" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,895 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50489001" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,895 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 09:23:10,895 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:10,895 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:10,900 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62447839" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,906 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62447839" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,906 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:10,906 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:10,911 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43754323" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:10,922 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43754323" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,866 [6188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:31,866 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:31,866 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 09:23:31,866 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:31,871 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49993636" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,874 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49993636" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,874 [6188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:31,874 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:31,874 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:31,874 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:31,879 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25656825" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,882 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25656825" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,883 [6188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:31,883 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:31,888 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61008942" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,892 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61008942" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,893 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-05 09:23:31,895 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[UserNo,202586], ?param3=[OrderName,º°À» º¸¿©µå¸³´Ï´Ù], ?param4=[Assign,150], ?param5=[IndustryIdx,159], ?param6=[Salary,30000000], ?param7=[Position,null], ?param8=[Premium,20], ?param9=[SalesGubun,1], ?param10=[Sales,6000000], ?param11=[PreSales,0], ?param12=[MiddleSales,0], ?param13=[RemainSales,0], ?param14=[StDate,2019-04-01 ¿ÀÀü 12:00:00], ?param15=[EndDate,2019-04-04 ¿ÀÀü 12:00:00], ?param16=[FGNo,670668], ?param17=[GoalDate,null], ?param18=[KeyWord,2735], ?param19=[KeyWordText,CFO], ?param20=[OrderInfo,
], ?param21=[Progress,166], ?param22=[ProgressType,0], ?param23=[RecommanCount,2], ?param24=[IsLock,0], ?param25=[ONo,9236]]
2019-04-05 09:23:31,895 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int64, System.Int64], ?param3=[String, System.String], ?param4=[Int32, System.Int32], ?param5=[Int32, System.Int32], ?param6=[Double, System.Double], ?param7=[System.DBNull, null], ?param8=[Double, System.Double], ?param9=[Int32, System.Int32], ?param10=[Double, System.Double], ?param11=[Double, System.Double], ?param12=[Double, System.Double], ?param13=[Double, System.Double], ?param14=[DateTime, System.DateTime], ?param15=[DateTime, System.DateTime], ?param16=[Int64, System.Int64], ?param17=[System.DBNull, null], ?param18=[String, System.String], ?param19=[String, System.String], ?param20=[String, System.String], ?param21=[Int32, System.Int32], ?param22=[Int32, System.Int32], ?param23=[Int32, System.Int32], ?param24=[Int32, System.Int32], ?param25=[Int32, System.Int32]]
2019-04-05 09:23:31,900 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24467788" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,923 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24467788" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,923 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 09:23:31,923 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:31,923 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:31,927 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41318117" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,933 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41318117" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,934 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-05 09:23:31,934 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9236], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-05 09:23:31,934 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-05 09:23:31,939 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63432528" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:31,961 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63432528" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,087 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 09:23:33,088 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 09:23:33,088 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 09:23:33,094 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39599004" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,099 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39599004" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,099 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:33,099 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:33,099 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 09:23:33,099 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:33,105 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29224465" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,108 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29224465" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,108 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 09:23:33,108 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:33,108 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:33,113 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35691317" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,120 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35691317" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,120 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:33,120 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:33,120 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:33,120 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:33,125 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63876855" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,129 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63876855" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,129 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 09:23:33,129 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 09:23:33,129 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 09:23:33,129 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 09:23:33,133 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19570765" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,138 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19570765" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,138 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 09:23:33,138 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 09:23:33,138 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-05 09:23:33,138 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-05 09:23:33,144 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30553929" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,150 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30553929" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,150 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 09:23:33,150 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:33,150 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:33,158 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3842331" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,164 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3842331" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,164 [8160] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:33,164 [8160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:33,168 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27424070" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:33,179 [8160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27424070" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:54,927 [6188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:54,927 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:54,927 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 09:23:54,927 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:54,931 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "4596076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:54,934 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "4596076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:54,934 [6188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:54,934 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:54,934 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:54,934 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:54,939 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "67078135" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:54,943 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "67078135" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:54,943 [6188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:54,943 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:54,947 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64865673" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:54,951 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64865673" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:54,951 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-05 09:23:54,951 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[UserNo,202586], ?param3=[OrderName,º°À» º¸¿©µå¸³´Ï´Ù], ?param4=[Assign,150], ?param5=[IndustryIdx,159], ?param6=[Salary,30000000], ?param7=[Position,null], ?param8=[Premium,20], ?param9=[SalesGubun,1], ?param10=[Sales,6000000], ?param11=[PreSales,0], ?param12=[MiddleSales,0], ?param13=[RemainSales,0], ?param14=[StDate,2019-04-01 ¿ÀÀü 12:00:00], ?param15=[EndDate,null], ?param16=[FGNo,670668], ?param17=[GoalDate,null], ?param18=[KeyWord,2735], ?param19=[KeyWordText,CFO], ?param20=[OrderInfo,
], ?param21=[Progress,166], ?param22=[ProgressType,0], ?param23=[RecommanCount,2], ?param24=[IsLock,0], ?param25=[ONo,9236]]
2019-04-05 09:23:54,951 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int64, System.Int64], ?param3=[String, System.String], ?param4=[Int32, System.Int32], ?param5=[Int32, System.Int32], ?param6=[Double, System.Double], ?param7=[System.DBNull, null], ?param8=[Double, System.Double], ?param9=[Int32, System.Int32], ?param10=[Double, System.Double], ?param11=[Double, System.Double], ?param12=[Double, System.Double], ?param13=[Double, System.Double], ?param14=[DateTime, System.DateTime], ?param15=[System.DBNull, null], ?param16=[Int64, System.Int64], ?param17=[System.DBNull, null], ?param18=[String, System.String], ?param19=[String, System.String], ?param20=[String, System.String], ?param21=[Int32, System.Int32], ?param22=[Int32, System.Int32], ?param23=[Int32, System.Int32], ?param24=[Int32, System.Int32], ?param25=[Int32, System.Int32]]
2019-04-05 09:23:54,956 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37573667" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:54,998 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37573667" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:54,998 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 09:23:54,998 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:54,998 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:55,002 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58523150" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:55,009 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58523150" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:55,009 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-05 09:23:55,009 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9236], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-05 09:23:55,009 [6188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-05 09:23:55,014 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "44331547" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:55,035 [6188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "44331547" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,083 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 09:23:56,083 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 09:23:56,083 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 09:23:56,087 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11158549" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,090 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11158549" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,090 [7592] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:56,090 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 09:23:56,090 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 09:23:56,090 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:56,094 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10213160" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,097 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10213160" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,097 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 09:23:56,097 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:56,097 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:56,101 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42342608" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,107 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42342608" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,107 [7592] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:56,107 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 09:23:56,108 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:56,108 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:56,112 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23172649" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,116 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23172649" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,116 [7592] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 09:23:56,116 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 09:23:56,116 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 09:23:56,116 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 09:23:56,120 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52081661" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,124 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52081661" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,124 [7592] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 09:23:56,124 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 09:23:56,124 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-05 09:23:56,124 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-05 09:23:56,128 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47973293" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,134 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47973293" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,134 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 09:23:56,134 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-05 09:23:56,134 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-05 09:23:56,138 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30181411" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,145 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30181411" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,145 [7592] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:56,145 [7592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 09:23:56,149 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42970387" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 09:23:56,160 [7592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42970387" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:49,785 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-05 10:05:49,797 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 10:05:49,798 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-05 10:05:49,798 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-05 10:05:49,799 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-05 10:05:49,799 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-05 10:05:49,799 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-05 10:05:49,799 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 10:05:49,799 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 10:05:49,799 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 10:05:49,799 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 10:05:49,800 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 10:05:49,800 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 10:05:49,800 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 10:05:49,800 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-05 10:05:49,801 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,802 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-05 10:05:49,802 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,807 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-05 10:05:49,807 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,810 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-05 10:05:49,810 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-05 10:05:49,811 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 10:05:49,811 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-05 10:05:49,811 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 10:05:49,811 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-05 10:05:49,812 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-05 10:05:49,812 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-05 10:05:49,812 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-05 10:05:49,812 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-05 10:05:49,812 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-05 10:05:49,812 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-05 10:05:49,816 [9076] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 10:05:49,817 [9076] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:05:49,817 [9076] 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.isdeleted=0]
2019-04-05 10:05:49,817 [9076] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-05 10:05:49,818 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-05 10:05:49,819 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-05 10:05:49,819 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-05 10:05:49,819 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,820 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-05 10:05:49,820 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-05 10:05:49,820 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-05 10:05:49,820 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-05 10:05:49,820 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-05 10:05:49,820 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-05 10:05:49,820 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-05 10:05:49,821 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-05 10:05:49,822 [9076] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 10:05:49,822 [9076] 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]
2019-04-05 10:05:49,822 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-05 10:05:49,823 [9076] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-05 10:05:49,823 [9076] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-05 10:05:49,824 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-05 10:05:49,824 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,824 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-05 10:05:49,824 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,824 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,824 [9076] 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]
2019-04-05 10:05:49,824 [9076] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-05 10:05:49,824 [9076] 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]
2019-04-05 10:05:49,825 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-05 10:05:49,825 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-05 10:05:49,826 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-05 10:05:49,826 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 10:05:49,826 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-05 10:05:49,826 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-05 10:05:49,826 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-05 10:05:49,826 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-05 10:05:49,827 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-05 10:05:49,827 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-05 10:05:49,827 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-05 10:05:49,827 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-05 10:05:49,829 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-05 10:05:49,829 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,830 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-05 10:05:49,830 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,830 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-05 10:05:49,830 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-05 10:05:49,830 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-05 10:05:49,830 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-05 10:05:49,831 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-05 10:05:49,831 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-05 10:05:49,831 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-05 10:05:49,833 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-05 10:05:49,833 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-05 10:05:49,833 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-05 10:05:49,833 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-05 10:05:49,833 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-05 10:05:49,833 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 10:05:49,834 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 10:05:49,834 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-05 10:05:49,835 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-05 10:05:49,835 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-05 10:05:49,835 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.myorder] Prepared SQL: [select b.ONo from orderuser a inner join orders b on b.ono=a.ono and b.stdate < now() and (b.enddate is null or date_add(b.enddate, interval 24 hour) > now()) and b.progresstype in (0,2) and b.isopenfront=1 and b.isdeleted=0 where a.userno= ?param0 and a.status in (0,1,2,4,5,8) and a.isdeleted=0]
2019-04-05 10:05:49,837 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-05 10:05:49,837 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,838 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-05 10:05:49,838 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,838 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-05 10:05:49,838 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-05 10:05:49,838 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-05 10:05:49,838 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-05 10:05:49,838 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-05 10:05:49,838 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-05 10:05:49,838 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-05 10:05:49,839 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-05 10:05:49,839 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-05 10:05:49,839 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-05 10:05:49,839 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-05 10:05:49,839 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-05 10:05:49,840 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-05 10:05:49,841 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-05 10:05:49,841 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-05 10:05:49,841 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-05 10:05:49,842 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-05 10:05:49,842 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-05 10:05:49,842 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-05 10:05:49,843 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-05 10:05:49,843 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-05 10:05:49,843 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-05 10:05:49,844 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-05 10:05:49,845 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-05 10:05:49,846 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-05 10:05:49,846 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-05 10:05:49,846 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,846 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-05 10:05:49,847 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-05 10:05:49,847 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-05 10:05:49,847 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-05 10:05:49,848 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-05 10:05:49,848 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-05 10:05:49,848 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:05:49,849 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-05 10:05:49,849 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:05:49,849 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-05 10:05:49,849 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-05 10:05:49,850 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-05 10:05:49,850 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-05 10:05:49,850 [9076] 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]
2019-04-05 10:05:49,851 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 10:05:49,851 [9076] 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]
2019-04-05 10:05:49,851 [9076] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 10:05:49,851 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 10:05:49,851 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-05 10:05:49,852 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-05 10:05:49,853 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-05 10:05:49,854 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 10:05:49,854 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 10:05:49,854 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 10:05:49,866 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:05:49,867 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:05:49,874 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 10:05:49,874 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:05:50,051 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31470190" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,073 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31470190" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,073 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:05:50,073 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:05:50,073 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:05:50,073 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:05:50,078 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15209381" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,088 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15209381" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,089 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:05:50,089 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:05:50,095 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19604847" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,105 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19604847" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,106 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-05 10:05:50,109 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[UserNo,202586], ?param3=[OrderName,º°À» º¸¿©µå¸³´Ï´Ù], ?param4=[Assign,150], ?param5=[IndustryIdx,159], ?param6=[Salary,30000000], ?param7=[Position,null], ?param8=[Premium,20], ?param9=[SalesGubun,1], ?param10=[Sales,6000000], ?param11=[PreSales,0], ?param12=[MiddleSales,0], ?param13=[RemainSales,0], ?param14=[StDate,2019-04-01 ¿ÀÀü 12:00:00], ?param15=[EndDate,2019-04-03 ¿ÀÀü 12:00:00], ?param16=[FGNo,670668], ?param17=[GoalDate,null], ?param18=[KeyWord,2735], ?param19=[KeyWordText,CFO], ?param20=[OrderInfo,
], ?param21=[Progress,166], ?param22=[ProgressType,0], ?param23=[RecommanCount,2], ?param24=[IsLock,0], ?param25=[ONo,9236]]
2019-04-05 10:05:50,109 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int64, System.Int64], ?param3=[String, System.String], ?param4=[Int32, System.Int32], ?param5=[Int32, System.Int32], ?param6=[Double, System.Double], ?param7=[System.DBNull, null], ?param8=[Double, System.Double], ?param9=[Int32, System.Int32], ?param10=[Double, System.Double], ?param11=[Double, System.Double], ?param12=[Double, System.Double], ?param13=[Double, System.Double], ?param14=[DateTime, System.DateTime], ?param15=[DateTime, System.DateTime], ?param16=[Int64, System.Int64], ?param17=[System.DBNull, null], ?param18=[String, System.String], ?param19=[String, System.String], ?param20=[String, System.String], ?param21=[Int32, System.Int32], ?param22=[Int32, System.Int32], ?param23=[Int32, System.Int32], ?param24=[Int32, System.Int32], ?param25=[Int32, System.Int32]]
2019-04-05 10:05:50,115 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65601246" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,142 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65601246" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,143 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 10:05:50,143 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:05:50,143 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:05:50,148 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "5296555" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,162 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "5296555" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,163 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-05 10:05:50,163 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9236], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-05 10:05:50,163 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-05 10:05:50,168 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15832182" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,188 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15832182" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,762 [9076] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 10:05:50,762 [9076] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 10:05:50,762 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-05 10:05:50,763 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:05:50,768 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2151779" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,786 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2151779" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,789 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:05:50,789 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:05:50,789 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:05:50,795 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36480486" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,799 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36480486" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,812 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:05:50,812 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:05:50,813 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 10:05:50,813 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:05:50,818 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25431341" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,822 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25431341" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,823 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 10:05:50,823 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:05:50,823 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:05:50,829 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61988520" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,835 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61988520" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,836 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:05:50,836 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:05:50,836 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:05:50,836 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:05:50,841 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58501386" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,845 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58501386" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,845 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 10:05:50,845 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 10:05:50,846 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 10:05:50,846 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 10:05:50,851 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49746611" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,857 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49746611" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,858 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 10:05:50,858 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 10:05:50,858 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-05 10:05:50,858 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-05 10:05:50,863 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26345131" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,876 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26345131" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,876 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 10:05:50,877 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:05:50,877 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:05:50,882 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6408547" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,888 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6408547" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,889 [9076] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:05:50,889 [9076] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:05:50,894 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61423861" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:05:50,904 [9076] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61423861" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:19,158 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:21:19,158 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:21:19,158 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:21:19,285 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12589463" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:19,288 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12589463" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:19,297 [1356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-05 10:21:19,297 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-05 10:21:19,297 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Parameters: [?param0=[Status,1]]
2019-04-05 10:21:19,297 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:19,302 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38544118" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:19,310 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38544118" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:19,310 [1356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata] Prepared SQL: [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y%m')=date_format( now() ,'%Y%m') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-05 10:21:19,310 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata] PreparedStatement : [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y%m')=date_format( now() ,'%Y%m') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-05 10:21:19,315 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26094096" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:19,353 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26094096" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:19,353 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] PreparedStatement : [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-05 10:21:19,353 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Parameters: [?param0=[AdminNo,1252]]
2019-04-05 10:21:19,353 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Types: [?param0=[Int64, System.Int64]]
2019-04-05 10:21:19,357 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47962772" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:19,362 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47962772" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:19,363 [1356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata3] Prepared SQL: [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a]
2019-04-05 10:21:19,363 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] PreparedStatement : [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a]
2019-04-05 10:21:19,363 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Parameters: [?param0=[LongVal1,1252]]
2019-04-05 10:21:19,363 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Types: [?param0=[Int64, System.Int64]]
2019-04-05 10:21:19,368 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3706674" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:19,411 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3706674" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:22,264 [11128] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:21:22,264 [11128] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:21:22,264 [11128] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:21:22,269 [11128] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17010765" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:22,272 [11128] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17010765" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:22,275 [11128] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 10:21:22,276 [11128] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 10:21:22,276 [11128] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-05 10:21:22,276 [11128] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-05 10:21:22,280 [11128] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2475430" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:22,319 [11128] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2475430" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:22,319 [11128] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:22,319 [11128] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:22,324 [11128] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38790160" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:22,330 [11128] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38790160" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:22,330 [11128] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 10:21:22,330 [11128] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 10:21:22,334 [11128] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "4549179" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:22,355 [11128] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "4549179" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:37,245 [2608] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:21:37,245 [2608] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:21:37,245 [2608] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:21:37,250 [2608] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51739592" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:37,253 [2608] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51739592" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:37,253 [2608] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 10:21:37,253 [2608] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 10:21:37,253 [2608] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-05 10:21:37,253 [2608] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-05 10:21:37,257 [2608] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30629834" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:37,288 [2608] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30629834" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:37,288 [2608] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:37,288 [2608] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:37,292 [2608] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58934478" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:37,298 [2608] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58934478" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:37,298 [2608] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 10:21:37,298 [2608] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 10:21:37,303 [2608] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19246036" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:37,327 [2608] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19246036" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,025 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:21:47,025 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:21:47,025 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:21:47,030 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58348878" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,033 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58348878" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,036 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 10:21:47,036 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:21:47,036 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:47,041 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49965909" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,049 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49965909" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,049 [1356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:21:47,049 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:21:47,049 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:21:47,050 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:47,054 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23228187" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,058 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23228187" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,058 [1356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:47,058 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:47,063 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2341127" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,068 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2341127" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,068 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 10:21:47,068 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:21:47,068 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:47,072 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42934437" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,084 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42934437" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,085 [1356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-05 10:21:47,085 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-05 10:21:47,089 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6026693" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,114 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6026693" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,117 [1356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-05 10:21:47,117 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-05 10:21:47,117 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9236], ?param1=[KeyWords[0],,2735,]]
2019-04-05 10:21:47,117 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String]]
2019-04-05 10:21:47,122 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37305015" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,171 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37305015" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,172 [1356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 10:21:47,172 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 10:21:47,172 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 10:21:47,172 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 10:21:47,175 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62619950" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,178 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62619950" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,179 [1356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-05 10:21:47,179 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-05 10:21:47,184 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6954218" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,195 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6954218" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,195 [1356] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:21:47,195 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:21:47,195 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 10:21:47,195 [1356] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:47,200 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52495784" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,203 [1356] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52495784" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,387 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 10:21:47,388 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9236]]
2019-04-05 10:21:47,388 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-05 10:21:47,395 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12130451" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:47,416 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12130451" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,844 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:21:49,844 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:21:49,844 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:21:49,849 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19926466" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,852 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19926466" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,852 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:21:49,852 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:21:49,852 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 10:21:49,852 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:49,856 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45571346" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,859 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45571346" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,859 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 10:21:49,859 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:21:49,859 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:49,869 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2150082" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,876 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2150082" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,876 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:21:49,876 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:21:49,876 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:21:49,876 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:49,880 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26125795" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,887 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26125795" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,888 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 10:21:49,888 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 10:21:49,888 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 10:21:49,888 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 10:21:49,893 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22464142" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,896 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22464142" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,896 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 10:21:49,896 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 10:21:49,896 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-05 10:21:49,896 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-05 10:21:49,901 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "57688612" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,907 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "57688612" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,907 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 10:21:49,907 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:21:49,907 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:49,916 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51602830" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,922 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51602830" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,922 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:49,922 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:49,930 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23157118" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:49,940 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23157118" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,263 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:21:59,263 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:21:59,263 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 10:21:59,263 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:59,268 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50334090" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,271 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50334090" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,271 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:21:59,271 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:21:59,271 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:21:59,271 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:59,282 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50666300" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,286 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50666300" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,286 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:59,286 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.CCode in (2735) and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:59,291 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29070174" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,295 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29070174" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,295 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-05 10:21:59,295 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[UserNo,202586], ?param3=[OrderName,º°À» º¸¿©µå¸³´Ï´Ù], ?param4=[Assign,150], ?param5=[IndustryIdx,159], ?param6=[Salary,30000000], ?param7=[Position,null], ?param8=[Premium,20], ?param9=[SalesGubun,1], ?param10=[Sales,6000000], ?param11=[PreSales,0], ?param12=[MiddleSales,0], ?param13=[RemainSales,0], ?param14=[StDate,2019-04-01 ¿ÀÀü 12:00:00], ?param15=[EndDate,null], ?param16=[FGNo,670668], ?param17=[GoalDate,null], ?param18=[KeyWord,2735], ?param19=[KeyWordText,CFO], ?param20=[OrderInfo,
], ?param21=[Progress,166], ?param22=[ProgressType,0], ?param23=[RecommanCount,2], ?param24=[IsLock,0], ?param25=[ONo,9236]]
2019-04-05 10:21:59,295 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int64, System.Int64], ?param3=[String, System.String], ?param4=[Int32, System.Int32], ?param5=[Int32, System.Int32], ?param6=[Double, System.Double], ?param7=[System.DBNull, null], ?param8=[Double, System.Double], ?param9=[Int32, System.Int32], ?param10=[Double, System.Double], ?param11=[Double, System.Double], ?param12=[Double, System.Double], ?param13=[Double, System.Double], ?param14=[DateTime, System.DateTime], ?param15=[System.DBNull, null], ?param16=[Int64, System.Int64], ?param17=[System.DBNull, null], ?param18=[String, System.String], ?param19=[String, System.String], ?param20=[String, System.String], ?param21=[Int32, System.Int32], ?param22=[Int32, System.Int32], ?param23=[Int32, System.Int32], ?param24=[Int32, System.Int32], ?param25=[Int32, System.Int32]]
2019-04-05 10:21:59,300 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23190913" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,331 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23190913" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,332 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 10:21:59,332 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:21:59,332 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:59,339 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23038526" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,346 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23038526" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,346 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-05 10:21:59,346 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9236], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-05 10:21:59,346 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-05 10:21:59,350 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2161526" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,369 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2161526" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,886 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:21:59,886 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:21:59,886 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:21:59,891 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29803003" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,894 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29803003" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,894 [2536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:21:59,894 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:21:59,894 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 10:21:59,894 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:59,902 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26468173" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,905 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26468173" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,905 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 10:21:59,905 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:21:59,905 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:59,909 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12679837" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,916 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12679837" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,916 [2536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:21:59,916 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:21:59,916 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:21:59,916 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:59,921 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26637039" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,925 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26637039" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,925 [2536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 10:21:59,925 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 10:21:59,925 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 10:21:59,925 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 10:21:59,929 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37165447" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,933 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37165447" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,933 [2536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 10:21:59,933 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 10:21:59,933 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-05 10:21:59,933 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-05 10:21:59,938 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20280810" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,944 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20280810" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,945 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 10:21:59,945 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:21:59,945 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:21:59,949 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55036379" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,955 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55036379" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,955 [2536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:59,955 [2536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:21:59,960 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61429086" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:21:59,972 [2536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61429086" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:22:37,633 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-05 10:22:37,645 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 10:22:37,646 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-05 10:22:37,647 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-05 10:22:37,647 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-05 10:22:37,647 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-05 10:22:37,647 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-05 10:22:37,647 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 10:22:37,647 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 10:22:37,647 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 10:22:37,648 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 10:22:37,648 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 10:22:37,648 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 10:22:37,649 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 10:22:37,650 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-05 10:22:37,650 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,651 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-05 10:22:37,651 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,656 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-05 10:22:37,657 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,658 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-05 10:22:37,658 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-05 10:22:37,659 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 10:22:37,659 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-05 10:22:37,659 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 10:22:37,659 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-05 10:22:37,661 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-05 10:22:37,661 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-05 10:22:37,661 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-05 10:22:37,661 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-05 10:22:37,661 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-05 10:22:37,661 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-05 10:22:37,669 [4756] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 10:22:37,670 [4756] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:22:37,670 [4756] 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.isdeleted=0]
2019-04-05 10:22:37,671 [4756] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-05 10:22:37,672 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-05 10:22:37,672 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-05 10:22:37,673 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-05 10:22:37,673 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,673 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-05 10:22:37,673 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-05 10:22:37,673 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-05 10:22:37,673 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-05 10:22:37,674 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-05 10:22:37,674 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-05 10:22:37,674 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-05 10:22:37,675 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-05 10:22:37,681 [4756] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 10:22:37,681 [4756] 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]
2019-04-05 10:22:37,681 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-05 10:22:37,681 [4756] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-05 10:22:37,682 [4756] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-05 10:22:37,683 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-05 10:22:37,683 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,683 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-05 10:22:37,684 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,684 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,684 [4756] 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]
2019-04-05 10:22:37,684 [4756] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-05 10:22:37,684 [4756] 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]
2019-04-05 10:22:37,684 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-05 10:22:37,684 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-05 10:22:37,691 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-05 10:22:37,691 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 10:22:37,691 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-05 10:22:37,691 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-05 10:22:37,692 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-05 10:22:37,692 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-05 10:22:37,692 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-05 10:22:37,692 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-05 10:22:37,692 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-05 10:22:37,693 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-05 10:22:37,694 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-05 10:22:37,694 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,697 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-05 10:22:37,697 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,697 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-05 10:22:37,697 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-05 10:22:37,697 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-05 10:22:37,698 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-05 10:22:37,698 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-05 10:22:37,698 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-05 10:22:37,699 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-05 10:22:37,704 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-05 10:22:37,705 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-05 10:22:37,705 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-05 10:22:37,705 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-05 10:22:37,705 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-05 10:22:37,705 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 10:22:37,705 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 10:22:37,706 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-05 10:22:37,706 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-05 10:22:37,707 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-05 10:22:37,707 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-05 10:22:37,710 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-05 10:22:37,710 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,711 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-05 10:22:37,711 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,711 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-05 10:22:37,711 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-05 10:22:37,711 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-05 10:22:37,711 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-05 10:22:37,711 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-05 10:22:37,711 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-05 10:22:37,712 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-05 10:22:37,712 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-05 10:22:37,712 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-05 10:22:37,712 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-05 10:22:37,712 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-05 10:22:37,712 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-05 10:22:37,713 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-05 10:22:37,714 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-05 10:22:37,719 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-05 10:22:37,720 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-05 10:22:37,720 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-05 10:22:37,724 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-05 10:22:37,724 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-05 10:22:37,724 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-05 10:22:37,724 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-05 10:22:37,726 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-05 10:22:37,726 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-05 10:22:37,727 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-05 10:22:37,731 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-05 10:22:37,736 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-05 10:22:37,736 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-05 10:22:37,736 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,736 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-05 10:22:37,741 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-05 10:22:37,742 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-05 10:22:37,742 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-05 10:22:37,742 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-05 10:22:37,742 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-05 10:22:37,743 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:22:37,743 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-05 10:22:37,743 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 10:22:37,743 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-05 10:22:37,744 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-05 10:22:37,744 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-05 10:22:37,744 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-05 10:22:37,744 [4756] 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]
2019-04-05 10:22:37,746 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 10:22:37,746 [4756] 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]
2019-04-05 10:22:37,746 [4756] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 10:22:37,746 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 10:22:37,747 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-05 10:22:37,752 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-05 10:22:37,752 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-05 10:22:37,753 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 10:22:37,753 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 10:22:37,753 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 10:22:37,762 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.keyword] Prepared SQL: [select a.UserNo from users a where a.usergroup=0 and a.usertype=3 and a.status=1 and a.isdeleted=0 and ( concat(',', ifnull(a.keyword, ''), ',') like ?param0 )]
2019-04-05 10:22:37,763 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.keyword] PreparedStatement : [select a.UserNo from users a where a.usergroup=0 and a.usertype=3 and a.status=1 and a.isdeleted=0 and ( concat(',', ifnull(a.keyword, ''), ',') like ?param0 )]
2019-04-05 10:22:37,766 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.keyword] Parameters: [?param0=[ArrString[0],%,2735,%]]
2019-04-05 10:22:37,766 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.keyword] Types: [?param0=[String, System.String]]
2019-04-05 10:22:37,878 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34605796" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:22:37,961 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34605796" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:22:37,966 [4756] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.insert] Prepared SQL: [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),userno,1,0,0, now(), ?param8 ,now(), ?param8 , ?param9 from users where userno in (202601) and isdeleted=0]
2019-04-05 10:22:37,966 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.insert] PreparedStatement : [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),userno,1,0,0, now(), ?param8 ,now(), ?param8 , ?param9 from users where userno in (202601) and isdeleted=0]
2019-04-05 10:22:37,967 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.insert] Parameters: [?param0=[PMNo,null], ?param1=[SendUserGroup,0], ?param2=[MTitle,ȸ¿ø´Ô¿¡ ¾Ë¸ÂÀº °ø°í°¡ µî·ÏµÇ¾ú½À´Ï´Ù.], ?param3=[MContents,ȸ¿ø´Ô²²¼ °ü½ÉÀÖÀ¸½Ç¸¸ÇÑ °ø°í°¡ µî·ÏµÇ¾ú½À´Ï´Ù. ¾Æ·¡ °ø°í ³»¿ëÀ» Ŭ¸¯ÇϽþî È®ÀÎÇØº¸¼¼¿ä. 'º°À» º¸¿©µå¸³´Ï´Ù'], ?param4=[FGNo,null], ?param5=[RefNo,9236], ?param6=[RefDesc,Order.ONo:2735], ?param7=[CNO,1252], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-05 10:22:37,968 [4756] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.insert] Types: [?param0=[System.DBNull, null], ?param1=[Int32, System.Int32], ?param2=[String, System.String], ?param3=[String, System.String], ?param4=[System.DBNull, null], ?param5=[Int64, System.Int64], ?param6=[String, System.String], ?param7=[Int64, System.Int64], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-05 10:22:37,973 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43373627" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:22:38,014 [4756] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43373627" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:57,679 [9536] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 10:30:57,679 [9536] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 10:30:57,679 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-05 10:30:57,679 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:30:57,784 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59435792" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:57,804 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59435792" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:57,806 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:30:57,807 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:30:57,807 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:30:57,813 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50573608" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:57,817 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50573608" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:57,829 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 10:30:57,829 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:30:57,829 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:30:57,833 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16192792" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:57,853 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16192792" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,412 [9536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:30:58,412 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 10:30:58,413 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:30:58,413 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:30:58,418 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62374057" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,432 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62374057" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,434 [9536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:30:58,434 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 10:30:58,439 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29425004" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,454 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29425004" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,454 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 10:30:58,454 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9236]]
2019-04-05 10:30:58,454 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:30:58,458 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52170838" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,473 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52170838" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,474 [9536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-05 10:30:58,475 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-05 10:30:58,480 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20049742" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,537 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20049742" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,538 [9536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-05 10:30:58,538 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-05 10:30:58,538 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9236], ?param1=[KeyWords[0],,2735,]]
2019-04-05 10:30:58,538 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String]]
2019-04-05 10:30:58,543 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "913983" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,638 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "913983" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,639 [9536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 10:30:58,640 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 10:30:58,640 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 10:30:58,640 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 10:30:58,645 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17891598" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,663 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17891598" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,665 [9536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-05 10:30:58,665 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-05 10:30:58,670 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53305934" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,702 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53305934" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,703 [9536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:30:58,703 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:30:58,703 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 10:30:58,703 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:30:58,709 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58504853" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:30:58,719 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58504853" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:06,002 [14924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 10:31:06,002 [14924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9236]]
2019-04-05 10:31:06,002 [14924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-05 10:31:06,007 [14924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50078754" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:06,055 [14924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50078754" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:09,145 [14924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:31:09,145 [14924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:31:09,145 [14924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:31:09,149 [14924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53683821" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:09,153 [14924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53683821" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:09,155 [14924] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:31:09,155 [14924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:31:09,155 [14924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 10:31:09,155 [14924] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:31:09,160 [14924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34012248" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:09,162 [14924] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34012248" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:13,778 [13052] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:31:13,778 [13052] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:31:13,778 [13052] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:31:13,782 [13052] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45903730" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:13,785 [13052] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45903730" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:13,786 [13052] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.glist] Prepared SQL: [select CGroup, CGroup Value, CGroupName, CGroupName Text, count(cgroup) CCount, row_number() over(order by CGroupName) RNO from comcode group by CGroup, CGroupName]
2019-04-05 10:31:13,786 [13052] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.comcode.glist] PreparedStatement : [select CGroup, CGroup Value, CGroupName, CGroupName Text, count(cgroup) CCount, row_number() over(order by CGroupName) RNO from comcode group by CGroup, CGroupName]
2019-04-05 10:31:13,791 [13052] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11568736" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:13,806 [13052] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11568736" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:14,638 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:31:14,638 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:31:14,638 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:31:14,642 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13013286" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:14,645 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13013286" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:14,645 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:31:14,645 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,0]]
2019-04-05 10:31:14,645 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:31:14,649 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32387567" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:14,655 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32387567" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:21,807 [13556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:31:21,807 [13556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:31:21,807 [13556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:31:21,811 [13556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38431540" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:21,814 [13556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38431540" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:21,814 [13556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:31:21,814 [13556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,1]]
2019-04-05 10:31:21,814 [13556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:31:21,820 [13556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19704807" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:21,822 [13556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19704807" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:30,697 [13052] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:31:30,697 [13052] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:31:30,697 [13052] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:31:30,702 [13052] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50956790" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:30,704 [13052] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50956790" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:30,704 [13052] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:31:30,704 [13052] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,2]]
2019-04-05 10:31:30,704 [13052] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:31:30,708 [13052] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38860487" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:30,712 [13052] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38860487" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:39,040 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:31:39,040 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:31:39,040 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:31:39,044 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "60086901" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:39,047 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "60086901" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:39,047 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:31:39,047 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,3]]
2019-04-05 10:31:39,047 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:31:39,051 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7112962" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:31:39,466 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7112962" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:32:50,750 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:32:50,750 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:32:50,750 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:32:50,754 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43453831" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:32:50,757 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43453831" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:32:50,758 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:32:50,758 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,1]]
2019-04-05 10:32:50,758 [9536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:32:50,762 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14674517" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:32:50,765 [9536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14674517" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:32:51,655 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:32:51,655 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:32:51,655 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:32:51,660 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64836888" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:32:51,662 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64836888" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:32:51,662 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:32:51,662 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,0]]
2019-04-05 10:32:51,663 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:32:51,668 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "8208689" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:32:51,672 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "8208689" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:33:00,511 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:33:00,511 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:33:00,511 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:33:00,515 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10454188" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:33:00,518 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10454188" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:33:00,518 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:33:00,518 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,1]]
2019-04-05 10:33:00,518 [2856] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:33:00,522 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16190821" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:33:00,524 [2856] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16190821" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:32,606 [14960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] PreparedStatement : [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 10:40:32,606 [14960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[MHtml,
/>, ^ȸ¿ø¸í^´Ô,/>À¯¾ØÆÄÆ®³ÊÁî ȨÆäÀÌÁö ºñ¹Ð¹øÈ£¸¦ Àç¼³Á¤Çϱâ À§ÇÑ ¸µÅ©¸¦ Àü´ÞÇÕ´Ï´Ù./>¸µÅ©¸¦ Ŭ¸¯Çϼż ºñ¹Ð¹øÈ£¸¦ Àç¼³Á¤ÇØÁÖ¼¼¿ä.
ºñ¹Ð¹øÈ£ Àç¼³Á¤
ÀÌ ¸µÅ©´Â 24½Ã°£ µÚ ¸¸·áµË´Ï´Ù.], ?param3=[MTNo,1]]
2019-04-05 10:40:32,607 [14960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[String, System.String], ?param3=[Int32, System.Int32]]
2019-04-05 10:40:32,726 [14960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "18379293" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:32,759 [14960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "18379293" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:33,307 [14960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:40:33,396 [14960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:40:33,396 [14960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:40:33,401 [14960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62097858" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:33,404 [14960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62097858" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:33,404 [14960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:40:33,404 [14960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,1]]
2019-04-05 10:40:33,404 [14960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:40:33,409 [14960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17692099" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:33,413 [14960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17692099" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:45,840 [3152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] PreparedStatement : [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 10:40:45,840 [3152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[MHtml,
, ^ȸ¿ø¸í^´Ô,/>À¯¾ØÆÄÆ®³ÊÁî ȨÆäÀÌÁö ºñ¹Ð¹øÈ£¸¦ Àç¼³Á¤Çϱâ À§ÇÑ ¸µÅ©¸¦ Àü´ÞÇÕ´Ï´Ù./>¸µÅ©¸¦ Ŭ¸¯Çϼż ºñ¹Ð¹øÈ£¸¦ Àç¼³Á¤ÇØÁÖ¼¼¿ä.
ºñ¹Ð¹øÈ£ Àç¼³Á¤
ÀÌ ¸µÅ©´Â 24½Ã°£ µÚ ¸¸·áµË´Ï´Ù.], ?param3=[MTNo,1]]
2019-04-05 10:40:45,840 [3152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[String, System.String], ?param3=[Int32, System.Int32]]
2019-04-05 10:40:45,846 [3152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24155481" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:45,879 [3152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24155481" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:46,404 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:40:46,404 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:40:46,404 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:40:46,410 [3928] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39560059" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:46,412 [3928] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39560059" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:46,412 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:40:46,412 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,1]]
2019-04-05 10:40:46,412 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:40:46,418 [3928] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17079150" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:40:46,421 [3928] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17079150" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:09,740 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] PreparedStatement : [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 10:41:09,740 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[MHtml,
¾È³çÇϼ¼¿ä, ^ȸ¿ø¸í^´Ô,/>À¯¾ØÆÄÆ®³ÊÁî ȨÆäÀÌÁö ºñ¹Ð¹øÈ£¸¦ Àç¼³Á¤Çϱâ À§ÇÑ ¸µÅ©¸¦ Àü´ÞÇÕ´Ï´Ù./>¸µÅ©¸¦ Ŭ¸¯Çϼż ºñ¹Ð¹øÈ£¸¦ Àç¼³Á¤ÇØÁÖ¼¼¿ä.
ºñ¹Ð¹øÈ£ Àç¼³Á¤
ÀÌ ¸µÅ©´Â 24½Ã°£ µÚ ¸¸·áµË´Ï´Ù.], ?param3=[MTNo,1]]
2019-04-05 10:41:09,740 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[String, System.String], ?param3=[Int32, System.Int32]]
2019-04-05 10:41:09,746 [3928] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "54266991" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:09,787 [3928] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "54266991" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:10,319 [3152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:41:10,319 [3152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:41:10,319 [3152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:41:10,325 [3152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56378547" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:10,328 [3152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56378547" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:10,328 [3152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:41:10,328 [3152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,1]]
2019-04-05 10:41:10,328 [3152] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:41:10,333 [3152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25075299" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:10,337 [3152] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25075299" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:35,032 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] PreparedStatement : [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 10:41:35,033 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[MHtml,
¾È³çÇϼ¼¿ä, ^ȸ¿ø¸í^´Ô,
À¯¾ØÆÄÆ®³ÊÁî ȨÆäÀÌÁö ºñ¹Ð¹øÈ£¸¦ Àç¼³Á¤Çϱâ À§ÇÑ ¸µÅ©¸¦ Àü´ÞÇÕ´Ï´Ù.
¸µÅ©¸¦ Ŭ¸¯Çϼż ºñ¹Ð¹øÈ£¸¦ Àç¼³Á¤ÇØÁÖ¼¼¿ä.
ºñ¹Ð¹øÈ£ Àç¼³Á¤
ÀÌ ¸µÅ©´Â 24½Ã°£ µÚ ¸¸·áµË´Ï´Ù.], ?param3=[MTNo,1]]
2019-04-05 10:41:35,033 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[String, System.String], ?param3=[Int32, System.Int32]]
2019-04-05 10:41:35,040 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58130081" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:35,072 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58130081" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:35,607 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:41:35,607 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:41:35,607 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:41:35,614 [3928] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31270493" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:35,618 [3928] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31270493" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:35,618 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:41:35,618 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,1]]
2019-04-05 10:41:35,618 [3928] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:41:35,623 [3928] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53040583" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:41:35,633 [3928] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53040583" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:45:01,463 [4016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] PreparedStatement : [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 10:45:01,464 [4016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[MHtml,
¾È³çÇϼ¼¿ä, ^ȸ¿ø¸í^´Ô,
À¯¾ØÆÄÆ®³ÊÁî ȨÆäÀÌÁö ºñ¹Ð¹øÈ£¸¦ Àç¼³Á¤Çϱâ À§ÇÑ ¸µÅ©¸¦ Àü´ÞÇÕ´Ï´Ù.
¸µÅ©¸¦ Ŭ¸¯Çϼż ºñ¹Ð¹øÈ£¸¦ Àç¼³Á¤ÇØÁÖ¼¼¿ä.
ºñ¹Ð¹øÈ£ Àç¼³Á¤
ÀÌ ¸µÅ©´Â 24½Ã°£ µÚ ¸¸·áµË´Ï´Ù.¤»¤»¤»], ?param3=[MTNo,1]]
2019-04-05 10:45:01,464 [4016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[String, System.String], ?param3=[Int32, System.Int32]]
2019-04-05 10:45:01,472 [4016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50205283" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:45:01,504 [4016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50205283" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:45:02,025 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:45:02,025 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:45:02,025 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:45:02,030 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17389590" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:45:02,033 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17389590" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:45:02,033 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:45:02,033 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,1]]
2019-04-05 10:45:02,033 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:45:02,038 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31114224" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:45:02,042 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31114224" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:50:03,927 [4016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:50:03,927 [4016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:50:03,927 [4016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:50:04,045 [4016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7487407" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:50:04,048 [4016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7487407" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:50:04,051 [4016] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 10:50:04,051 [4016] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 10:50:04,057 [4016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11402449" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:50:04,519 [4016] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11402449" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:50:29,588 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:50:29,588 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:50:29,588 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:50:29,595 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "57802877" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:50:29,599 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "57802877" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:50:29,599 [12556] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 10:50:29,599 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 10:50:29,605 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19535082" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:50:29,634 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19535082" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:50:33,782 [11032] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 10:50:33,782 [11032] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 10:50:33,782 [11032] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,45]]
2019-04-05 10:50:33,782 [11032] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:50:33,790 [11032] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56024040" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:50:33,798 [11032] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56024040" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:04,562 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:54:04,562 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:54:04,562 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:54:04,569 [15464] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35508897" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:04,572 [15464] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35508897" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:04,572 [15464] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:54:04,572 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 10:54:04,572 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 10:54:04,572 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:54:04,577 [15464] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15307193" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:04,581 [15464] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15307193" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:05,752 [11032] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:54:05,752 [11032] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:54:05,752 [11032] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:54:05,759 [11032] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "18095184" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:05,762 [11032] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "18095184" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:05,762 [11032] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:54:05,762 [11032] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,0]]
2019-04-05 10:54:05,762 [11032] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:54:05,768 [11032] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "8976955" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:05,772 [11032] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "8976955" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:09,047 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:54:09,047 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:54:09,047 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:54:09,053 [15464] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "66020654" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:09,057 [15464] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "66020654" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:09,057 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:54:09,057 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,1]]
2019-04-05 10:54:09,057 [15464] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:54:09,062 [15464] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39903622" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:09,066 [15464] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39903622" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:10,332 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:54:10,332 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:54:10,332 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:54:10,338 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "28857122" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:10,342 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "28857122" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:10,342 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:54:10,342 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,2]]
2019-04-05 10:54:10,342 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:54:10,348 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12791980" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:10,351 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12791980" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:42,031 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 10:54:42,031 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 10:54:42,032 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 10:54:42,067 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49829026" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:42,087 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49829026" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:42,087 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 10:54:42,087 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,3]]
2019-04-05 10:54:42,087 [12556] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-05 10:54:42,093 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50591813" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 10:54:42,523 [12556] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50591813" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:33,936 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-05 11:56:33,951 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 11:56:33,952 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-05 11:56:33,953 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-05 11:56:33,953 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-05 11:56:33,953 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-05 11:56:33,953 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-05 11:56:33,953 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 11:56:33,954 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 11:56:33,954 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 11:56:33,954 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 11:56:33,954 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 11:56:33,954 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 11:56:33,955 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 11:56:33,956 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-05 11:56:33,957 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:33,957 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-05 11:56:33,957 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:33,965 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-05 11:56:33,965 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:33,967 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-05 11:56:33,969 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-05 11:56:33,969 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 11:56:33,969 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-05 11:56:33,969 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 11:56:33,969 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-05 11:56:33,970 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-05 11:56:33,971 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-05 11:56:33,971 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-05 11:56:33,971 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-05 11:56:33,971 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-05 11:56:33,971 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-05 11:56:33,976 [12468] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 11:56:33,976 [12468] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 11:56:33,976 [12468] 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.isdeleted=0]
2019-04-05 11:56:33,977 [12468] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-05 11:56:33,978 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-05 11:56:33,978 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-05 11:56:33,979 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-05 11:56:33,979 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:33,979 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-05 11:56:33,979 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-05 11:56:33,980 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-05 11:56:33,980 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-05 11:56:33,980 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-05 11:56:33,980 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-05 11:56:33,981 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-05 11:56:33,981 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-05 11:56:33,983 [12468] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 11:56:33,984 [12468] 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]
2019-04-05 11:56:33,984 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-05 11:56:33,984 [12468] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-05 11:56:33,984 [12468] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-05 11:56:33,985 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-05 11:56:33,985 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:33,985 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-05 11:56:33,986 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:33,986 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:33,986 [12468] 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]
2019-04-05 11:56:33,986 [12468] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-05 11:56:33,986 [12468] 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]
2019-04-05 11:56:33,986 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-05 11:56:33,986 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-05 11:56:33,987 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-05 11:56:33,988 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 11:56:33,988 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-05 11:56:33,988 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-05 11:56:33,988 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-05 11:56:33,988 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-05 11:56:33,988 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-05 11:56:33,989 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-05 11:56:33,989 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-05 11:56:33,989 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-05 11:56:33,990 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-05 11:56:33,990 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:33,993 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-05 11:56:33,993 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:33,993 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-05 11:56:33,994 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-05 11:56:33,994 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-05 11:56:33,994 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-05 11:56:33,994 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-05 11:56:33,995 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-05 11:56:33,995 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-05 11:56:33,997 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-05 11:56:33,997 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-05 11:56:33,997 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-05 11:56:33,997 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-05 11:56:33,998 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-05 11:56:33,999 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 11:56:33,999 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 11:56:33,999 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-05 11:56:34,000 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-05 11:56:34,000 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-05 11:56:34,001 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-05 11:56:34,003 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-05 11:56:34,003 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:34,004 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-05 11:56:34,004 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:34,004 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-05 11:56:34,004 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-05 11:56:34,004 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-05 11:56:34,005 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-05 11:56:34,005 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-05 11:56:34,005 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-05 11:56:34,005 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-05 11:56:34,005 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-05 11:56:34,005 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-05 11:56:34,005 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-05 11:56:34,005 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-05 11:56:34,005 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-05 11:56:34,006 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-05 11:56:34,007 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-05 11:56:34,007 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-05 11:56:34,008 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-05 11:56:34,008 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-05 11:56:34,009 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-05 11:56:34,009 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-05 11:56:34,009 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-05 11:56:34,009 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-05 11:56:34,010 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-05 11:56:34,010 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-05 11:56:34,011 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-05 11:56:34,012 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-05 11:56:34,014 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-05 11:56:34,014 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-05 11:56:34,014 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:34,014 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-05 11:56:34,016 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-05 11:56:34,016 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-05 11:56:34,016 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-05 11:56:34,016 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-05 11:56:34,016 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-05 11:56:34,017 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 11:56:34,018 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-05 11:56:34,018 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 11:56:34,018 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-05 11:56:34,018 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-05 11:56:34,019 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-05 11:56:34,019 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-05 11:56:34,019 [12468] 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]
2019-04-05 11:56:34,020 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 11:56:34,020 [12468] 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]
2019-04-05 11:56:34,020 [12468] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 11:56:34,020 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 11:56:34,021 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-05 11:56:34,021 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-05 11:56:34,022 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-05 11:56:34,023 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 11:56:34,023 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 11:56:34,023 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 11:56:34,037 [12468] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 11:56:34,039 [12468] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 11:56:34,047 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-05 11:56:34,047 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-05 11:56:34,248 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3448048" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:34,283 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3448048" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:34,286 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 11:56:34,286 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 11:56:34,286 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 11:56:34,293 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32261624" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:34,299 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32261624" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:34,320 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.list] PreparedStatement : [select a.MenuNo, a.MenuName, a.PMenuNo, a.MenuUrl, a.MenuLevel, a.MenuOrder, a.CCount, a.IsUse, a.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 11:56:34,326 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "60044668" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:34,340 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "60044668" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:34,431 [9580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 11:56:34,431 [9580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 11:56:34,431 [9580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 11:56:34,437 [9580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56511993" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:34,441 [9580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56511993" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:34,445 [9580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 11:56:34,445 [9580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 11:56:34,452 [9580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23172240" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:34,909 [9580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23172240" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:36,477 [12688] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 11:56:36,477 [12688] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 11:56:36,477 [12688] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 11:56:36,484 [12688] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14421545" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:36,488 [12688] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14421545" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:36,489 [12688] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 11:56:36,489 [12688] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 11:56:36,495 [12688] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63238509" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:36,528 [12688] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63238509" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:47,033 [6380] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 11:56:47,033 [6380] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 11:56:47,033 [6380] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,52]]
2019-04-05 11:56:47,033 [6380] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-05 11:56:47,040 [6380] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19215103" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:47,049 [6380] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19215103" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:51,453 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 11:56:51,453 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 11:56:51,453 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,65]]
2019-04-05 11:56:51,453 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-05 11:56:51,459 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "40269406" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:56:51,468 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "40269406" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:57:12,498 [6380] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 11:57:12,499 [6380] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,2], ?param3=[PageType,2], ?param4=[POrder,1], ?param5=[PageName,¹ÞÀºÂÊÁö ¸ñ·Ï], ?param6=[PageDesc,], ?param7=[PageUrl,/My/Ms], ?param8=[PageHtml,], ?param9=[IsOpen,3], ?param10=[UserType,0], ?param11=[RefCode,MyMemo], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,65], ?param16=[PPNo,52]]
2019-04-05 11:57:12,499 [6380] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-05 11:57:12,506 [6380] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29525276" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:57:12,548 [6380] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29525276" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:57:13,151 [12688] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 11:57:13,151 [12688] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 11:57:13,151 [12688] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 11:57:13,158 [12688] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6518513" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:57:13,162 [12688] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6518513" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:57:13,163 [12688] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 11:57:13,163 [12688] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 11:57:13,173 [12688] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50971707" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 11:57:13,594 [12688] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50971707" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 12:05:07,866 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 12:05:07,866 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 12:05:07,866 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 12:05:07,981 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43723507" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 12:05:07,984 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43723507" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 12:05:07,985 [12468] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.list.rcv] Prepared SQL: [select a.* from ( select a.MNo,a.UserNo,a.RCVUserGroup,a.IsRead,a.CDT ,b.MTitle ,case when b.SendUserGroup=0 then ca.username else cu.username end SendUserName ,case when b.SEndUserGroup=0 then CAST(AES_DECRYPT(UNHEX(ca.email), 'N_P123@!' ) AS char) else CAST(AES_DECRYPT(UNHEX(cu.userid), 'N_P123@!' ) AS char) end Email , row_number() over(order by a.cdt desc) RNO , count(a.MNo) over() PageTotalCount from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on b.sendusergroup=0 and ca.adminno=a.cno left outer join users cu on b.sendusergroup=1 and cu.userno=a.cno where a.isdeleted=0 and a.UserNo= ?param0 and a.RCVUserGroup= ?param1 ) a where RNO between 1 and 20 order by a.rno]
2019-04-05 12:05:07,985 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] PreparedStatement : [select a.* from ( select a.MNo,a.UserNo,a.RCVUserGroup,a.IsRead,a.CDT ,b.MTitle ,case when b.SendUserGroup=0 then ca.username else cu.username end SendUserName ,case when b.SEndUserGroup=0 then CAST(AES_DECRYPT(UNHEX(ca.email), 'N_P123@!' ) AS char) else CAST(AES_DECRYPT(UNHEX(cu.userid), 'N_P123@!' ) AS char) end Email , row_number() over(order by a.cdt desc) RNO , count(a.MNo) over() PageTotalCount from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on b.sendusergroup=0 and ca.adminno=a.cno left outer join users cu on b.sendusergroup=1 and cu.userno=a.cno where a.isdeleted=0 and a.UserNo= ?param0 and a.RCVUserGroup= ?param1 ) a where RNO between 1 and 20 order by a.rno]
2019-04-05 12:05:07,985 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 12:05:07,985 [12468] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 12:05:07,991 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43054306" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 12:05:08,003 [12468] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43054306" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 12:05:10,803 [12280] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 12:05:10,803 [12280] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 12:05:10,803 [12280] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 12:05:10,808 [12280] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21411530" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 12:05:10,812 [12280] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21411530" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:39,155 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-05 13:18:39,163 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 13:18:39,163 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-05 13:18:39,164 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-05 13:18:39,164 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-05 13:18:39,164 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-05 13:18:39,166 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-05 13:18:39,166 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 13:18:39,166 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 13:18:39,166 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 13:18:39,167 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 13:18:39,167 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 13:18:39,167 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 13:18:39,167 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 13:18:39,168 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-05 13:18:39,170 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,170 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-05 13:18:39,170 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,173 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-05 13:18:39,173 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,183 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-05 13:18:39,184 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-05 13:18:39,184 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 13:18:39,185 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-05 13:18:39,185 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 13:18:39,185 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-05 13:18:39,186 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-05 13:18:39,186 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-05 13:18:39,187 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-05 13:18:39,187 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-05 13:18:39,187 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-05 13:18:39,187 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-05 13:18:39,189 [5544] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 13:18:39,190 [5544] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 13:18:39,190 [5544] 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.isdeleted=0]
2019-04-05 13:18:39,190 [5544] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-05 13:18:39,191 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-05 13:18:39,192 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-05 13:18:39,192 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-05 13:18:39,193 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,193 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-05 13:18:39,193 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-05 13:18:39,193 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-05 13:18:39,193 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-05 13:18:39,193 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-05 13:18:39,194 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-05 13:18:39,194 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-05 13:18:39,194 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-05 13:18:39,195 [5544] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 13:18:39,196 [5544] 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]
2019-04-05 13:18:39,196 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-05 13:18:39,196 [5544] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-05 13:18:39,196 [5544] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-05 13:18:39,197 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-05 13:18:39,197 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,197 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-05 13:18:39,197 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,197 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,198 [5544] 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]
2019-04-05 13:18:39,198 [5544] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-05 13:18:39,198 [5544] 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]
2019-04-05 13:18:39,198 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-05 13:18:39,198 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-05 13:18:39,201 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-05 13:18:39,201 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 13:18:39,201 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-05 13:18:39,202 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-05 13:18:39,202 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-05 13:18:39,202 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-05 13:18:39,202 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-05 13:18:39,203 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-05 13:18:39,203 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-05 13:18:39,203 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-05 13:18:39,204 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-05 13:18:39,205 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,207 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-05 13:18:39,207 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,207 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-05 13:18:39,207 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-05 13:18:39,207 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-05 13:18:39,207 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-05 13:18:39,208 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-05 13:18:39,208 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-05 13:18:39,208 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-05 13:18:39,210 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-05 13:18:39,210 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-05 13:18:39,210 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-05 13:18:39,210 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-05 13:18:39,210 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-05 13:18:39,211 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 13:18:39,211 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 13:18:39,211 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-05 13:18:39,212 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-05 13:18:39,212 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-05 13:18:39,213 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-05 13:18:39,215 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-05 13:18:39,215 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,216 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-05 13:18:39,216 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,217 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-05 13:18:39,217 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-05 13:18:39,217 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-05 13:18:39,217 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-05 13:18:39,217 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-05 13:18:39,217 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-05 13:18:39,217 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-05 13:18:39,218 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-05 13:18:39,218 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-05 13:18:39,218 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-05 13:18:39,218 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-05 13:18:39,218 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-05 13:18:39,219 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-05 13:18:39,219 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-05 13:18:39,220 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-05 13:18:39,221 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-05 13:18:39,221 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-05 13:18:39,222 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-05 13:18:39,222 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-05 13:18:39,222 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-05 13:18:39,222 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-05 13:18:39,222 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-05 13:18:39,223 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-05 13:18:39,224 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-05 13:18:39,225 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-05 13:18:39,226 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-05 13:18:39,226 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-05 13:18:39,226 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,226 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-05 13:18:39,227 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-05 13:18:39,227 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-05 13:18:39,228 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-05 13:18:39,228 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-05 13:18:39,228 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-05 13:18:39,228 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 13:18:39,229 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-05 13:18:39,229 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 13:18:39,229 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-05 13:18:39,229 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-05 13:18:39,229 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-05 13:18:39,230 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-05 13:18:39,230 [5544] 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]
2019-04-05 13:18:39,230 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 13:18:39,231 [5544] 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]
2019-04-05 13:18:39,231 [5544] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 13:18:39,231 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 13:18:39,231 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-05 13:18:39,232 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-05 13:18:39,232 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-05 13:18:39,234 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 13:18:39,234 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 13:18:39,234 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 13:18:39,238 [5544] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 13:18:39,238 [5544] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 13:18:39,239 [5544] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-05 13:18:39,239 [5544] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-05 13:18:39,392 [5544] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16050496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:39,417 [5544] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16050496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:39,420 [5544] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 13:18:39,420 [5544] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 13:18:39,420 [5544] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 13:18:39,426 [5544] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41308708" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:39,429 [5544] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41308708" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:39,445 [5544] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.list.rcv] Prepared SQL: [select a.* from ( select a.MNo,a.UserNo,a.RCVUserGroup,a.IsRead,a.CDT ,b.MTitle ,case when b.SendUserGroup=0 then ca.username else cu.username end SendUserName ,case when b.SEndUserGroup=0 then CAST(AES_DECRYPT(UNHEX(ca.email), 'N_P123@!' ) AS char) else CAST(AES_DECRYPT(UNHEX(cu.userid), 'N_P123@!' ) AS char) end Email , row_number() over(order by a.cdt desc) RNO , count(a.MNo) over() PageTotalCount from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on b.sendusergroup=0 and ca.adminno=a.cno left outer join users cu on b.sendusergroup=1 and cu.userno=a.cno where a.isdeleted=0 and a.UserNo= ?param0 and a.RCVUserGroup= ?param1 ) a where RNO between 1 and 20 order by a.rno]
2019-04-05 13:18:39,446 [5544] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] PreparedStatement : [select a.* from ( select a.MNo,a.UserNo,a.RCVUserGroup,a.IsRead,a.CDT ,b.MTitle ,case when b.SendUserGroup=0 then ca.username else cu.username end SendUserName ,case when b.SEndUserGroup=0 then CAST(AES_DECRYPT(UNHEX(ca.email), 'N_P123@!' ) AS char) else CAST(AES_DECRYPT(UNHEX(cu.userid), 'N_P123@!' ) AS char) end Email , row_number() over(order by a.cdt desc) RNO , count(a.MNo) over() PageTotalCount from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on b.sendusergroup=0 and ca.adminno=a.cno left outer join users cu on b.sendusergroup=1 and cu.userno=a.cno where a.isdeleted=0 and a.UserNo= ?param0 and a.RCVUserGroup= ?param1 ) a where RNO between 1 and 20 order by a.rno]
2019-04-05 13:18:39,446 [5544] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 13:18:39,446 [5544] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 13:18:39,451 [5544] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23997888" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:39,464 [5544] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23997888" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:44,924 [9624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 13:18:44,924 [9624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 13:18:44,924 [9624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 13:18:44,930 [9624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50874780" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:44,933 [9624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50874780" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:44,934 [9624] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 13:18:44,934 [9624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 13:18:44,939 [9624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61476884" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:45,408 [9624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61476884" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:46,226 [7520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 13:18:46,226 [7520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 13:18:46,226 [7520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 13:18:46,232 [7520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50971707" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:46,235 [7520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50971707" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:46,236 [7520] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:18:46,236 [7520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:18:46,242 [7520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16697696" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:46,271 [7520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16697696" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:47,682 [9624] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:18:47,682 [9624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:18:47,682 [9624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,10]]
2019-04-05 13:18:47,682 [9624] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-05 13:18:47,690 [9624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36929030" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:47,700 [9624] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36929030" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:50,012 [14592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 13:18:50,012 [14592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,1], ?param3=[PageType,1], ?param4=[POrder,2], ?param5=[PageName,Code of Ethics], ?param6=[PageDesc,], ?param7=[PageUrl,], ?param8=[PageHtml,
- Our Vision
-
10³â ÀÌ»óÀÇ ¼º°øÀ» ¹ÙÅÁÀ¸·Î ±â¾÷ÀÌ ¿øÇÏ´Â ÃÖÀûÀÇ ÀÎÀ縦 À°¼ºÇϰí, ±â¾÷ÀÌ ²À ÇÊ¿ä·Î ÇÏ´Â ÀÎÀ縦 ÃßõÇÏ¿© ±â¾÷°ú ±¹°¡ °æÀï·Â Çâ»ó¿¡ ±â¿©ÇÒ °ÍÀÔ´Ï´Ù.
Our vision is to build on our more than 10 years of success to be the global, independent retained executive search parthership of choice.
- Our Mission
-
°¢ »ê¾÷ ºÐ¾ßº° ±¹³» ÃÖ°íÀÇ Àü¹®°¡µéÀÌ °³ÀÎÀÇ °æ·Â»çÇ×À» ¸é¹ÐÈ÷ ºÐ¼®ÇÏ°í ±â¾÷ÀÇ ¿ä±¸»çÇ×À» ½Å¼ÓÈ÷ ÆÄ¾ÇÇØ ±×¿¡ ¸Â´Â ÀÎÀ縦 ÃßõÇÕ´Ï´Ù.
¿À·£ °æÇèÀ» ÅëÇØ ÃàÀûÇÑ ¹æ´ëÇÑ µ¥ÀÌÅͺ£À̽º¿Í ¼±Áø ±â¹ýÀ» Àû±Ø Ȱ¿ëÇØ Â÷º°ÈµÈ ¼ºñ½º¸¦ Á¦°øÇÕ´Ï´Ù.
´©±¸º¸´Ù ºü¸£°í Á¤È®ÇÏ°Ô ÃÖÀûÀÇ ÀÎÀ縦 ¹ß±¼ÇÏ¿© ±â¾÷ÀÇ Áö¼ÓÀûÀÎ ¼º°ø°ú ±¹°¡ÀÇ ¼ºÀå¿¡ ±â¿©ÇϰڽÀ´Ï´Ù.
Through golbal reach, industry expertise and local knowledge, You & Partners is trusted to deliver the highest quality retained executive search service, enabling the continued success of our clients.
- Our Value
-
The First : ±¹³» ÃÖÃÊ 1È£ ¿©¼º ÇìµåÇåÅͰ¡ À̲ô´Â ¾÷°è ÃÖ°íÀÇ ÀÎÀçÃßõ ¼ºñ½º Àü¹®°¡ ±â¾÷
The Only : ÀÎÀç °ËÁõ¿¡¼ ¼±¹ß, ÅðÁ÷ °ü¸®±îÁö µ¸º¸ÀûÀÎ One-stop Solution ¼ºñ½º
The Best : ÃÖ°íÀÇ Àü¹®°¡µéÀÌ ±â¾÷°ú °³ÀÎÀ» À§ÇØ ÃÖÀûÀÇ ÀÎÀ縦 ¹ß±¼ °ü¸®ÇÏ´Â °íǰ°Ý ¼ºñ½º
], ?param9=[IsOpen,1], ?param10=[UserType,0], ?param11=[RefCode,], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,10], ?param16=[PPNo,2]]
2019-04-05 13:18:50,012 [14592] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-05 13:18:50,018 [14592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26366415" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:50,054 [14592] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26366415" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:50,623 [7520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 13:18:50,623 [7520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 13:18:50,623 [7520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 13:18:50,630 [7520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22117671" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:50,634 [7520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22117671" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:50,634 [7520] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:18:50,634 [7520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:18:50,640 [7520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10024097" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:18:51,011 [7520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10024097" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:30,664 [7396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 13:30:30,664 [7396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 13:30:30,664 [7396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 13:30:30,814 [7396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52099210" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:30,817 [7396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52099210" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:30,817 [7396] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:30:30,818 [7396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:30:30,824 [7396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41669368" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:31,213 [7396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41669368" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:33,259 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:30:33,259 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:30:33,259 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,67]]
2019-04-05 13:30:33,259 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-05 13:30:33,264 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16007403" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:33,273 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16007403" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:54,358 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 13:30:54,358 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,2], ?param3=[PageType,2], ?param4=[POrder,3], ?param5=[PageName,º¸³½ÂÊÁö ¸ñ·Ï], ?param6=[PageDesc,], ?param7=[PageUrl,/My/MSs], ?param8=[PageHtml,], ?param9=[IsOpen,3], ?param10=[UserType,0], ?param11=[RefCode,], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,67], ?param16=[PPNo,52]]
2019-04-05 13:30:54,358 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-05 13:30:54,365 [9988] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64139818" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:54,406 [9988] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64139818" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:54,961 [13212] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 13:30:54,962 [13212] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 13:30:54,962 [13212] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 13:30:54,967 [13212] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35687028" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:54,971 [13212] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35687028" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:54,972 [13212] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:30:54,972 [13212] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:30:54,977 [13212] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31693542" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:55,008 [13212] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31693542" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:57,274 [4612] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:30:57,275 [4612] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:30:57,275 [4612] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,67]]
2019-04-05 13:30:57,275 [4612] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-05 13:30:57,280 [4612] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32981581" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:30:57,289 [4612] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32981581" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:01,909 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 13:31:01,909 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,2], ?param3=[PageType,2], ?param4=[POrder,3], ?param5=[PageName,º¸³½ÂÊÁö], ?param6=[PageDesc,], ?param7=[PageUrl,/My/MSs], ?param8=[PageHtml,], ?param9=[IsOpen,3], ?param10=[UserType,0], ?param11=[RefCode,], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,67], ?param16=[PPNo,52]]
2019-04-05 13:31:01,909 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-05 13:31:01,915 [9988] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "5374252" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:01,939 [9988] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "5374252" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:02,914 [13212] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 13:31:02,914 [13212] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 13:31:02,915 [13212] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 13:31:02,920 [13212] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32562778" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:02,923 [13212] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32562778" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:02,924 [13212] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:31:02,924 [13212] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:31:02,929 [13212] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43815499" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:03,302 [13212] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43815499" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:04,639 [9988] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:31:04,639 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:31:04,639 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,65]]
2019-04-05 13:31:04,640 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-05 13:31:04,645 [9988] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22288616" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:04,654 [9988] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22288616" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:10,526 [4612] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 13:31:10,526 [4612] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,2], ?param3=[PageType,2], ?param4=[POrder,1], ?param5=[PageName,¹ÞÀºÂÊÁö], ?param6=[PageDesc,], ?param7=[PageUrl,/My/Ms], ?param8=[PageHtml,], ?param9=[IsOpen,3], ?param10=[UserType,0], ?param11=[RefCode,MyMemo], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,65], ?param16=[PPNo,52]]
2019-04-05 13:31:10,526 [4612] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-05 13:31:10,533 [4612] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "4479789" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:10,560 [4612] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "4479789" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:11,076 [7396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 13:31:11,076 [7396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 13:31:11,076 [7396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 13:31:11,081 [7396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64899704" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:11,085 [7396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64899704" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:11,085 [7396] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:31:11,085 [7396] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:31:11,090 [7396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27637090" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:11,120 [7396] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27637090" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:12,782 [9988] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:31:12,782 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:31:12,782 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,69]]
2019-04-05 13:31:12,782 [9988] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-05 13:31:12,787 [9988] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49648558" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:12,796 [9988] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49648558" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:25,075 [4612] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 13:31:25,077 [4612] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,2], ?param3=[PageType,2], ?param4=[POrder,5], ?param5=[PageName,ÂÊÁö¹ß¼Û], ?param6=[PageDesc,], ?param7=[PageUrl,/My/Mr], ?param8=[PageHtml,], ?param9=[IsOpen,3], ?param10=[UserType,0], ?param11=[RefCode,], ?param12=[ImageCode,], ?param13=[BGTitle,], ?param14=[BGDesc,], ?param15=[PNo,69], ?param16=[PPNo,52]]
2019-04-05 13:31:25,077 [4612] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[Int32, System.Int32]]
2019-04-05 13:31:25,082 [4612] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6796276" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:25,126 [4612] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6796276" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:25,773 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 13:31:25,773 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 13:31:25,773 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 13:31:25,779 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53518411" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:25,782 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53518411" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:25,782 [12580] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:31:25,783 [12580] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-05 13:31:25,788 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14529954" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 13:31:25,814 [12580] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14529954" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:04:12,896 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-05 15:04:12,906 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 15:04:12,907 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-05 15:04:12,907 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-05 15:04:12,907 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-05 15:04:12,907 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-05 15:04:12,907 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-05 15:04:12,907 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 15:04:12,908 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 15:04:12,908 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 15:04:12,908 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 15:04:12,908 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 15:04:12,908 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 15:04:12,908 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 15:04:12,908 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-05 15:04:12,910 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,910 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-05 15:04:12,910 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,916 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-05 15:04:12,917 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,917 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-05 15:04:12,918 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-05 15:04:12,918 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 15:04:12,918 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-05 15:04:12,918 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 15:04:12,918 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-05 15:04:12,921 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-05 15:04:12,922 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-05 15:04:12,922 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-05 15:04:12,922 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-05 15:04:12,922 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-05 15:04:12,922 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-05 15:04:12,925 [3484] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 15:04:12,926 [3484] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:04:12,926 [3484] 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.isdeleted=0]
2019-04-05 15:04:12,926 [3484] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-05 15:04:12,927 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-05 15:04:12,928 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-05 15:04:12,928 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-05 15:04:12,929 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,929 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-05 15:04:12,929 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-05 15:04:12,929 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-05 15:04:12,929 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-05 15:04:12,930 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-05 15:04:12,930 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-05 15:04:12,930 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-05 15:04:12,930 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-05 15:04:12,931 [3484] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 15:04:12,932 [3484] 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]
2019-04-05 15:04:12,932 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-05 15:04:12,932 [3484] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-05 15:04:12,932 [3484] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-05 15:04:12,933 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-05 15:04:12,933 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,934 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-05 15:04:12,934 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,934 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,934 [3484] 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]
2019-04-05 15:04:12,934 [3484] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-05 15:04:12,934 [3484] 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]
2019-04-05 15:04:12,935 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-05 15:04:12,935 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-05 15:04:12,938 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-05 15:04:12,938 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 15:04:12,938 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-05 15:04:12,938 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-05 15:04:12,939 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-05 15:04:12,939 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-05 15:04:12,939 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-05 15:04:12,939 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-05 15:04:12,939 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-05 15:04:12,940 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-05 15:04:12,942 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-05 15:04:12,942 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,944 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-05 15:04:12,944 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,944 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-05 15:04:12,945 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-05 15:04:12,945 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-05 15:04:12,945 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-05 15:04:12,945 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-05 15:04:12,946 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-05 15:04:12,946 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-05 15:04:12,948 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-05 15:04:12,948 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-05 15:04:12,948 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-05 15:04:12,948 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-05 15:04:12,949 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-05 15:04:12,949 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 15:04:12,949 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 15:04:12,950 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-05 15:04:12,951 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-05 15:04:12,951 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-05 15:04:12,951 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-05 15:04:12,955 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-05 15:04:12,955 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,956 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-05 15:04:12,956 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,956 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-05 15:04:12,956 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-05 15:04:12,957 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-05 15:04:12,957 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-05 15:04:12,957 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-05 15:04:12,957 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-05 15:04:12,957 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-05 15:04:12,957 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-05 15:04:12,957 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-05 15:04:12,957 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-05 15:04:12,957 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-05 15:04:12,958 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-05 15:04:12,959 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-05 15:04:12,959 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-05 15:04:12,959 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-05 15:04:12,960 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-05 15:04:12,960 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-05 15:04:12,961 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-05 15:04:12,961 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-05 15:04:12,962 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-05 15:04:12,962 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-05 15:04:12,962 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-05 15:04:12,962 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-05 15:04:12,964 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-05 15:04:12,965 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-05 15:04:12,966 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-05 15:04:12,967 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-05 15:04:12,967 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,967 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-05 15:04:12,968 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-05 15:04:12,968 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-05 15:04:12,969 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-05 15:04:12,969 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-05 15:04:12,970 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-05 15:04:12,970 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 15:04:12,971 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-05 15:04:12,971 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:04:12,971 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-05 15:04:12,972 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-05 15:04:12,972 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-05 15:04:12,972 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-05 15:04:12,972 [3484] 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]
2019-04-05 15:04:12,973 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 15:04:12,973 [3484] 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]
2019-04-05 15:04:12,974 [3484] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 15:04:12,974 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 15:04:12,974 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-05 15:04:12,975 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-05 15:04:12,975 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-05 15:04:12,976 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 15:04:12,976 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 15:04:12,976 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 15:04:12,980 [3484] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 15:04:12,980 [3484] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 15:04:12,981 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-05 15:04:12,981 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:04:13,133 [3484] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16050496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:04:13,159 [3484] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16050496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:04:13,163 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:04:13,163 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:04:13,163 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:04:13,168 [3484] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59932385" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:04:13,171 [3484] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59932385" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:04:13,182 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.list.rcv] Prepared SQL: [select a.* from ( select a.MNo,a.UserNo,a.RCVUserGroup,a.IsRead,a.CDT ,b.MTitle ,case when b.SendUserGroup=0 then ca.username else cu.username end SendUserName ,case when b.SEndUserGroup=0 then CAST(AES_DECRYPT(UNHEX(ca.email), 'N_P123@!' ) AS char) else CAST(AES_DECRYPT(UNHEX(cu.userid), 'N_P123@!' ) AS char) end Email , row_number() over(order by a.cdt desc) RNO , count(a.MNo) over() PageTotalCount from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on b.sendusergroup=0 and ca.adminno=a.cno left outer join users cu on b.sendusergroup=1 and cu.userno=a.cno where a.isdeleted=0 and a.UserNo= ?param0 and a.RCVUserGroup= ?param1 ) a where RNO between 1 and 20 order by a.rno]
2019-04-05 15:04:13,182 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] PreparedStatement : [select a.* from ( select a.MNo,a.UserNo,a.RCVUserGroup,a.IsRead,a.CDT ,b.MTitle ,case when b.SendUserGroup=0 then ca.username else cu.username end SendUserName ,case when b.SEndUserGroup=0 then CAST(AES_DECRYPT(UNHEX(ca.email), 'N_P123@!' ) AS char) else CAST(AES_DECRYPT(UNHEX(cu.userid), 'N_P123@!' ) AS char) end Email , row_number() over(order by a.cdt desc) RNO , count(a.MNo) over() PageTotalCount from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on b.sendusergroup=0 and ca.adminno=a.cno left outer join users cu on b.sendusergroup=1 and cu.userno=a.cno where a.isdeleted=0 and a.UserNo= ?param0 and a.RCVUserGroup= ?param1 ) a where RNO between 1 and 20 order by a.rno]
2019-04-05 15:04:13,182 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:04:13,182 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:04:13,186 [3484] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "57873368" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:04:13,197 [3484] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "57873368" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:13:47,517 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:13:47,517 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:13:47,517 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:13:47,616 [2976] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39037392" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:13:47,620 [2976] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39037392" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:13:47,627 [2976] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo] Prepared SQL: [select a.MNo,ifnull(aa.username,au.username) CNOName,a.CDT,a.MTitle,a.MContents,a.FGNo,a.CNO,a.SendUserGroup ,ifnull(aa.usertype,au.usertype) UserType from memo a left outer join admin aa on aa.adminno=a.cno and a.sendusergroup=0 left outer join users au on au.userno=a.cno and a.sendusergroup=1 where a.mno= ?param0]
2019-04-05 15:13:47,628 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo] PreparedStatement : [select a.MNo,ifnull(aa.username,au.username) CNOName,a.CDT,a.MTitle,a.MContents,a.FGNo,a.CNO,a.SendUserGroup ,ifnull(aa.usertype,au.usertype) UserType from memo a left outer join admin aa on aa.adminno=a.cno and a.sendusergroup=0 left outer join users au on au.userno=a.cno and a.sendusergroup=1 where a.mno= ?param0]
2019-04-05 15:13:47,628 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo] Parameters: [?param0=[MNo,21]]
2019-04-05 15:13:47,628 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo] Types: [?param0=[Int64, System.Int64]]
2019-04-05 15:13:47,632 [2976] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26820056" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:13:47,636 [2976] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26820056" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:13:47,636 [2976] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memouser] Prepared SQL: [update memouser set isread=1,rdate= now() where mno= ?param0 and userno= ?param1 and rcvusergroup= ?param2 ; select a.MNo,ifnull(ba.username,bu.username) UserName,a.IsRead,a.RDate from memouser a left outer join admin ba on ba.adminno=a.userno and a.rcvusergroup=0 left outer join users bu on bu.userno=a.userno and a.rcvusergroup=1 where a.mno= ?param0 and a.userno= ?param1 order by ba.username,bu.username]
2019-04-05 15:13:47,637 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memouser] PreparedStatement : [update memouser set isread=1,rdate= now() where mno= ?param0 and userno= ?param1 and rcvusergroup= ?param2 ; select a.MNo,ifnull(ba.username,bu.username) UserName,a.IsRead,a.RDate from memouser a left outer join admin ba on ba.adminno=a.userno and a.rcvusergroup=0 left outer join users bu on bu.userno=a.userno and a.rcvusergroup=1 where a.mno= ?param0 and a.userno= ?param1 order by ba.username,bu.username]
2019-04-05 15:13:47,637 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memouser] Parameters: [?param0=[MNo,21], ?param1=[UserNo,1252], ?param2=[UserGroup,0]]
2019-04-05 15:13:47,637 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memouser] Types: [?param0=[Int64, System.Int64], ?param1=[Int64, System.Int64], ?param2=[Int32, System.Int32]]
2019-04-05 15:13:47,641 [2976] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38644561" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:13:47,679 [2976] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38644561" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:33,503 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:15:33,503 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:15:33,503 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:15:33,508 [2976] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "5257963" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:33,511 [2976] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "5257963" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:33,511 [2976] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.list.rcv] Prepared SQL: [select a.* from ( select a.MNo,a.UserNo,a.RCVUserGroup,a.IsRead,a.CDT ,b.MTitle ,case when b.SendUserGroup=0 then ca.username else cu.username end SendUserName ,case when b.SEndUserGroup=0 then CAST(AES_DECRYPT(UNHEX(ca.email), 'N_P123@!' ) AS char) else CAST(AES_DECRYPT(UNHEX(cu.userid), 'N_P123@!' ) AS char) end Email , row_number() over(order by a.cdt desc) RNO , count(a.MNo) over() PageTotalCount from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on b.sendusergroup=0 and ca.adminno=a.cno left outer join users cu on b.sendusergroup=1 and cu.userno=a.cno where a.isdeleted=0 and a.UserNo= ?param0 and a.RCVUserGroup= ?param1 ) a where RNO between 1 and 20 order by a.rno]
2019-04-05 15:15:33,511 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] PreparedStatement : [select a.* from ( select a.MNo,a.UserNo,a.RCVUserGroup,a.IsRead,a.CDT ,b.MTitle ,case when b.SendUserGroup=0 then ca.username else cu.username end SendUserName ,case when b.SEndUserGroup=0 then CAST(AES_DECRYPT(UNHEX(ca.email), 'N_P123@!' ) AS char) else CAST(AES_DECRYPT(UNHEX(cu.userid), 'N_P123@!' ) AS char) end Email , row_number() over(order by a.cdt desc) RNO , count(a.MNo) over() PageTotalCount from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on b.sendusergroup=0 and ca.adminno=a.cno left outer join users cu on b.sendusergroup=1 and cu.userno=a.cno where a.isdeleted=0 and a.UserNo= ?param0 and a.RCVUserGroup= ?param1 ) a where RNO between 1 and 20 order by a.rno]
2019-04-05 15:15:33,511 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:15:33,511 [2976] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcv] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:15:33,515 [2976] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27255190" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:33,523 [2976] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27255190" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:35,578 [15420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:15:35,578 [15420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:15:35,578 [15420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:15:35,582 [15420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43609548" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:35,585 [15420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43609548" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:35,587 [15420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 15:15:35,587 [15420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 15:15:35,587 [15420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-05 15:15:35,587 [15420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-05 15:15:35,591 [15420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27177751" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:35,655 [15420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27177751" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:35,656 [15420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:15:35,656 [15420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:15:35,659 [15420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56641426" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:35,672 [15420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56641426" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:35,672 [15420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 15:15:35,672 [15420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 15:15:35,676 [15420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23966482" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:35,719 [15420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23966482" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,712 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:15:39,712 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:15:39,712 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:15:39,732 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65520770" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,746 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65520770" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,749 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 15:15:39,750 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:15:39,750 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:15:39,778 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49036214" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,792 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49036214" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,792 [11460] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 15:15:39,792 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 15:15:39,792 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:15:39,792 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:15:39,804 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6712395" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,814 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6712395" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,814 [11460] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:15:39,814 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:15:39,825 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6833103" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,834 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6833103" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,835 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 15:15:39,835 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:15:39,835 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:15:39,845 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16610452" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,860 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16610452" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,861 [11460] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-05 15:15:39,861 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-05 15:15:39,868 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3269375" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,931 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3269375" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:39,933 [11460] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-05 15:15:39,934 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-05 15:15:39,934 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9236], ?param1=[KeyWords[0],,2735,]]
2019-04-05 15:15:39,934 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String]]
2019-04-05 15:15:39,944 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42642067" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:40,043 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42642067" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:40,044 [11460] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 15:15:40,044 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 15:15:40,044 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 15:15:40,044 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 15:15:40,055 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31455430" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:40,068 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31455430" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:40,070 [11460] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-05 15:15:40,070 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-05 15:15:40,075 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64861869" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:40,097 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64861869" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:40,097 [11460] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 15:15:40,097 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 15:15:40,097 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 15:15:40,097 [11460] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:15:40,105 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19320046" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:40,114 [11460] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19320046" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:40,287 [4428] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 15:15:40,287 [4428] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9236]]
2019-04-05 15:15:40,287 [4428] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-05 15:15:40,296 [4428] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65017484" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:40,322 [4428] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65017484" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,813 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:15:41,813 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:15:41,813 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:15:41,817 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25788996" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,820 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25788996" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,823 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 15:15:41,823 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 15:15:41,823 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 15:15:41,823 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:15:41,827 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62612876" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,829 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62612876" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,830 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 15:15:41,831 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:15:41,831 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:15:41,834 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45972307" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,843 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45972307" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,843 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 15:15:41,843 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 15:15:41,843 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:15:41,843 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:15:41,847 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35409981" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,851 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35409981" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,851 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 15:15:41,851 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 15:15:41,851 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 15:15:41,851 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 15:15:41,855 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19947432" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,858 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19947432" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,858 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 15:15:41,858 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 15:15:41,858 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-05 15:15:41,858 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-05 15:15:41,862 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21514708" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,870 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21514708" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,870 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 15:15:41,870 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:15:41,870 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:15:41,874 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56278785" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,880 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56278785" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,880 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:15:41,880 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:15:41,884 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34242415" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:15:41,896 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34242415" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,483 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:16:50,483 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:16:50,483 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:16:50,511 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45367989" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,515 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45367989" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,515 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 15:16:50,515 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:16:50,515 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:16:50,523 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63238157" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,536 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63238157" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,537 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 15:16:50,537 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 15:16:50,537 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:16:50,537 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:16:50,568 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16839526" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,572 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16839526" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,572 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:16:50,572 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:16:50,582 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20827392" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,597 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20827392" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,597 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 15:16:50,597 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:16:50,597 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:16:50,614 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11603227" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,622 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11603227" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,622 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-05 15:16:50,622 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (202585,202593) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-05 15:16:50,641 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16012279" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,694 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16012279" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,694 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-05 15:16:50,694 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') ) and b.ouno is null order by a.username]
2019-04-05 15:16:50,694 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9236], ?param1=[KeyWords[0],,2735,]]
2019-04-05 15:16:50,694 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String]]
2019-04-05 15:16:50,728 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34165204" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,823 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34165204" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,823 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 15:16:50,823 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 15:16:50,823 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 15:16:50,823 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 15:16:50,839 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6145778" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,850 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6145778" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,850 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-05 15:16:50,850 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (69256,69303,70012,69129,57531,69270,69254,69878) order by a.userno, a.cdt]
2019-04-05 15:16:50,862 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63931281" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,879 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63931281" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,879 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 15:16:50,879 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 15:16:50,879 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 15:16:50,879 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:16:50,890 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61892593" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:50,895 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61892593" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:51,412 [15228] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 15:16:51,412 [15228] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9236]]
2019-04-05 15:16:51,412 [15228] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-05 15:16:51,451 [15228] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "66629781" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:51,500 [15228] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "66629781" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,296 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:16:53,297 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:16:53,297 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:16:53,301 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "40822142" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,303 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "40822142" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,303 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 15:16:53,303 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-05 15:16:53,303 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-05 15:16:53,303 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:16:53,307 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36193576" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,309 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36193576" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,309 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 15:16:53,309 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:16:53,309 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:16:53,314 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3772243" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,320 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3772243" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,320 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 15:16:53,320 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-05 15:16:53,320 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:16:53,320 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:16:53,324 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43869247" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,327 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43869247" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,327 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 15:16:53,327 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-05 15:16:53,327 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,670668]]
2019-04-05 15:16:53,327 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-05 15:16:53,333 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32928812" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,336 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32928812" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,336 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 15:16:53,336 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-05 15:16:53,336 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2707], ?param1=[UserType,11]]
2019-04-05 15:16:53,336 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-05 15:16:53,340 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59998042" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,346 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59998042" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,346 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 15:16:53,346 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9236]]
2019-04-05 15:16:53,346 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:16:53,350 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7558665" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,356 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7558665" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,356 [12476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:16:53,356 [12476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:16:53,360 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21551225" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:53,370 [12476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21551225" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:59,144 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.keyword] Prepared SQL: [select a.UserNo from users a where a.usergroup=0 and a.usertype=3 and a.status=1 and a.isdeleted=0 and ( concat(',', ifnull(a.keyword, ''), ',') like ?param0 )]
2019-04-05 15:16:59,144 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.keyword] PreparedStatement : [select a.UserNo from users a where a.usergroup=0 and a.usertype=3 and a.status=1 and a.isdeleted=0 and ( concat(',', ifnull(a.keyword, ''), ',') like ?param0 )]
2019-04-05 15:16:59,144 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.keyword] Parameters: [?param0=[ArrString[0],%,2735,%]]
2019-04-05 15:16:59,144 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.keyword] Types: [?param0=[String, System.String]]
2019-04-05 15:16:59,150 [3484] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "54933128" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:59,234 [3484] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "54933128" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:59,238 [3484] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.insert] Prepared SQL: [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),userno,1,0,0, now(), ?param8 ,now(), ?param8 , ?param9 from users where userno in (202601) and isdeleted=0]
2019-04-05 15:16:59,238 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.insert] PreparedStatement : [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),userno,1,0,0, now(), ?param8 ,now(), ?param8 , ?param9 from users where userno in (202601) and isdeleted=0]
2019-04-05 15:16:59,239 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.insert] Parameters: [?param0=[PMNo,null], ?param1=[SendUserGroup,0], ?param2=[MTitle,ȸ¿ø´Ô¿¡ ¾Ë¸ÂÀº °ø°í°¡ µî·ÏµÇ¾ú½À´Ï´Ù.], ?param3=[MContents,ȸ¿ø´Ô²²¼ °ü½ÉÀÖÀ¸½Ç¸¸ÇÑ °ø°í°¡ µî·ÏµÇ¾ú½À´Ï´Ù. ¾Æ·¡ °ø°í ³»¿ëÀ» Ŭ¸¯ÇϽþî È®ÀÎÇØº¸¼¼¿ä. '1234'], ?param4=[FGNo,null], ?param5=[RefNo,9236], ?param6=[RefDesc,Order.ONo:2735], ?param7=[CNO,1252], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-05 15:16:59,239 [3484] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.insert] Types: [?param0=[System.DBNull, null], ?param1=[Int32, System.Int32], ?param2=[String, System.String], ?param3=[String, System.String], ?param4=[System.DBNull, null], ?param5=[Int64, System.Int64], ?param6=[String, System.String], ?param7=[Int64, System.Int64], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-05 15:16:59,246 [3484] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37665774" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:16:59,372 [3484] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37665774" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:27:58,582 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-05 15:27:58,598 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-05 15:27:58,600 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-05 15:27:58,600 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-05 15:27:58,600 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-05 15:27:58,601 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-05 15:27:58,601 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-05 15:27:58,601 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 15:27:58,602 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 15:27:58,602 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 15:27:58,602 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 15:27:58,602 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 15:27:58,602 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-05 15:27:58,606 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 15:27:58,607 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-05 15:27:58,608 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,609 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-05 15:27:58,609 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,617 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-05 15:27:58,618 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,620 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-05 15:27:58,620 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-05 15:27:58,621 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 15:27:58,621 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-05 15:27:58,621 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-05 15:27:58,621 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-05 15:27:58,624 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-05 15:27:58,624 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-05 15:27:58,625 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-05 15:27:58,625 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-05 15:27:58,625 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-05 15:27:58,625 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-05 15:27:58,646 [7348] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-05 15:27:58,647 [7348] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:27:58,647 [7348] 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.isdeleted=0]
2019-04-05 15:27:58,648 [7348] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-05 15:27:58,649 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-05 15:27:58,650 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-05 15:27:58,651 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-05 15:27:58,651 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-05 15:27:58,651 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-05 15:27:58,651 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-05 15:27:58,651 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,651 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-05 15:27:58,652 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-05 15:27:58,652 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-05 15:27:58,652 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-05 15:27:58,652 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-05 15:27:58,653 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-05 15:27:58,653 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-05 15:27:58,670 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-05 15:27:58,692 [7348] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 15:27:58,693 [7348] 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]
2019-04-05 15:27:58,693 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-05 15:27:58,693 [7348] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-05 15:27:58,693 [7348] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-05 15:27:58,694 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-05 15:27:58,694 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,695 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-05 15:27:58,695 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,695 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,695 [7348] 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]
2019-04-05 15:27:58,695 [7348] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-05 15:27:58,695 [7348] 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]
2019-04-05 15:27:58,696 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-05 15:27:58,696 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-05 15:27:58,716 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-05 15:27:58,716 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-05 15:27:58,716 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-05 15:27:58,717 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-05 15:27:58,717 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-05 15:27:58,717 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-05 15:27:58,717 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-05 15:27:58,718 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-05 15:27:58,718 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-05 15:27:58,718 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-05 15:27:58,720 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-05 15:27:58,720 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,724 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-05 15:27:58,724 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,725 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-05 15:27:58,725 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-05 15:27:58,725 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-05 15:27:58,725 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-05 15:27:58,726 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-05 15:27:58,726 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-05 15:27:58,726 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-05 15:27:58,739 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-05 15:27:58,739 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-05 15:27:58,739 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-05 15:27:58,739 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-05 15:27:58,740 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-05 15:27:58,740 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-05 15:27:58,740 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-05 15:27:58,740 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-05 15:27:58,741 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-05 15:27:58,742 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-05 15:27:58,742 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-05 15:27:58,745 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-05 15:27:58,745 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,746 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-05 15:27:58,746 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,746 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-05 15:27:58,747 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-05 15:27:58,747 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-05 15:27:58,747 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-05 15:27:58,747 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-05 15:27:58,747 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-05 15:27:58,747 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-05 15:27:58,747 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-05 15:27:58,747 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-05 15:27:58,747 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-05 15:27:58,747 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-05 15:27:58,747 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-05 15:27:58,749 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-05 15:27:58,749 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-05 15:27:58,778 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-05 15:27:58,779 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-05 15:27:58,779 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-05 15:27:58,800 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-05 15:27:58,800 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-05 15:27:58,800 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-05 15:27:58,800 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-05 15:27:58,801 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-05 15:27:58,801 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-05 15:27:58,803 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-05 15:27:58,829 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-05 15:27:58,843 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-05 15:27:58,843 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-05 15:27:58,843 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,843 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-05 15:27:58,869 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-05 15:27:58,869 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-05 15:27:58,869 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-05 15:27:58,869 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-05 15:27:58,869 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-05 15:27:58,870 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-05 15:27:58,871 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-05 15:27:58,871 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-05 15:27:58,871 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-05 15:27:58,871 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-05 15:27:58,873 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-05 15:27:58,873 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-05 15:27:58,873 [7348] 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]
2019-04-05 15:27:58,874 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-05 15:27:58,874 [7348] 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]
2019-04-05 15:27:58,874 [7348] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-05 15:27:58,875 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 15:27:58,875 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-05 15:27:58,893 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-05 15:27:58,894 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-05 15:27:58,897 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 15:27:58,898 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 15:27:58,898 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-05 15:27:58,927 [7348] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 15:27:58,929 [7348] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-05 15:27:58,935 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-05 15:27:58,935 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:27:59,114 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65486360" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:27:59,143 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65486360" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:27:59,145 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:27:59,146 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:27:59,146 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:27:59,159 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16520111" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:27:59,164 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16520111" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:27:59,183 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType= ?param0 ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 15:27:59,183 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType= ?param0 ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 15:27:59,183 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] Parameters: [?param0=[BType,0]]
2019-04-05 15:27:59,183 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:27:59,189 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46971755" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:27:59,659 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46971755" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:08,911 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:28:08,911 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:28:08,911 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:28:08,916 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "129248" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:08,919 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "129248" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:35,630 [3112] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:28:35,630 [3112] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:28:35,630 [3112] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:28:35,635 [3112] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52661984" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:35,638 [3112] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52661984" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:39,921 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:28:39,921 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:28:39,921 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:28:39,928 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38756977" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:39,931 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38756977" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:39,931 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType= ?param0 ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 15:28:39,931 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType= ?param0 ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 15:28:39,931 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] Parameters: [?param0=[BType,0]]
2019-04-05 15:28:39,931 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:28:39,936 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35691020" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:40,102 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35691020" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:45,452 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:28:45,452 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:28:45,452 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:28:45,459 [1192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58622693" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:45,462 [1192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58622693" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:45,462 [1192] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType= ?param0 ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 15:28:45,462 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType= ?param0 ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 15:28:45,462 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] Parameters: [?param0=[BType,1]]
2019-04-05 15:28:45,462 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:28:45,467 [1192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17852021" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:45,857 [1192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17852021" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:46,860 [3112] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:28:46,861 [3112] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:28:46,861 [3112] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:28:46,865 [3112] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55469255" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:46,868 [3112] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55469255" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:49,874 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:28:49,874 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:28:49,874 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:28:49,880 [1192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "8399911" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:49,883 [1192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "8399911" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:49,883 [1192] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType= ?param0 ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 15:28:49,883 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType= ?param0 ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-05 15:28:49,883 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] Parameters: [?param0=[BType,1]]
2019-04-05 15:28:49,883 [1192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:28:49,888 [1192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43627263" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:28:50,374 [1192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43627263" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:09,300 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:29:09,301 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-05 15:29:09,301 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:29:09,306 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29238185" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:09,309 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29238185" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:09,311 [10916] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 15:29:09,311 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 15:29:09,311 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-05 15:29:09,311 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-05 15:29:09,316 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55523278" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:09,381 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55523278" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:09,382 [10916] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:29:09,382 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:29:09,386 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "40874175" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:09,398 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "40874175" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:09,399 [10916] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 15:29:09,399 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 15:29:09,404 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "57706905" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:09,446 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "57706905" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,573 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] PreparedStatement : [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-05 15:29:19,573 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] Parameters: [?param0=[UserId,rbear]]
2019-04-05 15:29:19,573 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] Types: [?param0=[String, System.String]]
2019-04-05 15:29:19,578 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26895761" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,589 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26895761" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,589 [10916] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.intranetip] Prepared SQL: [select a.IPNo,a.SIP,a.EIP,a.Memo,a.IsActive,a.UDT ,b.username CNOName from intranetip a left outer join admin b on b.adminno=a.cno where a.isdeleted=0 and a.IsActive= ?param0]
2019-04-05 15:29:19,589 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] PreparedStatement : [select a.IPNo,a.SIP,a.EIP,a.Memo,a.IsActive,a.UDT ,b.username CNOName from intranetip a left outer join admin b on b.adminno=a.cno where a.isdeleted=0 and a.IsActive= ?param0]
2019-04-05 15:29:19,589 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] Parameters: [?param0=[IsActive,1]]
2019-04-05 15:29:19,589 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] Types: [?param0=[Int32, System.Int32]]
2019-04-05 15:29:19,594 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10704198" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,601 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10704198" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,603 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] PreparedStatement : [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-05 15:29:19,603 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] Parameters: [?param0=[AdminNo,1253], ?param1=[LoginStatus,1], ?param2=[LoginData,null], ?param3=[UNO,0], ?param4=[UIP,127.0.0.1]]
2019-04-05 15:29:19,603 [10916] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] Types: [?param0=[Int64, System.Int64], ?param1=[Int16, System.Int16], ?param2=[System.DBNull, null], ?param3=[Int64, System.Int64], ?param4=[String, System.String]]
2019-04-05 15:29:19,608 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46877076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,638 [10916] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46877076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,651 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:29:19,651 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1253], ?param1=[UserGroup,0]]
2019-04-05 15:29:19,651 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:29:19,655 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7379047" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,658 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7379047" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,669 [14524] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata] Prepared SQL: [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y')=date_format( now() ,'%Y') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 and d.adminno= ?param0 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-05 15:29:19,669 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata] PreparedStatement : [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y')=date_format( now() ,'%Y') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 and d.adminno= ?param0 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-05 15:29:19,669 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata] Parameters: [?param0=[AdminNo,1253]]
2019-04-05 15:29:19,669 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata] Types: [?param0=[Int64, System.Int64]]
2019-04-05 15:29:19,673 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "18130997" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,686 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "18130997" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,686 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] PreparedStatement : [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-05 15:29:19,686 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Parameters: [?param0=[AdminNo,1253]]
2019-04-05 15:29:19,686 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Types: [?param0=[Int64, System.Int64]]
2019-04-05 15:29:19,691 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31282149" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,699 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31282149" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,702 [14524] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata3] Prepared SQL: [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a union all select 3 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from orderuser a where a.ono in (9231,9229,9228,9222) and a.outype < 3 and a.isdeleted=0 union all select 4 DataType, a.ono IntVal1, 0 IntVal2 ,a.UserNo LongVal1, b.UserNo LongVal2, c.userno LongVal3 ,null StringVal1 ,null DateVal1 from ( select ?param1 ono, a.userno from users a where a.usergroup=0 and a.status=1 and a.isdeleted=0 and (concat(',', a.keyword,',') like '%,2743,%' or concat(',', a.keyword,',') like '%,2744,%') union select ?param2 ono, a.userno from users a where a.usergroup=0 and a.status=1 and a.isdeleted=0 and (concat(',', a.keyword,',') like '%,2730,%') ) a left outer join orderuserview b on b.ono=a.ono and b.adminno= ?param0 and b.userno=a.userno left outer join orderuser c on c.ono=a.ono and c.userno=a.userno and c.isdeleted=0]
2019-04-05 15:29:19,702 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] PreparedStatement : [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a union all select 3 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from orderuser a where a.ono in (9231,9229,9228,9222) and a.outype < 3 and a.isdeleted=0 union all select 4 DataType, a.ono IntVal1, 0 IntVal2 ,a.UserNo LongVal1, b.UserNo LongVal2, c.userno LongVal3 ,null StringVal1 ,null DateVal1 from ( select ?param1 ono, a.userno from users a where a.usergroup=0 and a.status=1 and a.isdeleted=0 and (concat(',', a.keyword,',') like '%,2743,%' or concat(',', a.keyword,',') like '%,2744,%') union select ?param2 ono, a.userno from users a where a.usergroup=0 and a.status=1 and a.isdeleted=0 and (concat(',', a.keyword,',') like '%,2730,%') ) a left outer join orderuserview b on b.ono=a.ono and b.adminno= ?param0 and b.userno=a.userno left outer join orderuser c on c.ono=a.ono and c.userno=a.userno and c.isdeleted=0]
2019-04-05 15:29:19,702 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Parameters: [?param0=[LongVal1,1253], ?param1=[Datas[0].IntVal1,9229], ?param2=[Datas[1].IntVal1,9228]]
2019-04-05 15:29:19,702 [14524] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32], ?param2=[Int32, System.Int32]]
2019-04-05 15:29:19,707 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31971933" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:19,927 [14524] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31971933" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:23,222 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:29:23,222 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1253], ?param1=[UserGroup,0]]
2019-04-05 15:29:23,222 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:29:23,227 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19895022" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:23,231 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19895022" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:23,231 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 15:29:23,231 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-05 15:29:23,231 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1253], ?param1=[IsAdmin,null]]
2019-04-05 15:29:23,231 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null]]
2019-04-05 15:29:23,236 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "44229255" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:23,289 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "44229255" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:23,289 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:29:23,289 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-05 15:29:23,294 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19540350" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:23,301 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19540350" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:23,301 [7348] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 15:29:23,301 [7348] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-05 23:59:59' ) a]
2019-04-05 15:29:23,306 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47142481" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:23,350 [7348] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47142481" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:32,529 [3904] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-05 15:29:32,529 [3904] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1253], ?param1=[UserGroup,0]]
2019-04-05 15:29:32,529 [3904] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-05 15:29:32,534 [3904] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3673583" to "MySQL, MySQL provider 6.10.5.0".
2019-04-05 15:29:32,537 [3904] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3673583" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:23,186 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 09:09:23,281 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 09:09:23,283 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 09:09:23,284 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 09:09:23,284 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 09:09:23,284 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 09:09:23,285 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 09:09:23,285 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 09:09:23,285 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 09:09:23,285 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 09:09:23,285 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 09:09:23,285 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 09:09:23,285 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 09:09:23,287 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 09:09:23,287 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 09:09:23,288 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,288 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 09:09:23,289 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,295 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 09:09:23,295 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,297 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 09:09:23,297 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 09:09:23,298 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 09:09:23,298 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 09:09:23,298 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 09:09:23,298 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 09:09:23,300 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 09:09:23,300 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 09:09:23,300 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 09:09:23,301 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 09:09:23,301 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 09:09:23,301 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 09:09:23,308 [13420] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 09:09:23,309 [13420] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 09:09:23,309 [13420] 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.isdeleted=0]
2019-04-08 09:09:23,309 [13420] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 09:09:23,312 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 09:09:23,312 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 09:09:23,312 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 09:09:23,313 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 09:09:23,313 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 09:09:23,313 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 09:09:23,313 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,313 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 09:09:23,313 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 09:09:23,314 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 09:09:23,314 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 09:09:23,314 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 09:09:23,314 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 09:09:23,314 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailban] Prepared SQL: [insert into emailban(sendno, email,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailban b on b.sendno= ?param0 and b.email= ?param1 where b.sendno is null; insert into emailbanpool(email,CDT,CNO,UDT,UNO,UIP) select ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join emailbanpool b on b.email= ?param1 where b.email is null]
2019-04-08 09:09:23,320 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 09:09:23,326 [13420] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 09:09:23,326 [13420] 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]
2019-04-08 09:09:23,327 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 09:09:23,327 [13420] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 09:09:23,327 [13420] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 09:09:23,329 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 09:09:23,329 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,329 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 09:09:23,330 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,330 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,330 [13420] 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]
2019-04-08 09:09:23,330 [13420] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 09:09:23,330 [13420] 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]
2019-04-08 09:09:23,330 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 09:09:23,330 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 09:09:23,337 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 09:09:23,337 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 09:09:23,337 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 09:09:23,337 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 09:09:23,337 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 09:09:23,338 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 09:09:23,338 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 09:09:23,338 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 09:09:23,338 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 09:09:23,339 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 09:09:23,340 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 09:09:23,340 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,342 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 09:09:23,342 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,343 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 09:09:23,343 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 09:09:23,343 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 09:09:23,343 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 09:09:23,344 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 09:09:23,344 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 09:09:23,345 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 09:09:23,351 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 09:09:23,351 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 09:09:23,351 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 09:09:23,351 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 09:09:23,352 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 09:09:23,352 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 09:09:23,352 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 09:09:23,352 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 09:09:23,353 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 09:09:23,353 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 09:09:23,354 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 09:09:23,356 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 09:09:23,356 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,357 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 09:09:23,357 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,358 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 09:09:23,358 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 09:09:23,358 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 09:09:23,358 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 09:09:23,358 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 09:09:23,358 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 09:09:23,358 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 09:09:23,358 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 09:09:23,358 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 09:09:23,358 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 09:09:23,359 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 09:09:23,359 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 09:09:23,360 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 09:09:23,360 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 09:09:23,365 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-08 09:09:23,366 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 09:09:23,366 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 09:09:23,371 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 09:09:23,371 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 09:09:23,371 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 09:09:23,371 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 09:09:23,372 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 09:09:23,372 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 09:09:23,373 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 09:09:23,379 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 09:09:23,384 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 09:09:23,384 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 09:09:23,384 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,384 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 09:09:23,389 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 09:09:23,390 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 09:09:23,390 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 09:09:23,390 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 09:09:23,390 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 09:09:23,391 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 09:09:23,391 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 09:09:23,391 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 09:09:23,391 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 09:09:23,392 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 09:09:23,393 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 09:09:23,393 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 09:09:23,393 [13420] 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]
2019-04-08 09:09:23,394 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 09:09:23,395 [13420] 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]
2019-04-08 09:09:23,395 [13420] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 09:09:23,395 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 09:09:23,395 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 09:09:23,401 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 09:09:23,401 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 09:09:23,402 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 09:09:23,403 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 09:09:23,403 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 09:09:23,416 [13420] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 09:09:23,418 [13420] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 09:09:23,424 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 09:09:23,424 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 09:09:23,607 [13420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6614575" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:23,652 [13420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6614575" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:23,654 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 09:09:23,654 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,0], ?param1=[UserGroup,0]]
2019-04-08 09:09:23,654 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 09:09:23,660 [13420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "5923823" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:23,664 [13420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "5923823" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,713 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] PreparedStatement : [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 09:09:32,713 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] Parameters: [?param0=[UserId,sysadmin]]
2019-04-08 09:09:32,714 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] Types: [?param0=[String, System.String]]
2019-04-08 09:09:32,718 [13420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52553996" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,729 [13420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52553996" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,729 [13420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.intranetip] Prepared SQL: [select a.IPNo,a.SIP,a.EIP,a.Memo,a.IsActive,a.UDT ,b.username CNOName from intranetip a left outer join admin b on b.adminno=a.cno where a.isdeleted=0 and a.IsActive= ?param0]
2019-04-08 09:09:32,729 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] PreparedStatement : [select a.IPNo,a.SIP,a.EIP,a.Memo,a.IsActive,a.UDT ,b.username CNOName from intranetip a left outer join admin b on b.adminno=a.cno where a.isdeleted=0 and a.IsActive= ?param0]
2019-04-08 09:09:32,729 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] Parameters: [?param0=[IsActive,1]]
2019-04-08 09:09:32,729 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] Types: [?param0=[Int32, System.Int32]]
2019-04-08 09:09:32,733 [13420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56560291" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,741 [13420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56560291" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,742 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] PreparedStatement : [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 09:09:32,743 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] Parameters: [?param0=[AdminNo,1252], ?param1=[LoginStatus,1], ?param2=[LoginData,null], ?param3=[UNO,0], ?param4=[UIP,127.0.0.1]]
2019-04-08 09:09:32,743 [13420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] Types: [?param0=[Int64, System.Int64], ?param1=[Int16, System.Int16], ?param2=[System.DBNull, null], ?param3=[Int64, System.Int64], ?param4=[String, System.String]]
2019-04-08 09:09:32,748 [13420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "54550282" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,779 [13420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "54550282" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,803 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 09:09:32,803 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 09:09:32,804 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 09:09:32,808 [13416] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30449956" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,811 [13416] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30449956" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,834 [13416] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-08 09:09:32,834 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-08 09:09:32,834 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Parameters: [?param0=[Status,1]]
2019-04-08 09:09:32,834 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Types: [?param0=[Int32, System.Int32]]
2019-04-08 09:09:32,838 [13416] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "18593948" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,847 [13416] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "18593948" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,847 [13416] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata] Prepared SQL: [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y%m')=date_format( now() ,'%Y%m') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-08 09:09:32,847 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata] PreparedStatement : [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y%m')=date_format( now() ,'%Y%m') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-08 09:09:32,852 [13416] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2353585" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,941 [13416] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2353585" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,941 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] PreparedStatement : [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 09:09:32,941 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Parameters: [?param0=[AdminNo,1252]]
2019-04-08 09:09:32,942 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Types: [?param0=[Int64, System.Int64]]
2019-04-08 09:09:32,947 [13416] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1145114" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,952 [13416] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1145114" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:32,956 [13416] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata3] Prepared SQL: [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a]
2019-04-08 09:09:32,956 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] PreparedStatement : [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a]
2019-04-08 09:09:32,957 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Parameters: [?param0=[LongVal1,1252]]
2019-04-08 09:09:32,957 [13416] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Types: [?param0=[Int64, System.Int64]]
2019-04-08 09:09:32,963 [13416] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33208310" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:33,016 [13416] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33208310" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:44,752 [13408] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 09:09:44,752 [13408] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 09:09:44,752 [13408] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 09:09:44,758 [13408] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16636221" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:44,767 [13408] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16636221" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:44,774 [13408] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 09:09:44,774 [13408] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 09:09:44,774 [13408] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-08 09:09:44,774 [13408] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-08 09:09:44,779 [13408] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26920182" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:44,840 [13408] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26920182" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:44,841 [13408] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 09:09:44,841 [13408] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 09:09:44,846 [13408] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1915934" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:44,856 [13408] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1915934" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:44,856 [13408] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 09:09:44,856 [13408] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 09:09:44,860 [13408] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47898355" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:44,900 [13408] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47898355" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:50,925 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 09:09:50,925 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 09:09:50,925 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 09:09:50,930 [13424] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48812123" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:50,932 [13424] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48812123" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:50,933 [13424] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsends] Prepared SQL: [select a.* from ( select a.SendNo,a.ETitle,a.SName,a.SEmail,a.MTNo,a.FGNo,a.CDT,a.RCVCount,a.ReadCount, count(b.sendno) BanCount , row_number() over(order by a.cdt desc) RNO , count(a.sendno) over() PageTotalCount from emailsend a left outer join emailban b on b.sendno=a.sendno where a.isdeleted=0 group by a.SendNo,a.ETitle,a.SName,a.SEmail,a.MTNo,a.FGNo,a.CDT,a.RCVCount,a.ReadCount ) a where RNO between 1 and 100 order by a.rno]
2019-04-08 09:09:50,933 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.emailsends] PreparedStatement : [select a.* from ( select a.SendNo,a.ETitle,a.SName,a.SEmail,a.MTNo,a.FGNo,a.CDT,a.RCVCount,a.ReadCount, count(b.sendno) BanCount , row_number() over(order by a.cdt desc) RNO , count(a.sendno) over() PageTotalCount from emailsend a left outer join emailban b on b.sendno=a.sendno where a.isdeleted=0 group by a.SendNo,a.ETitle,a.SName,a.SEmail,a.MTNo,a.FGNo,a.CDT,a.RCVCount,a.ReadCount ) a where RNO between 1 and 100 order by a.rno]
2019-04-08 09:09:50,938 [13424] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "4209833" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:50,948 [13424] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "4209833" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:57,237 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 09:09:57,237 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 09:09:57,237 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 09:09:57,243 [13424] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64369239" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:57,246 [13424] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64369239" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:57,247 [13424] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.adminno= ?param0 order by a.Sort]
2019-04-08 09:09:57,247 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.adminno= ?param0 order by a.Sort]
2019-04-08 09:09:57,247 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Parameters: [?param0=[AdminNo,1252]]
2019-04-08 09:09:57,247 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Types: [?param0=[Int64, System.Int64]]
2019-04-08 09:09:57,252 [13424] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2290732" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:57,255 [13424] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2290732" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:57,256 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] PreparedStatement : [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 09:09:57,256 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Parameters: [?param0=[MTNo,3]]
2019-04-08 09:09:57,256 [13424] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.mailtp.get] Types: [?param0=[Int32, System.Int32]]
2019-04-08 09:09:57,260 [13424] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17648255" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 09:09:57,686 [13424] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17648255" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:36:56,900 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 10:36:56,915 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 10:36:56,917 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 10:36:56,917 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 10:36:56,917 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 10:36:56,918 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 10:36:56,918 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 10:36:56,918 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 10:36:56,918 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:36:56,918 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:36:56,918 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:36:56,918 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:36:56,919 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:36:56,920 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 10:36:56,920 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 10:36:56,921 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:56,922 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 10:36:56,922 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:56,928 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 10:36:56,928 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:56,930 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 10:36:56,931 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 10:36:56,931 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 10:36:56,931 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 10:36:56,931 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 10:36:56,932 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 10:36:56,933 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 10:36:56,934 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 10:36:56,934 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 10:36:56,934 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 10:36:56,934 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 10:36:56,934 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 10:36:56,943 [11808] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 10:36:56,944 [11808] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 10:36:56,944 [11808] 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.isdeleted=0]
2019-04-08 10:36:56,944 [11808] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 10:36:56,945 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 10:36:56,946 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 10:36:56,947 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 10:36:56,947 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 10:36:56,948 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 10:36:56,948 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 10:36:56,948 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:56,948 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 10:36:56,949 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 10:36:56,949 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 10:36:56,949 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 10:36:56,949 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 10:36:56,949 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 10:36:56,954 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 10:36:56,959 [11808] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 10:36:56,959 [11808] 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]
2019-04-08 10:36:56,959 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 10:36:56,960 [11808] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 10:36:56,960 [11808] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 10:36:56,961 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 10:36:56,961 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:56,961 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 10:36:56,961 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:56,961 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:56,961 [11808] 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]
2019-04-08 10:36:56,962 [11808] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 10:36:56,962 [11808] 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]
2019-04-08 10:36:56,962 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 10:36:56,963 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 10:36:56,969 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 10:36:56,969 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 10:36:56,969 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 10:36:56,970 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 10:36:56,970 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 10:36:56,970 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 10:36:56,972 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 10:36:56,973 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 10:36:56,973 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 10:36:56,973 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 10:36:56,975 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 10:36:56,975 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:56,978 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 10:36:56,978 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:56,978 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 10:36:56,978 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 10:36:56,979 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 10:36:56,979 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 10:36:56,980 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 10:36:56,981 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 10:36:56,981 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 10:36:56,990 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 10:36:56,990 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 10:36:56,990 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 10:36:56,990 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 10:36:56,991 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 10:36:56,991 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 10:36:56,991 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 10:36:56,991 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 10:36:56,992 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 10:36:56,992 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 10:36:56,993 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 10:36:56,997 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 10:36:56,997 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:56,998 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 10:36:56,998 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:56,998 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 10:36:56,999 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 10:36:56,999 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 10:36:56,999 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 10:36:56,999 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 10:36:56,999 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 10:36:56,999 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 10:36:56,999 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 10:36:56,999 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 10:36:56,999 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 10:36:56,999 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 10:36:57,000 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 10:36:57,001 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 10:36:57,001 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 10:36:57,009 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-08 10:36:57,010 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 10:36:57,010 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 10:36:57,019 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 10:36:57,019 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 10:36:57,019 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 10:36:57,022 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 10:36:57,022 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 10:36:57,023 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 10:36:57,025 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 10:36:57,027 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 10:36:57,031 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 10:36:57,031 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 10:36:57,032 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:57,032 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 10:36:57,039 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 10:36:57,040 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 10:36:57,040 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 10:36:57,040 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 10:36:57,040 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 10:36:57,041 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 10:36:57,041 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 10:36:57,041 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:36:57,041 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 10:36:57,042 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 10:36:57,043 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 10:36:57,043 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 10:36:57,043 [11808] 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]
2019-04-08 10:36:57,043 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 10:36:57,044 [11808] 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]
2019-04-08 10:36:57,044 [11808] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 10:36:57,044 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 10:36:57,044 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 10:36:57,051 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 10:36:57,051 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 10:36:57,052 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 10:36:57,053 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 10:36:57,053 [11808] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 10:36:57,068 [11808] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 10:36:57,070 [11808] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 10:36:57,077 [11808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 10:36:57,077 [11808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 10:36:57,278 [11808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "40602393" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:36:57,318 [11808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "40602393" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:36:57,321 [11808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 10:36:57,321 [11808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 10:36:57,321 [11808] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 10:36:57,329 [11808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24043780" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:36:57,333 [11808] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24043780" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:38:09,251 [6892] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 10:38:09,251 [6892] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 10:38:09,251 [6892] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 10:38:09,259 [6892] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36610825" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:38:09,262 [6892] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36610825" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:41:05,030 [6892] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 10:41:05,030 [6892] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 10:41:05,030 [6892] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 10:41:05,035 [6892] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61325552" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:41:05,039 [6892] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61325552" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:42:32,750 [6892] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 10:42:32,750 [6892] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 10:42:32,750 [6892] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 10:42:32,755 [6892] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29028787" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:42:32,762 [6892] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29028787" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:48:33,732 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 10:48:33,745 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 10:48:33,746 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 10:48:33,746 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 10:48:33,746 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 10:48:33,747 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 10:48:33,747 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 10:48:33,747 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 10:48:33,747 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:48:33,747 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:48:33,747 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:48:33,747 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:48:33,747 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:48:33,749 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 10:48:33,749 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 10:48:33,750 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,750 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 10:48:33,751 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,762 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 10:48:33,763 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,764 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 10:48:33,764 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 10:48:33,765 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 10:48:33,765 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 10:48:33,765 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 10:48:33,765 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 10:48:33,767 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 10:48:33,767 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 10:48:33,767 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 10:48:33,767 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 10:48:33,768 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 10:48:33,768 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 10:48:33,777 [14036] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 10:48:33,778 [14036] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 10:48:33,778 [14036] 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.isdeleted=0]
2019-04-08 10:48:33,778 [14036] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 10:48:33,779 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 10:48:33,780 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 10:48:33,780 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 10:48:33,781 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 10:48:33,781 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 10:48:33,781 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 10:48:33,781 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,781 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 10:48:33,781 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 10:48:33,782 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 10:48:33,782 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 10:48:33,782 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 10:48:33,782 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 10:48:33,783 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 10:48:33,789 [14036] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 10:48:33,790 [14036] 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]
2019-04-08 10:48:33,790 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 10:48:33,790 [14036] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 10:48:33,790 [14036] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 10:48:33,791 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 10:48:33,791 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,792 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 10:48:33,792 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,792 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,792 [14036] 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]
2019-04-08 10:48:33,792 [14036] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 10:48:33,792 [14036] 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]
2019-04-08 10:48:33,792 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 10:48:33,793 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 10:48:33,799 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 10:48:33,799 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 10:48:33,799 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 10:48:33,799 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 10:48:33,799 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 10:48:33,800 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 10:48:33,800 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 10:48:33,800 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 10:48:33,800 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 10:48:33,801 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 10:48:33,803 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 10:48:33,803 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,805 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 10:48:33,805 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,806 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 10:48:33,806 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 10:48:33,806 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 10:48:33,806 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 10:48:33,807 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 10:48:33,808 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 10:48:33,808 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 10:48:33,813 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 10:48:33,814 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 10:48:33,814 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 10:48:33,814 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 10:48:33,814 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 10:48:33,814 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 10:48:33,815 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 10:48:33,815 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 10:48:33,816 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 10:48:33,816 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 10:48:33,817 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 10:48:33,819 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 10:48:33,819 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,820 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 10:48:33,820 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,821 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 10:48:33,821 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 10:48:33,821 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 10:48:33,821 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 10:48:33,821 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 10:48:33,821 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 10:48:33,821 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 10:48:33,821 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 10:48:33,822 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 10:48:33,822 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 10:48:33,822 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 10:48:33,822 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 10:48:33,823 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 10:48:33,824 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 10:48:33,829 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-08 10:48:33,829 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 10:48:33,830 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 10:48:33,834 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 10:48:33,834 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 10:48:33,836 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 10:48:33,836 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 10:48:33,836 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 10:48:33,836 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 10:48:33,837 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 10:48:33,838 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 10:48:33,840 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 10:48:33,840 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 10:48:33,840 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,842 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 10:48:33,846 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 10:48:33,846 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 10:48:33,846 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 10:48:33,846 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 10:48:33,846 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 10:48:33,847 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 10:48:33,848 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 10:48:33,848 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:48:33,848 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 10:48:33,848 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 10:48:33,849 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 10:48:33,849 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 10:48:33,849 [14036] 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]
2019-04-08 10:48:33,850 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 10:48:33,850 [14036] 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]
2019-04-08 10:48:33,850 [14036] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 10:48:33,850 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 10:48:33,850 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 10:48:33,856 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 10:48:33,856 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 10:48:33,857 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 10:48:33,858 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 10:48:33,858 [14036] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 10:48:33,865 [14036] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 10:48:33,866 [14036] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 10:48:33,868 [14036] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 10:48:33,868 [14036] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 10:48:33,986 [14036] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20225633" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:48:34,018 [14036] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20225633" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:48:34,020 [14036] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 10:48:34,020 [14036] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 10:48:34,020 [14036] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 10:48:34,027 [14036] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24842277" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:48:34,031 [14036] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24842277" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:48:55,710 [2644] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 10:48:55,710 [2644] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 10:48:55,710 [2644] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 10:48:55,718 [2644] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41971304" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:48:55,722 [2644] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41971304" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:50:54,803 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 10:50:54,815 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 10:50:54,816 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 10:50:54,817 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 10:50:54,817 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 10:50:54,817 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 10:50:54,818 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 10:50:54,818 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 10:50:54,818 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:50:54,818 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:50:54,818 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:50:54,819 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:50:54,819 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 10:50:54,820 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 10:50:54,821 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 10:50:54,822 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:54,822 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 10:50:54,822 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:54,828 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 10:50:54,828 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:54,829 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 10:50:54,830 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 10:50:54,830 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 10:50:54,830 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 10:50:54,830 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 10:50:54,830 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 10:50:54,832 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 10:50:54,833 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 10:50:54,833 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 10:50:54,833 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 10:50:54,833 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 10:50:54,833 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 10:50:54,837 [12324] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 10:50:54,837 [12324] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 10:50:54,838 [12324] 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.isdeleted=0]
2019-04-08 10:50:54,838 [12324] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 10:50:54,839 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 10:50:54,840 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 10:50:54,841 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 10:50:54,841 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 10:50:54,841 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 10:50:54,841 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 10:50:54,842 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:54,842 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 10:50:54,842 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 10:50:54,842 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 10:50:54,842 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 10:50:54,843 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 10:50:54,843 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 10:50:54,843 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 10:50:54,844 [12324] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 10:50:54,845 [12324] 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]
2019-04-08 10:50:54,845 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 10:50:54,845 [12324] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 10:50:54,845 [12324] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 10:50:54,846 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 10:50:54,846 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:54,847 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 10:50:54,847 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:54,847 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:54,847 [12324] 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]
2019-04-08 10:50:54,848 [12324] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 10:50:54,848 [12324] 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]
2019-04-08 10:50:54,848 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 10:50:54,848 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 10:50:54,849 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 10:50:54,849 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 10:50:54,849 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 10:50:54,850 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 10:50:54,850 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 10:50:54,850 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 10:50:54,850 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 10:50:54,851 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 10:50:54,851 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 10:50:54,852 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 10:50:54,854 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 10:50:54,854 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:54,857 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 10:50:54,857 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:55,226 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 10:50:55,228 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 10:50:55,229 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 10:50:55,230 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 10:50:55,232 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 10:50:55,240 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 10:50:55,245 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 10:50:55,247 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 10:50:55,247 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 10:50:55,247 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 10:50:55,247 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 10:50:55,248 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 10:50:55,249 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 10:50:55,249 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 10:50:55,250 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 10:50:55,252 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 10:50:55,252 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 10:50:55,253 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 10:50:55,259 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 10:50:55,260 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:55,261 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 10:50:55,261 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:55,262 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 10:50:55,262 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 10:50:55,263 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 10:50:55,263 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 10:50:55,263 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 10:50:55,263 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 10:50:55,264 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 10:50:55,264 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 10:50:55,264 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 10:50:55,264 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 10:50:55,264 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 10:50:55,265 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 10:50:55,268 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 10:50:55,268 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 10:50:55,269 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-08 10:50:55,271 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 10:50:55,271 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 10:50:55,272 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 10:50:55,272 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 10:50:55,273 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 10:50:55,273 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 10:50:55,275 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 10:50:55,275 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 10:50:55,280 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 10:50:55,281 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 10:50:55,283 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 10:50:55,284 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 10:50:55,284 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:55,284 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 10:50:55,286 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 10:50:55,286 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 10:50:55,287 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 10:50:55,287 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 10:50:55,287 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 10:50:55,288 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 10:50:55,290 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 10:50:55,290 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 10:50:55,290 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 10:50:55,291 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 10:50:55,292 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 10:50:55,292 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 10:50:55,293 [12324] 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]
2019-04-08 10:50:55,294 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 10:50:55,295 [12324] 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]
2019-04-08 10:50:55,295 [12324] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 10:50:55,295 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 10:50:55,296 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 10:50:55,297 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 10:50:55,298 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 10:50:55,301 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 10:50:55,301 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 10:50:55,301 [12324] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 10:50:55,311 [12324] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 10:50:55,312 [12324] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 10:50:55,315 [12324] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 10:50:55,315 [12324] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 10:50:55,423 [12324] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "18332996" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:50:55,449 [12324] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "18332996" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:51:02,025 [12324] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 10:51:02,025 [12324] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 10:51:02,025 [12324] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 10:51:02,030 [12324] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20171536" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 10:51:02,034 [12324] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20171536" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:00:28,999 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 11:00:29,011 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 11:00:29,012 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 11:00:29,013 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 11:00:29,013 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 11:00:29,013 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 11:00:29,013 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 11:00:29,013 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 11:00:29,014 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:00:29,014 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:00:29,014 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:00:29,014 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:00:29,014 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:00:29,015 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 11:00:29,016 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 11:00:29,017 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,017 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 11:00:29,017 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,023 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 11:00:29,023 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,024 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 11:00:29,025 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 11:00:29,025 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 11:00:29,025 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 11:00:29,026 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 11:00:29,026 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 11:00:29,027 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 11:00:29,027 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 11:00:29,028 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 11:00:29,028 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 11:00:29,028 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 11:00:29,028 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 11:00:29,052 [13684] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 11:00:29,053 [13684] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:00:29,053 [13684] 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.isdeleted=0]
2019-04-08 11:00:29,053 [13684] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 11:00:29,055 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 11:00:29,055 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 11:00:29,056 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 11:00:29,056 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 11:00:29,057 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 11:00:29,057 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 11:00:29,057 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,057 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 11:00:29,057 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 11:00:29,058 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 11:00:29,058 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 11:00:29,058 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 11:00:29,058 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 11:00:29,070 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 11:00:29,087 [13684] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 11:00:29,087 [13684] 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]
2019-04-08 11:00:29,088 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 11:00:29,088 [13684] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 11:00:29,088 [13684] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 11:00:29,089 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 11:00:29,089 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,090 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 11:00:29,090 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,090 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,090 [13684] 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]
2019-04-08 11:00:29,090 [13684] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 11:00:29,090 [13684] 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]
2019-04-08 11:00:29,090 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 11:00:29,090 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 11:00:29,116 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 11:00:29,116 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 11:00:29,116 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 11:00:29,116 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 11:00:29,116 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 11:00:29,116 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 11:00:29,116 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 11:00:29,117 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 11:00:29,117 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 11:00:29,117 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 11:00:29,119 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 11:00:29,119 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,121 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 11:00:29,121 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,122 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 11:00:29,122 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 11:00:29,122 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 11:00:29,122 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 11:00:29,122 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 11:00:29,123 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 11:00:29,124 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 11:00:29,153 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 11:00:29,153 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 11:00:29,153 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 11:00:29,153 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 11:00:29,154 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 11:00:29,154 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 11:00:29,154 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 11:00:29,154 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 11:00:29,155 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 11:00:29,155 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 11:00:29,156 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 11:00:29,158 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 11:00:29,158 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,159 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 11:00:29,159 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,160 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 11:00:29,160 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 11:00:29,160 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 11:00:29,160 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 11:00:29,160 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 11:00:29,160 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 11:00:29,160 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 11:00:29,161 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 11:00:29,161 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 11:00:29,161 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 11:00:29,161 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 11:00:29,161 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 11:00:29,163 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 11:00:29,163 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 11:00:29,186 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-08 11:00:29,187 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 11:00:29,187 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 11:00:29,206 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 11:00:29,207 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 11:00:29,207 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 11:00:29,207 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 11:00:29,208 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 11:00:29,209 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 11:00:29,212 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 11:00:29,224 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 11:00:29,242 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 11:00:29,242 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 11:00:29,242 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,243 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 11:00:29,276 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 11:00:29,276 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 11:00:29,276 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 11:00:29,276 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 11:00:29,277 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 11:00:29,278 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 11:00:29,279 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 11:00:29,279 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:00:29,280 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 11:00:29,280 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 11:00:29,281 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 11:00:29,281 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 11:00:29,282 [13684] 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]
2019-04-08 11:00:29,282 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 11:00:29,283 [13684] 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]
2019-04-08 11:00:29,283 [13684] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 11:00:29,283 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 11:00:29,283 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 11:00:29,309 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 11:00:29,309 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 11:00:29,310 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 11:00:29,310 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 11:00:29,311 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 11:00:29,320 [13684] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 11:00:29,321 [13684] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 11:00:29,323 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 11:00:29,323 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 11:00:29,434 [13684] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16501059" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:00:29,463 [13684] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16501059" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:00:29,466 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:00:29,466 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:00:29,466 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:00:29,472 [13684] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "28560796" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:00:29,476 [13684] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "28560796" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:00:48,273 [5004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:00:48,273 [5004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,0], ?param1=[UserGroup,0]]
2019-04-08 11:00:48,273 [5004] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:00:48,278 [5004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62128433" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:00:48,282 [5004] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62128433" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:01:00,306 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] PreparedStatement : [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 11:01:00,306 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] Parameters: [?param0=[UserId,sysadmin]]
2019-04-08 11:01:00,306 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminlogin] Types: [?param0=[String, System.String]]
2019-04-08 11:01:00,312 [13684] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2531690" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:01:00,334 [13684] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2531690" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:01:00,334 [13684] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.intranetip] Prepared SQL: [select a.IPNo,a.SIP,a.EIP,a.Memo,a.IsActive,a.UDT ,b.username CNOName from intranetip a left outer join admin b on b.adminno=a.cno where a.isdeleted=0 and a.IsActive= ?param0]
2019-04-08 11:01:00,334 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] PreparedStatement : [select a.IPNo,a.SIP,a.EIP,a.Memo,a.IsActive,a.UDT ,b.username CNOName from intranetip a left outer join admin b on b.adminno=a.cno where a.isdeleted=0 and a.IsActive= ?param0]
2019-04-08 11:01:00,334 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] Parameters: [?param0=[IsActive,1]]
2019-04-08 11:01:00,334 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.intranetip] Types: [?param0=[Int32, System.Int32]]
2019-04-08 11:01:00,339 [13684] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51804348" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:01:00,351 [13684] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51804348" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:01:00,353 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] PreparedStatement : [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 11:01:00,353 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] Parameters: [?param0=[AdminNo,1252], ?param1=[LoginStatus,1], ?param2=[LoginData,null], ?param3=[UNO,0], ?param4=[UIP,127.0.0.1]]
2019-04-08 11:01:00,353 [13684] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.loginlog] Types: [?param0=[Int64, System.Int64], ?param1=[Int16, System.Int16], ?param2=[System.DBNull, null], ?param3=[Int64, System.Int64], ?param4=[String, System.String]]
2019-04-08 11:01:00,358 [13684] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7219296" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:01:00,399 [13684] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7219296" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:01:01,426 [14028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:01:01,427 [14028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:01:01,427 [14028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:01:01,432 [14028] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16178911" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:01:01,435 [14028] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16178911" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:01:17,885 [10160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:01:17,885 [10160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:01:17,885 [10160] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:01:17,890 [10160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43139583" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:01:17,893 [10160] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43139583" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:02:03,445 [8420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:02:03,445 [8420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:02:03,445 [8420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:02:03,450 [8420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "5210540" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:02:03,462 [8420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "5210540" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:02:09,269 [8420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:02:09,269 [8420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:02:09,269 [8420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:02:09,275 [8420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61084887" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:02:09,278 [8420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61084887" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:15,559 [14028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:04:15,560 [14028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:04:15,560 [14028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:04:15,565 [14028] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62788635" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:15,568 [14028] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62788635" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,036 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 11:04:39,049 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 11:04:39,050 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 11:04:39,050 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 11:04:39,050 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 11:04:39,051 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 11:04:39,051 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 11:04:39,051 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 11:04:39,051 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:04:39,051 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:04:39,051 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:04:39,051 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:04:39,051 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:04:39,053 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 11:04:39,053 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 11:04:39,054 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,055 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 11:04:39,055 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,061 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 11:04:39,061 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,063 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 11:04:39,063 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 11:04:39,063 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 11:04:39,063 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 11:04:39,063 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 11:04:39,064 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 11:04:39,066 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 11:04:39,066 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 11:04:39,066 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 11:04:39,066 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 11:04:39,066 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 11:04:39,066 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 11:04:39,075 [15188] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 11:04:39,075 [15188] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:04:39,076 [15188] 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.isdeleted=0]
2019-04-08 11:04:39,076 [15188] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 11:04:39,077 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 11:04:39,077 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 11:04:39,078 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 11:04:39,078 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 11:04:39,079 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 11:04:39,079 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 11:04:39,079 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,079 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 11:04:39,079 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 11:04:39,080 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 11:04:39,080 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 11:04:39,080 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 11:04:39,080 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 11:04:39,081 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 11:04:39,087 [15188] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 11:04:39,087 [15188] 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]
2019-04-08 11:04:39,087 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 11:04:39,087 [15188] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 11:04:39,087 [15188] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 11:04:39,089 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 11:04:39,089 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,089 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 11:04:39,089 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,089 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,090 [15188] 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]
2019-04-08 11:04:39,090 [15188] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 11:04:39,090 [15188] 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]
2019-04-08 11:04:39,090 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 11:04:39,090 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 11:04:39,096 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 11:04:39,096 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 11:04:39,096 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 11:04:39,096 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 11:04:39,096 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 11:04:39,096 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 11:04:39,097 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 11:04:39,097 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 11:04:39,097 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 11:04:39,098 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 11:04:39,099 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 11:04:39,099 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,102 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 11:04:39,102 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,102 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 11:04:39,103 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 11:04:39,103 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 11:04:39,103 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 11:04:39,103 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 11:04:39,104 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 11:04:39,104 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 11:04:39,110 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 11:04:39,111 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 11:04:39,111 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 11:04:39,111 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 11:04:39,111 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 11:04:39,111 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 11:04:39,112 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 11:04:39,112 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 11:04:39,113 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 11:04:39,113 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 11:04:39,113 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 11:04:39,116 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 11:04:39,116 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,117 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 11:04:39,117 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,117 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 11:04:39,117 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 11:04:39,118 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 11:04:39,118 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 11:04:39,118 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 11:04:39,118 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 11:04:39,118 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 11:04:39,118 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 11:04:39,118 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 11:04:39,118 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 11:04:39,118 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 11:04:39,118 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 11:04:39,120 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 11:04:39,120 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 11:04:39,126 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-08 11:04:39,127 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 11:04:39,127 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 11:04:39,132 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 11:04:39,132 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 11:04:39,132 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 11:04:39,132 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 11:04:39,133 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 11:04:39,133 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 11:04:39,135 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 11:04:39,136 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 11:04:39,137 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 11:04:39,138 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 11:04:39,138 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,138 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 11:04:39,144 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 11:04:39,144 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 11:04:39,144 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 11:04:39,144 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 11:04:39,144 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 11:04:39,145 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 11:04:39,146 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 11:04:39,146 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:04:39,146 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 11:04:39,146 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 11:04:39,147 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 11:04:39,147 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 11:04:39,147 [15188] 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]
2019-04-08 11:04:39,148 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 11:04:39,148 [15188] 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]
2019-04-08 11:04:39,148 [15188] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 11:04:39,148 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 11:04:39,148 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 11:04:39,153 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 11:04:39,154 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 11:04:39,155 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 11:04:39,155 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 11:04:39,155 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 11:04:39,163 [15188] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 11:04:39,163 [15188] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 11:04:39,166 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 11:04:39,166 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 11:04:39,277 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51839300" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,304 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51839300" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,307 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:04:39,307 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:04:39,307 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:04:39,312 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43054123" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,317 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43054123" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,342 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-08 11:04:39,342 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-08 11:04:39,342 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Parameters: [?param0=[Status,1]]
2019-04-08 11:04:39,342 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Types: [?param0=[Int32, System.Int32]]
2019-04-08 11:04:39,348 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11255063" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,364 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11255063" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,365 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata] Prepared SQL: [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y%m')=date_format( now() ,'%Y%m') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-08 11:04:39,365 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata] PreparedStatement : [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y%m')=date_format( now() ,'%Y%m') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-08 11:04:39,370 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19685352" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,456 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19685352" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,457 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] PreparedStatement : [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 11:04:39,457 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Parameters: [?param0=[AdminNo,1252]]
2019-04-08 11:04:39,457 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Types: [?param0=[Int64, System.Int64]]
2019-04-08 11:04:39,462 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33117408" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,467 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33117408" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,469 [15188] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata3] Prepared SQL: [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a]
2019-04-08 11:04:39,469 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] PreparedStatement : [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a]
2019-04-08 11:04:39,469 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Parameters: [?param0=[LongVal1,1252]]
2019-04-08 11:04:39,469 [15188] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Types: [?param0=[Int64, System.Int64]]
2019-04-08 11:04:39,475 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47783480" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:39,530 [15188] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47783480" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:48,500 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:04:48,500 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:04:48,500 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:04:48,506 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62871886" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:48,510 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62871886" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:48,516 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-08 11:04:48,516 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-08 11:04:48,521 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55262747" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:48,988 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55262747" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:56,977 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:04:56,977 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:04:56,977 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:04:56,982 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "52505088" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:56,986 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "52505088" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:56,986 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:04:56,986 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:04:56,992 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43502313" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:04:57,025 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43502313" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:05:07,361 [14620] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:05:07,361 [14620] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:05:07,361 [14620] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,29]]
2019-04-08 11:05:07,361 [14620] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-08 11:05:07,366 [14620] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36485052" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:05:07,378 [14620] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36485052" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:07:56,961 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 11:07:56,973 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 11:07:56,975 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 11:07:56,975 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 11:07:56,976 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 11:07:56,976 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 11:07:56,976 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 11:07:56,977 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 11:07:56,977 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:07:56,977 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:07:56,977 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:07:56,977 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:07:56,977 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 11:07:56,979 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 11:07:56,980 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 11:07:56,981 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:56,982 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 11:07:56,982 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:56,990 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 11:07:56,991 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:56,993 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 11:07:56,993 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 11:07:56,994 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 11:07:56,994 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 11:07:56,994 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 11:07:56,994 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 11:07:56,997 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 11:07:56,997 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 11:07:56,997 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 11:07:56,997 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 11:07:56,998 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 11:07:56,998 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 11:07:57,019 [15172] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 11:07:57,020 [15172] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:07:57,020 [15172] 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.isdeleted=0]
2019-04-08 11:07:57,020 [15172] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 11:07:57,021 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 11:07:57,022 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 11:07:57,022 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 11:07:57,022 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 11:07:57,023 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 11:07:57,023 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 11:07:57,023 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:57,023 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 11:07:57,024 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 11:07:57,024 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 11:07:57,024 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 11:07:57,024 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 11:07:57,024 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 11:07:57,038 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 11:07:57,053 [15172] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 11:07:57,053 [15172] 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]
2019-04-08 11:07:57,054 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 11:07:57,054 [15172] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 11:07:57,054 [15172] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 11:07:57,055 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 11:07:57,055 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:57,056 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 11:07:57,056 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:57,057 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:57,057 [15172] 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]
2019-04-08 11:07:57,057 [15172] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 11:07:57,057 [15172] 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]
2019-04-08 11:07:57,057 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 11:07:57,057 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 11:07:57,071 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 11:07:57,072 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 11:07:57,072 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 11:07:57,072 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 11:07:57,073 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 11:07:57,073 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 11:07:57,073 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 11:07:57,073 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 11:07:57,073 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 11:07:57,074 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 11:07:57,076 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 11:07:57,076 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:57,080 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 11:07:57,081 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:57,082 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 11:07:57,082 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 11:07:57,082 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 11:07:57,082 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 11:07:57,083 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 11:07:57,083 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 11:07:57,084 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 11:07:57,099 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 11:07:57,100 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 11:07:57,100 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 11:07:57,100 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 11:07:57,100 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 11:07:57,101 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 11:07:57,101 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 11:07:57,101 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 11:07:57,102 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 11:07:57,102 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 11:07:57,103 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 11:07:57,106 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 11:07:57,106 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:57,107 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 11:07:57,107 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:57,108 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 11:07:57,108 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 11:07:57,108 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 11:07:57,108 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 11:07:57,108 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 11:07:57,108 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 11:07:57,108 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 11:07:57,108 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 11:07:57,109 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 11:07:57,109 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 11:07:57,109 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 11:07:57,109 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 11:07:57,111 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 11:07:57,111 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 11:07:57,122 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-08 11:07:57,123 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 11:07:57,124 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 11:07:57,148 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 11:07:57,148 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 11:07:57,148 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 11:07:57,149 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 11:07:57,149 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 11:07:57,150 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 11:07:57,152 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 11:07:57,181 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 11:07:57,192 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 11:07:57,192 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 11:07:57,192 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:57,193 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 11:07:57,218 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 11:07:57,218 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 11:07:57,218 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 11:07:57,218 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 11:07:57,218 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 11:07:57,219 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 11:07:57,219 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 11:07:57,220 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 11:07:57,220 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 11:07:57,220 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 11:07:57,221 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 11:07:57,221 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 11:07:57,221 [15172] 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]
2019-04-08 11:07:57,222 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 11:07:57,222 [15172] 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]
2019-04-08 11:07:57,222 [15172] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 11:07:57,222 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 11:07:57,223 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 11:07:57,242 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 11:07:57,243 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 11:07:57,244 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 11:07:57,244 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 11:07:57,244 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 11:07:57,251 [15172] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 11:07:57,252 [15172] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 11:07:57,254 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 11:07:57,255 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 11:07:57,371 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14462669" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:07:57,400 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14462669" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:07:57,403 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:07:57,403 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:07:57,403 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:07:57,411 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9686180" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:07:57,416 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9686180" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:07:57,434 [15172] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:07:57,434 [15172] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:07:57,442 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38087917" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:07:57,877 [15172] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38087917" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:08:07,980 [14628] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:08:07,980 [14628] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:08:07,980 [14628] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,29]]
2019-04-08 11:08:07,980 [14628] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-08 11:08:07,987 [14628] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "60594475" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:08:08,001 [14628] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "60594475" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:10:47,440 [14636] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:10:47,440 [14636] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:10:47,440 [14636] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:10:47,447 [14636] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36906728" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:10:47,451 [14636] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36906728" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:10:47,451 [14636] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:10:47,451 [14636] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:10:47,458 [14636] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9836646" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:10:47,488 [14636] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9836646" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:10:53,233 [2772] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:10:53,233 [2772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:10:53,233 [2772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,29]]
2019-04-08 11:10:53,234 [2772] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-08 11:10:53,241 [2772] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1181140" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:10:53,254 [2772] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1181140" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:11:16,023 [14428] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 11:11:16,023 [14428] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 11:11:16,023 [14428] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 11:11:16,030 [14428] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55249059" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:11:16,034 [14428] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55249059" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:11:16,034 [14428] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:11:16,034 [14428] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:11:16,041 [14428] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15898463" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:11:16,463 [14428] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15898463" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:11:21,518 [14632] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:11:21,518 [14632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 11:11:21,518 [14632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,29]]
2019-04-08 11:11:21,518 [14632] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-08 11:11:21,525 [14632] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42277334" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 11:11:21,538 [14632] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42277334" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:43,755 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 12:57:43,766 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 12:57:43,767 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 12:57:43,769 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 12:57:43,769 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 12:57:43,769 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 12:57:43,770 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 12:57:43,770 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 12:57:43,770 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 12:57:43,770 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 12:57:43,770 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 12:57:43,770 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 12:57:43,770 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 12:57:43,772 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 12:57:43,772 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 12:57:43,773 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,773 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 12:57:43,773 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,779 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 12:57:43,780 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,781 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 12:57:43,782 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 12:57:43,782 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 12:57:43,782 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 12:57:43,782 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 12:57:43,782 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 12:57:43,784 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 12:57:43,784 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 12:57:43,784 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 12:57:43,784 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 12:57:43,784 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 12:57:43,784 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 12:57:43,799 [2388] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 12:57:43,799 [2388] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 12:57:43,800 [2388] 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.isdeleted=0]
2019-04-08 12:57:43,800 [2388] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 12:57:43,801 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 12:57:43,802 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 12:57:43,802 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 12:57:43,802 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 12:57:43,802 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 12:57:43,803 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 12:57:43,803 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,803 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 12:57:43,804 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 12:57:43,804 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 12:57:43,804 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 12:57:43,804 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 12:57:43,805 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 12:57:43,824 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 12:57:43,842 [2388] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 12:57:43,843 [2388] 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]
2019-04-08 12:57:43,843 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 12:57:43,843 [2388] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 12:57:43,843 [2388] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 12:57:43,844 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 12:57:43,844 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,845 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 12:57:43,845 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,845 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,845 [2388] 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]
2019-04-08 12:57:43,845 [2388] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 12:57:43,845 [2388] 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]
2019-04-08 12:57:43,846 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 12:57:43,846 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 12:57:43,863 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 12:57:43,864 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 12:57:43,864 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 12:57:43,864 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 12:57:43,864 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 12:57:43,864 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 12:57:43,864 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 12:57:43,865 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 12:57:43,865 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 12:57:43,865 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 12:57:43,867 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 12:57:43,867 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,869 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 12:57:43,869 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,869 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 12:57:43,870 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 12:57:43,870 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 12:57:43,870 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 12:57:43,871 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 12:57:43,871 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 12:57:43,872 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 12:57:43,891 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 12:57:43,892 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 12:57:43,892 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 12:57:43,892 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 12:57:43,892 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 12:57:43,892 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 12:57:43,893 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 12:57:43,893 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 12:57:43,894 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 12:57:43,894 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 12:57:43,894 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 12:57:43,896 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 12:57:43,897 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,897 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 12:57:43,897 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,898 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 12:57:43,898 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 12:57:43,898 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 12:57:43,898 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 12:57:43,898 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 12:57:43,898 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 12:57:43,898 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 12:57:43,899 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 12:57:43,899 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 12:57:43,899 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 12:57:43,899 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 12:57:43,899 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 12:57:43,900 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 12:57:43,900 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 12:57:43,913 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-08 12:57:43,914 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 12:57:43,914 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 12:57:43,927 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 12:57:43,927 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 12:57:43,927 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 12:57:43,928 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 12:57:43,928 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 12:57:43,928 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 12:57:43,930 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 12:57:43,940 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 12:57:43,950 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 12:57:43,950 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 12:57:43,950 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,950 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 12:57:43,963 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 12:57:43,964 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 12:57:43,964 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 12:57:43,964 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 12:57:43,964 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 12:57:43,965 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 12:57:43,965 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 12:57:43,965 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 12:57:43,966 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 12:57:43,966 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 12:57:43,967 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 12:57:43,967 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 12:57:43,967 [2388] 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]
2019-04-08 12:57:43,967 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 12:57:43,968 [2388] 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]
2019-04-08 12:57:43,968 [2388] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 12:57:43,968 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 12:57:43,968 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 12:57:43,991 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 12:57:43,991 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 12:57:43,992 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 12:57:43,992 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 12:57:43,992 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 12:57:44,006 [2388] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 12:57:44,007 [2388] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 12:57:44,015 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 12:57:44,015 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 12:57:44,189 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10689294" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:44,229 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10689294" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:44,232 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 12:57:44,232 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 12:57:44,232 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 12:57:44,256 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6929885" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:44,261 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6929885" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:44,287 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-08 12:57:44,287 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-08 12:57:44,287 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Parameters: [?param0=[Status,1]]
2019-04-08 12:57:44,287 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Types: [?param0=[Int32, System.Int32]]
2019-04-08 12:57:44,293 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17370614" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:44,306 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17370614" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:44,306 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata] Prepared SQL: [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y%m')=date_format( now() ,'%Y%m') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-08 12:57:44,307 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata] PreparedStatement : [select a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 ,sum(b.consultantpremium) PremiumTotal from ( select a.ReqDate,e.Sort,a.ONo,a.RecMoney,d.ConsultantSales ConsultantSales,d.ConsultantMoney,d.ConsultantPremium,CAST(AES_DECRYPT(UNHEX(e.userid), 'N_P123@!' ) AS char) AdminName,e.AdminNo,date_format(a.ReqDate,'%m') IntV1 from admin e left outer join orderreport a on a.isdeleted=0 and date_format(a.reqdate,'%Y%m')=date_format( now() ,'%Y%m') left outer join orders b on b.ono=a.ono and b.isdeleted=0 left outer join orderreportconsultant d on d.orno=a.orno and d.adminno=e.adminno where e.status=1 ) a left outer join orderconsultant b on b.ono=a.ono group by a.ONo,a.RecMoney,a.ConsultantSales,a.ConsultantMoney,a.ConsultantPremium,a.AdminName,a.AdminNo,a.IntV1 order by a.sort, a.AdminNo, a.ReqDate]
2019-04-08 12:57:44,312 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36359372" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:44,407 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36359372" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:44,407 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] PreparedStatement : [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 12:57:44,408 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Parameters: [?param0=[AdminNo,1252]]
2019-04-08 12:57:44,408 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata2] Types: [?param0=[Int64, System.Int64]]
2019-04-08 12:57:44,413 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59008611" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:44,418 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59008611" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:44,420 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata3] Prepared SQL: [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a]
2019-04-08 12:57:44,420 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] PreparedStatement : [select 0 DataType, count(a.ouno) IntVal1, 0 IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,'' StringVal1 ,cast(null as datetime) DateVal1 from orderuser a where a.adminno= ?param0 and a.isdeleted=0 and date_format(a.cdt, '%Y%m') = date_format( now() , '%Y%m') union all select 1 DataType, count(b.logno) IntVal1, count(distinct date_format(b.cdt,'%Y%m%d')) IntVal2 ,0 LongVal1,0 LongVal2, 0 LongVal3 ,null StringVal1 ,null DateVal1 from loginlog b where b.adminno= ?param0 and b.loginstatus < 2 and date_format(b.cdt,'%Y%m')=date_format( now() ,'%Y%m') union all select a.* from ( select 2 DataType, a.btype IntVal1, a.BDType IntVal2 ,a.BNo LongVal1,0 LongVal2, 0 LongVal3 ,a.subject StringVal1 ,a.cdt DateVal1 from board a where a.btype < 2 and a.isdeleted=0 order by a.cdt desc limit 3 ) a]
2019-04-08 12:57:44,421 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Parameters: [?param0=[LongVal1,1252]]
2019-04-08 12:57:44,421 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.maindata3] Types: [?param0=[Int64, System.Int64]]
2019-04-08 12:57:44,425 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1127114" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:57:44,497 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1127114" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:58:42,576 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 12:58:42,576 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 12:58:42,576 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 12:58:42,600 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17454333" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:58:42,610 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17454333" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:58:42,615 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-08 12:58:42,615 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-08 12:58:42,633 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41553002" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:58:43,054 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41553002" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:58:51,932 [8980] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 12:58:51,932 [8980] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 12:58:51,932 [8980] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 12:58:51,937 [8980] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "35578258" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:58:51,940 [8980] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "35578258" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:58:51,941 [8980] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 12:58:51,941 [8980] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 12:58:51,946 [8980] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33282038" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:58:51,978 [8980] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33282038" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:59:02,834 [2388] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 12:59:02,834 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 12:59:02,835 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,70]]
2019-04-08 12:59:02,835 [2388] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-08 12:59:02,839 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17428904" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 12:59:02,848 [2388] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17428904" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:01,109 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:12:01,109 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:12:01,109 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:12:01,236 [16876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "28140494" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:01,241 [16876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "28140494" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:04,592 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:12:04,592 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:12:04,592 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:12:04,598 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "98644" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:04,602 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "98644" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:04,607 [13876] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('IndExp') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:12:04,607 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('IndExp') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:12:04,613 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49981060" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:04,626 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49981060" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:04,626 [13876] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.usertype= ?param0 and a.status=1 order by a.Sort]
2019-04-08 13:12:04,626 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.usertype= ?param0 and a.status=1 order by a.Sort]
2019-04-08 13:12:04,626 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Parameters: [?param0=[UserType,31]]
2019-04-08 13:12:04,626 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:12:04,631 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31750485" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:04,638 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31750485" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:11,981 [16820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:12:11,981 [16820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:12:11,981 [16820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:12:11,989 [16820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17337318" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:12,000 [16820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17337318" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:12,001 [16820] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clients] Prepared SQL: [select a.*, sum(case when b.usertype=11 then 1 else 0 end) IntV2, sum(case when b.usertype=12 then 1 else 0 end) IntV3 from ( select a.*, count(b.ono) IntV1 from ( select distinct a.ClientNo, a.ClientName, a.CDT , row_number() over(order by a.cdt desc) RNO , count(a.clientno) over() PageTotalCount from client a left outer join users u on u.clientno=a.clientno and u.isdeleted=0 where a.isdeleted=0 and (a.clientname like concat('%', ?param0 ,'%') or u.username like concat('%', ?param0 ,'%')) ) a left outer join orders b on b.clientno=a.clientno and b.isdeleted=0 where RNO between 1 and 20 group by a.clientno, a.clientname, a.cdt ) a left outer join users b on b.clientno=a.clientno and b.isdeleted=0 group by a.clientno, a.clientname, a.cdt, a.intv1 order by a.rno]
2019-04-08 13:12:12,001 [16820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.clients] PreparedStatement : [select a.*, sum(case when b.usertype=11 then 1 else 0 end) IntV2, sum(case when b.usertype=12 then 1 else 0 end) IntV3 from ( select a.*, count(b.ono) IntV1 from ( select distinct a.ClientNo, a.ClientName, a.CDT , row_number() over(order by a.cdt desc) RNO , count(a.clientno) over() PageTotalCount from client a left outer join users u on u.clientno=a.clientno and u.isdeleted=0 where a.isdeleted=0 and (a.clientname like concat('%', ?param0 ,'%') or u.username like concat('%', ?param0 ,'%')) ) a left outer join orders b on b.clientno=a.clientno and b.isdeleted=0 where RNO between 1 and 20 group by a.clientno, a.clientname, a.cdt ) a left outer join users b on b.clientno=a.clientno and b.isdeleted=0 group by a.clientno, a.clientname, a.cdt, a.intv1 order by a.rno]
2019-04-08 13:12:12,001 [16820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.clients] Parameters: [?param0=[ClientOrName,¿£ÇÇÅ×Å©]]
2019-04-08 13:12:12,001 [16820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.clients] Types: [?param0=[String, System.String]]
2019-04-08 13:12:12,007 [16820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "8479145" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:12,048 [16820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "8479145" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:13,694 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:12:13,694 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:12:13,694 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:12:13,700 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7225966" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:13,704 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7225966" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:13,707 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] PreparedStatement : [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 13:12:13,708 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] Parameters: [?param0=[ClientNo,2679]]
2019-04-08 13:12:13,708 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:12:13,713 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14855859" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:13,723 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14855859" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:13,724 [13876] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-08 13:12:13,724 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-08 13:12:13,724 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,202679]]
2019-04-08 13:12:13,724 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:12:13,729 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55503431" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:13,736 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55503431" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:13,736 [13876] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.Status, a.cdt) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 ) a order by RNO]
2019-04-08 13:12:13,737 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.Status, a.cdt) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 ) a order by RNO]
2019-04-08 13:12:13,737 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2679]]
2019-04-08 13:12:13,737 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:12:13,743 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56000729" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:13,751 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56000729" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:15,550 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:12:15,551 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:12:15,551 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:12:15,557 [16876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "60654651" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:15,560 [16876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "60654651" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:15,563 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] PreparedStatement : [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 13:12:15,563 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] Parameters: [?param0=[ClientNo,2679]]
2019-04-08 13:12:15,563 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:12:15,569 [16876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59091200" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:15,576 [16876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59091200" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:55,384 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users.byemail] PreparedStatement : [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 13:12:55,384 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users.byemail] Parameters: [?param0=[UserId,hodong13@nptc.kr], ?param1=[UserNo,0]]
2019-04-08 13:12:55,384 [16876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users.byemail] Types: [?param0=[String, System.String], ?param1=[Int64, System.Int64]]
2019-04-08 13:12:55,390 [16876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6372586" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:12:55,455 [16876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6372586" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:05,680 [16820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users.byemail] PreparedStatement : [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 13:13:05,680 [16820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users.byemail] Parameters: [?param0=[UserId,hodong13@naver.com], ?param1=[UserNo,0]]
2019-04-08 13:13:05,680 [16820] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users.byemail] Types: [?param0=[String, System.String], ?param1=[Int64, System.Int64]]
2019-04-08 13:13:05,686 [16820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56395406" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:05,759 [16820] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56395406" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:30,532 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users.byemail] PreparedStatement : [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 13:13:30,532 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users.byemail] Parameters: [?param0=[UserId,phayul@naver.com], ?param1=[UserNo,0]]
2019-04-08 13:13:30,532 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users.byemail] Types: [?param0=[String, System.String], ?param1=[Int64, System.Int64]]
2019-04-08 13:13:30,539 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53827249" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:30,607 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53827249" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:30,609 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.clientuser.insert] PreparedStatement : [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 13:13:30,610 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.clientuser.insert] Parameters: [?param0=[ClientNo,2679], ?param1=[UserType,11], ?param2=[UserId,phayul@naver.com], ?param3=[UserPass,08500782b2889ccb9351a4f55be5e024326eb30dbfb6d53510a9d4034fcd014b], ?param4=[UserName,¹ÚÈ¿µ¿], ?param5=[Mobile,01043000112], ?param6=[TelNo,01043000112], ?param7=[Department,°³¹ßÆÀ], ?param8=[UserPosition,°úÀå], ?param9=[RCVES,11], ?param10=[Status,1], ?param11=[UNO,1252], ?param12=[UIP,127.0.0.1]]
2019-04-08 13:13:30,610 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.clientuser.insert] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32], ?param2=[String, System.String], ?param3=[String, System.String], ?param4=[String, System.String], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[String, System.String], ?param10=[Int32, System.Int32], ?param11=[Int64, System.Int64], ?param12=[String, System.String]]
2019-04-08 13:13:30,616 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3537358" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:30,649 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.clientuser.insert.SelectKey] PreparedStatement : [SELECT LAST_INSERT_ID()]
2019-04-08 13:13:30,654 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3537358" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:31,187 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:13:31,187 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:13:31,187 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:13:31,227 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61252612" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:31,233 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61252612" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:31,234 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.user] PreparedStatement : [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 13:13:31,234 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.user] Parameters: [?param0=[UserNo,202607]]
2019-04-08 13:13:31,234 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.user] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:13:31,240 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10959243" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:31,245 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10959243" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:33,833 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:13:33,833 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:13:33,833 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:13:33,849 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33023002" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:33,854 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33023002" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:33,854 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] PreparedStatement : [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 13:13:33,854 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] Parameters: [?param0=[ClientNo,2679]]
2019-04-08 13:13:33,854 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:13:33,860 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36360334" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:33,866 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36360334" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:33,866 [16296] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbygroup] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-08 13:13:33,866 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] PreparedStatement : [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.isdeleted=0 and a.FGNo= ?param0]
2019-04-08 13:13:33,866 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Parameters: [?param0=[FGNo,202679]]
2019-04-08 13:13:33,866 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.file.getbygroup] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:13:33,872 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "37524263" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:33,876 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "37524263" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:33,876 [16296] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.Status, a.cdt) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 ) a order by RNO]
2019-04-08 13:13:33,876 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.Status, a.cdt) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 ) a order by RNO]
2019-04-08 13:13:33,876 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2679]]
2019-04-08 13:13:33,876 [16296] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:13:33,882 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "44141991" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:13:33,889 [16296] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "44141991" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:18:46,392 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:18:46,392 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:18:46,392 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:18:46,398 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49561867" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:18:46,404 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49561867" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:18:46,404 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] PreparedStatement : [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 13:18:46,404 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] Parameters: [?param0=[ClientNo,2679]]
2019-04-08 13:18:46,404 [13876] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:18:46,409 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9533268" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:18:46,416 [13876] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9533268" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:21:12,033 [16028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:21:12,033 [16028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:21:12,033 [16028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:21:12,039 [16028] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39570742" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:21:12,042 [16028] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39570742" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:21:12,043 [16028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] PreparedStatement : [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 13:21:12,043 [16028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] Parameters: [?param0=[ClientNo,2679]]
2019-04-08 13:21:12,043 [16028] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.client] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:21:12,048 [16028] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19612658" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:21:12,054 [16028] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19612658" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:24:35,645 [15960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:24:35,645 [15960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:24:35,645 [15960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:24:35,655 [15960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11678896" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:24:35,659 [15960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11678896" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:24:35,659 [15960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.user] PreparedStatement : [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 13:24:35,659 [15960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.user] Parameters: [?param0=[UserNo,202607]]
2019-04-08 13:24:35,659 [15960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.user] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:24:35,665 [15960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13112132" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:24:35,674 [15960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13112132" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:42,073 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 13:50:42,087 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 13:50:42,088 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 13:50:42,089 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 13:50:42,089 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 13:50:42,089 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 13:50:42,089 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 13:50:42,098 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 13:50:42,099 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 13:50:42,099 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 13:50:42,099 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 13:50:42,099 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 13:50:42,099 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 13:50:42,101 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 13:50:42,102 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 13:50:42,103 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,103 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 13:50:42,103 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,109 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 13:50:42,109 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,111 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 13:50:42,111 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 13:50:42,112 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 13:50:42,112 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 13:50:42,112 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 13:50:42,112 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 13:50:42,114 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 13:50:42,114 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 13:50:42,115 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 13:50:42,115 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 13:50:42,115 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 13:50:42,115 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 13:50:42,119 [16764] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 13:50:42,119 [16764] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:50:42,120 [16764] 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.isdeleted=0]
2019-04-08 13:50:42,120 [16764] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 13:50:42,121 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 13:50:42,121 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 13:50:42,122 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 13:50:42,122 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 13:50:42,122 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 13:50:42,122 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 13:50:42,122 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,122 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 13:50:42,123 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 13:50:42,123 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 13:50:42,123 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 13:50:42,123 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 13:50:42,123 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 13:50:42,124 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 13:50:42,125 [16764] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 13:50:42,125 [16764] 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]
2019-04-08 13:50:42,125 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 13:50:42,125 [16764] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 13:50:42,126 [16764] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 13:50:42,127 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 13:50:42,127 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,128 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 13:50:42,128 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,129 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,129 [16764] 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]
2019-04-08 13:50:42,129 [16764] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 13:50:42,129 [16764] 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]
2019-04-08 13:50:42,130 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 13:50:42,130 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 13:50:42,131 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 13:50:42,131 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 13:50:42,131 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 13:50:42,131 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 13:50:42,132 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 13:50:42,132 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 13:50:42,132 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 13:50:42,132 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 13:50:42,132 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 13:50:42,133 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 13:50:42,134 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 13:50:42,134 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,136 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 13:50:42,136 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,136 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 13:50:42,137 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 13:50:42,137 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 13:50:42,137 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 13:50:42,137 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 13:50:42,138 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 13:50:42,138 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 13:50:42,139 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 13:50:42,139 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 13:50:42,139 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 13:50:42,139 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 13:50:42,140 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 13:50:42,140 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 13:50:42,140 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 13:50:42,140 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 13:50:42,141 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 13:50:42,141 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 13:50:42,142 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 13:50:42,146 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 13:50:42,146 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,147 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 13:50:42,147 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,148 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 13:50:42,148 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 13:50:42,148 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 13:50:42,148 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 13:50:42,148 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 13:50:42,148 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 13:50:42,148 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 13:50:42,148 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 13:50:42,149 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 13:50:42,149 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 13:50:42,149 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 13:50:42,149 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 13:50:42,150 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 13:50:42,150 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 13:50:42,151 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 where a.userno= ?param0]
2019-04-08 13:50:42,152 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 13:50:42,152 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 13:50:42,153 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 13:50:42,153 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 13:50:42,153 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 13:50:42,153 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 13:50:42,154 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 13:50:42,154 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 13:50:42,155 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 13:50:42,156 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 13:50:42,157 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 13:50:42,158 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 13:50:42,158 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,158 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 13:50:42,159 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 13:50:42,159 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 13:50:42,159 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 13:50:42,159 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 13:50:42,160 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 13:50:42,161 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 13:50:42,161 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 13:50:42,162 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:50:42,162 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 13:50:42,162 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 13:50:42,163 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 13:50:42,163 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 13:50:42,163 [16764] 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]
2019-04-08 13:50:42,164 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 13:50:42,164 [16764] 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]
2019-04-08 13:50:42,164 [16764] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 13:50:42,164 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 13:50:42,164 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 13:50:42,164 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 13:50:42,166 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 13:50:42,166 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 13:50:42,166 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 13:50:42,166 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 13:50:42,180 [16764] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 13:50:42,182 [16764] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 13:50:42,190 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 13:50:42,190 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:50:42,788 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16885084" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:42,855 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16885084" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:42,858 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:50:42,858 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:50:42,858 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:50:42,863 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49995417" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:42,867 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49995417" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:42,889 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 13:50:42,889 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 13:50:42,889 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-08 13:50:42,889 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-08 13:50:42,893 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24482722" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:42,938 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24482722" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:42,939 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:50:42,939 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:50:42,946 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64267506" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:42,956 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64267506" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:42,956 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 13:50:42,956 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 13:50:42,962 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17722076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:42,982 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17722076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,178 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:50:50,178 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:50:50,178 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:50:50,202 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13698448" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,216 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13698448" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,221 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 13:50:50,221 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:50:50,221 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:50:50,257 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27374390" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,285 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27374390" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,285 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 13:50:50,285 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 13:50:50,285 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:50:50,285 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:50:50,320 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46778591" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,351 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46778591" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,352 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:50:50,352 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:50:50,395 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38874045" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,417 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38874045" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,418 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 13:50:50,418 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:50:50,418 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:50:50,423 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50331990" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,447 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50331990" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,450 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (42424) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-08 13:50:50,450 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (42424) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-08 13:50:50,455 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50345682" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,488 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50345682" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,497 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') or concat(',', a.keyword,',') like concat('%', ?param2 ,'%') or concat(',', a.keyword,',') like concat('%', ?param3 ,'%') ) and b.ouno is null order by a.username]
2019-04-08 13:50:50,497 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') or concat(',', a.keyword,',') like concat('%', ?param2 ,'%') or concat(',', a.keyword,',') like concat('%', ?param3 ,'%') ) and b.ouno is null order by a.username]
2019-04-08 13:50:50,500 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9238], ?param1=[KeyWords[0],,2727,], ?param2=[KeyWords[1],,2731,], ?param3=[KeyWords[2],,2737,]]
2019-04-08 13:50:50,500 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String], ?param2=[String, System.String], ?param3=[String, System.String]]
2019-04-08 13:50:50,505 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6815330" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,595 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6815330" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,596 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (32075,19051,28661,69969,36883,37277,37718,69806,23457,31381,31444,30453,38533,38498,69544,37898,38564,16092,32527,71667,38932,70441,69805,42829,24126,202601,42889,31978,31439,37413,31752,31781,23621,23618,31785,16795,37879,36311,26881,32196,38300,31905,23622,23640,37768,37432,31789,32223,36037,37863,37741,23620,32128,7714,31906,22463,23623,23642,23643,37865,32015,13369,38017,38014,37653,23625,37792,37384,40917,38369,23790,23791,33492,37733,32084,69683,38270,31924,23792,37027,23793,31849,37483,38309,38234,38389,21088,37679,24001,70520,72850,24004,37664,46312,37720,37176,37390,37905,37817,38918,23797,23800,23802,38239,23827,38494,38697,7100,4752,23835,31926,32296,70259,37729,32307,37375,31848,23837,23838,23840,38427,36989,23841,38361,24019,23842,20487,24005,38301,38216,23798,23844,32022,23845,23898,39329,23899,23903,37992,31927,23905,32325,37658,37969,38057,23908,24011,23799,23910,23912,37098,38250,31564,43098,36178,23913,31928,22303,37979,23914,24013,37725,35385,23915,38376,21041,38436,69549,23916,31851,23918,24014,24018,23801,23920,23921,37696,6816,23922,23803,36081,23804,37937,23923,20965,23924,24020,71703,37901,37972,36660,23925,37911,23805,31460,23853,24022,23926,38299,1558,37677,45879,31486,23854,23859,32079,32080,23930,37482,23862,38503,37372,36129,38613,17768,38359,23932,23933,20964,38271,24050,1621,24051,23937,37376,32337,23866,32082,26530,36667,2814,38925,9479,37950,23940,23942,23867,37391,37935,23945,19748,31605,6844,37923,23868,23946,38589,38342,37192,23948,23949,37307,43730,31980,70171,32336,24055,23870,37388,37787,37989,23952,38004,33591,202597,38323,42033,36692,31453,8841,37973,23953,37497,23871,9286,37993,23996,20350,23872,31608,23954,23958,23873,18664,23959,38502,23960,37510,23877,4687,23878,37734,37681,24023,23961,32134,37646,23879,23962,23880,23964,23965,45965,38324,23968,31843,23881,21343,37955,23972,38828,23974,23975,23976,23883,15506,23979,23980,36033,32340,23884,37506,37433,23981,38240,23885,23886,23983,38420,23984,23887,37655,37644,38257,23985,37308,20666,31443,35776,37985,46921,36088,23889,37881,23986,32135,38532,23987,37437,43398,12453,67642,32140,23890,38405,37702,36015,31440,36899,23990,37283,23991,23989,38232,1224,43409,38852,37508,23891,38473,23892,23993,23893,36415,23994,71619,36090,23995,31612,23997,23894,72146,47086,202585,19735,37417,23998,43411,36805,39393,23999,23895,24002,38446,24003,24007,35770,24008,38534,37695,24009,24010,36058,24012,37194,38387,37638,32078,36141,32186,24015,36838,37930,23826,38026,35771,36717,24017,24021,23896,74576,7205,37827,38231,37713,24025,24026,23897,38272,37507,32188,37867,30115,37731,23988,24028,23846,32191,24029,37701,38308,24056,38368,37890,2218,37971,23900,39388,31441,38588,70334,36557,15874,37715,23901,24030,23902,38018,17033,69946,37732,71702,24031,37974,20612,24057,23904,35751,31977,38434,24032,37810,31930,24033,69955,24034,21195,32374,37968,23906,37815,39411,37947,37862,32194,35703,37820,48768,24035,35705,19320,24036,44586,24037,35706,37920,35707,35708,69996,23907,35738,23909,35747,38474,23911,24039,15860,36091,31929,24058,24040,24042,37721,35767,24043,23917,23919,37675,35766,38037,38247,24052,36050,20925,35765,37936,24053,33669,23927,35989,72535,37373,39391,24054,37654,23928,20913,24077,31376,4242,28984,31610,37896,24081,4411,24083,24103,23929,38406,38020,23931,38623,37676,20770,24104,31852,31611,31982,38422,38410,24105,38363,24107,23650,71630,37581,69880,24059,23934,23935,24060,37560,36018,23939,36092,70340,38504,37929,38019,71991,37671,36094,24112,36076,37910,23941,24113,38040,37414,21427,38599,38449,23943,36079,38445,38586,37666,23944,20953,38218,23950,37383,37861,24115,38433,38056,32005,23951,37401,37665,38310,24061,24116,23956,28435,36260,24117,24119,20460,24062,37054,37874,23963,24120,24121,23966,23982,24122,24123,20969,23967,38386,23969,38343,24063,23971,37931,24124,24125,37434,23973,23977,37678,20846,23978,38325,38260,24064,32077,32516) order by a.userno, a.cdt]
2019-04-08 13:50:50,597 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (32075,19051,28661,69969,36883,37277,37718,69806,23457,31381,31444,30453,38533,38498,69544,37898,38564,16092,32527,71667,38932,70441,69805,42829,24126,202601,42889,31978,31439,37413,31752,31781,23621,23618,31785,16795,37879,36311,26881,32196,38300,31905,23622,23640,37768,37432,31789,32223,36037,37863,37741,23620,32128,7714,31906,22463,23623,23642,23643,37865,32015,13369,38017,38014,37653,23625,37792,37384,40917,38369,23790,23791,33492,37733,32084,69683,38270,31924,23792,37027,23793,31849,37483,38309,38234,38389,21088,37679,24001,70520,72850,24004,37664,46312,37720,37176,37390,37905,37817,38918,23797,23800,23802,38239,23827,38494,38697,7100,4752,23835,31926,32296,70259,37729,32307,37375,31848,23837,23838,23840,38427,36989,23841,38361,24019,23842,20487,24005,38301,38216,23798,23844,32022,23845,23898,39329,23899,23903,37992,31927,23905,32325,37658,37969,38057,23908,24011,23799,23910,23912,37098,38250,31564,43098,36178,23913,31928,22303,37979,23914,24013,37725,35385,23915,38376,21041,38436,69549,23916,31851,23918,24014,24018,23801,23920,23921,37696,6816,23922,23803,36081,23804,37937,23923,20965,23924,24020,71703,37901,37972,36660,23925,37911,23805,31460,23853,24022,23926,38299,1558,37677,45879,31486,23854,23859,32079,32080,23930,37482,23862,38503,37372,36129,38613,17768,38359,23932,23933,20964,38271,24050,1621,24051,23937,37376,32337,23866,32082,26530,36667,2814,38925,9479,37950,23940,23942,23867,37391,37935,23945,19748,31605,6844,37923,23868,23946,38589,38342,37192,23948,23949,37307,43730,31980,70171,32336,24055,23870,37388,37787,37989,23952,38004,33591,202597,38323,42033,36692,31453,8841,37973,23953,37497,23871,9286,37993,23996,20350,23872,31608,23954,23958,23873,18664,23959,38502,23960,37510,23877,4687,23878,37734,37681,24023,23961,32134,37646,23879,23962,23880,23964,23965,45965,38324,23968,31843,23881,21343,37955,23972,38828,23974,23975,23976,23883,15506,23979,23980,36033,32340,23884,37506,37433,23981,38240,23885,23886,23983,38420,23984,23887,37655,37644,38257,23985,37308,20666,31443,35776,37985,46921,36088,23889,37881,23986,32135,38532,23987,37437,43398,12453,67642,32140,23890,38405,37702,36015,31440,36899,23990,37283,23991,23989,38232,1224,43409,38852,37508,23891,38473,23892,23993,23893,36415,23994,71619,36090,23995,31612,23997,23894,72146,47086,202585,19735,37417,23998,43411,36805,39393,23999,23895,24002,38446,24003,24007,35770,24008,38534,37695,24009,24010,36058,24012,37194,38387,37638,32078,36141,32186,24015,36838,37930,23826,38026,35771,36717,24017,24021,23896,74576,7205,37827,38231,37713,24025,24026,23897,38272,37507,32188,37867,30115,37731,23988,24028,23846,32191,24029,37701,38308,24056,38368,37890,2218,37971,23900,39388,31441,38588,70334,36557,15874,37715,23901,24030,23902,38018,17033,69946,37732,71702,24031,37974,20612,24057,23904,35751,31977,38434,24032,37810,31930,24033,69955,24034,21195,32374,37968,23906,37815,39411,37947,37862,32194,35703,37820,48768,24035,35705,19320,24036,44586,24037,35706,37920,35707,35708,69996,23907,35738,23909,35747,38474,23911,24039,15860,36091,31929,24058,24040,24042,37721,35767,24043,23917,23919,37675,35766,38037,38247,24052,36050,20925,35765,37936,24053,33669,23927,35989,72535,37373,39391,24054,37654,23928,20913,24077,31376,4242,28984,31610,37896,24081,4411,24083,24103,23929,38406,38020,23931,38623,37676,20770,24104,31852,31611,31982,38422,38410,24105,38363,24107,23650,71630,37581,69880,24059,23934,23935,24060,37560,36018,23939,36092,70340,38504,37929,38019,71991,37671,36094,24112,36076,37910,23941,24113,38040,37414,21427,38599,38449,23943,36079,38445,38586,37666,23944,20953,38218,23950,37383,37861,24115,38433,38056,32005,23951,37401,37665,38310,24061,24116,23956,28435,36260,24117,24119,20460,24062,37054,37874,23963,24120,24121,23966,23982,24122,24123,20969,23967,38386,23969,38343,24063,23971,37931,24124,24125,37434,23973,23977,37678,20846,23978,38325,38260,24064,32077,32516) order by a.userno, a.cdt]
2019-04-08 13:50:50,601 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10993104" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,722 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10993104" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,722 [16764] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 13:50:50,722 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 13:50:50,722 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 13:50:50,722 [16764] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:50:50,727 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48064085" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:50,732 [16764] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48064085" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:53,063 [15200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 13:50:53,063 [15200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9238]]
2019-04-08 13:50:53,063 [15200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-08 13:50:53,068 [15200] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63482429" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:50:53,091 [15200] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63482429" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:40,819 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 13:57:40,829 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 13:57:40,830 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 13:57:40,831 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 13:57:40,831 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 13:57:40,832 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 13:57:40,832 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 13:57:40,833 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 13:57:40,833 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 13:57:40,833 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 13:57:40,833 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 13:57:40,833 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 13:57:40,833 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 13:57:40,834 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 13:57:40,835 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 13:57:40,836 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,836 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 13:57:40,836 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,841 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 13:57:40,842 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,843 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 13:57:40,843 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 13:57:40,844 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 13:57:40,844 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 13:57:40,844 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 13:57:40,844 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 13:57:40,846 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 13:57:40,846 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 13:57:40,846 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 13:57:40,846 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 13:57:40,846 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 13:57:40,846 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 13:57:40,855 [16824] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 13:57:40,856 [16824] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:57:40,856 [16824] 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.isdeleted=0]
2019-04-08 13:57:40,856 [16824] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 13:57:40,857 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 13:57:40,858 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 13:57:40,858 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 13:57:40,858 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 13:57:40,859 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 13:57:40,859 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 13:57:40,859 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,859 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 13:57:40,859 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 13:57:40,859 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 13:57:40,860 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 13:57:40,860 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 13:57:40,860 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 13:57:40,860 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 13:57:40,868 [16824] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 13:57:40,869 [16824] 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]
2019-04-08 13:57:40,869 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 13:57:40,869 [16824] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 13:57:40,869 [16824] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 13:57:40,870 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 13:57:40,870 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,871 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 13:57:40,871 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,871 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,871 [16824] 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]
2019-04-08 13:57:40,871 [16824] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 13:57:40,872 [16824] 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]
2019-04-08 13:57:40,872 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 13:57:40,872 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 13:57:40,877 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 13:57:40,877 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 13:57:40,877 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 13:57:40,878 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 13:57:40,878 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 13:57:40,878 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 13:57:40,878 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 13:57:40,879 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 13:57:40,879 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 13:57:40,879 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 13:57:40,881 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 13:57:40,881 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,884 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 13:57:40,884 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,884 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 13:57:40,884 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 13:57:40,884 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 13:57:40,884 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 13:57:40,885 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 13:57:40,885 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 13:57:40,886 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 13:57:40,891 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 13:57:40,891 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 13:57:40,891 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 13:57:40,892 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 13:57:40,892 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 13:57:40,892 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 13:57:40,892 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 13:57:40,892 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 13:57:40,894 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 13:57:40,894 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 13:57:40,895 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.hrorderusers] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.IVLocation,a.IVTime from orderuser a where b.outype < 3 and b.status in (1,2,4,5,9) and b.isdeleted=0 order by a.ono, a.cdt]
2019-04-08 13:57:40,895 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 13:57:40,898 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 13:57:40,898 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,899 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 13:57:40,899 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,899 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 13:57:40,899 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 13:57:40,899 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 13:57:40,899 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 13:57:40,900 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 13:57:40,900 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 13:57:40,900 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 13:57:40,900 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 13:57:40,900 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 13:57:40,900 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 13:57:40,900 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 13:57:40,900 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 13:57:40,901 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 13:57:40,901 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 13:57:40,906 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName,c.ClientName,a.ClientNo ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join client c on a.usertype=11 and c.clientno=a.clientno where a.userno= ?param0]
2019-04-08 13:57:40,907 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 13:57:40,907 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 13:57:40,914 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 13:57:40,914 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 13:57:40,914 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 13:57:40,914 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 13:57:40,914 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 13:57:40,915 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 13:57:40,916 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 13:57:40,921 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 13:57:40,923 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 13:57:40,923 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 13:57:40,923 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,923 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 13:57:40,929 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 13:57:40,929 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 13:57:40,929 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 13:57:40,930 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 13:57:40,930 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 13:57:40,930 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 13:57:40,931 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 13:57:40,932 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 13:57:40,932 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 13:57:40,932 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 13:57:40,933 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 13:57:40,933 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 13:57:40,933 [16824] 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]
2019-04-08 13:57:40,934 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 13:57:40,934 [16824] 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]
2019-04-08 13:57:40,934 [16824] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 13:57:40,934 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 13:57:40,934 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 13:57:40,940 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 13:57:40,940 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 13:57:40,941 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 13:57:40,941 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 13:57:40,941 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 13:57:40,949 [16824] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 13:57:40,949 [11364] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 13:57:40,949 [16824] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 13:57:40,950 [11364] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 13:57:40,952 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 13:57:40,952 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:57:40,952 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 13:57:40,952 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:57:41,099 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61927571" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,139 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61927571" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,144 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:57:41,144 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:57:41,144 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:57:41,152 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41814619" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,156 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41814619" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,179 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 13:57:41,179 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:57:41,179 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:57:41,185 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1121381" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,204 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1121381" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,205 [11364] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 13:57:41,205 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 13:57:41,205 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:57:41,205 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:57:41,211 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11911052" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,220 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11911052" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,222 [11364] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:57:41,222 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:57:41,227 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55485569" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,246 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55485569" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,246 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 13:57:41,246 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:57:41,246 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:57:41,253 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29176520" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,273 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29176520" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,276 [11364] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (42424) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-08 13:57:41,276 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (42424) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-08 13:57:41,282 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34937283" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,347 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34937283" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,352 [11364] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') or concat(',', a.keyword,',') like concat('%', ?param2 ,'%') or concat(',', a.keyword,',') like concat('%', ?param3 ,'%') ) and b.ouno is null order by a.username]
2019-04-08 13:57:41,352 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') or concat(',', a.keyword,',') like concat('%', ?param2 ,'%') or concat(',', a.keyword,',') like concat('%', ?param3 ,'%') ) and b.ouno is null order by a.username]
2019-04-08 13:57:41,354 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9238], ?param1=[KeyWords[0],,2727,], ?param2=[KeyWords[1],,2731,], ?param3=[KeyWords[2],,2737,]]
2019-04-08 13:57:41,354 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String], ?param2=[String, System.String], ?param3=[String, System.String]]
2019-04-08 13:57:41,383 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11762917" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,466 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38819102" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,500 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38819102" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,501 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:57:41,501 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:57:41,501 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:57:41,509 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32348050" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,512 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32348050" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,521 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 13:57:41,521 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,42424], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,2], ?param4=[LogActivity,0], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-08 13:57:41,521 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-08 13:57:41,527 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17867494" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,563 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17867494" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,564 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.userview] PreparedStatement : [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 13:57:41,564 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.userview] Parameters: [?param0=[UserNo,42424]]
2019-04-08 13:57:41,564 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [user.userview] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:57:41,571 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46703180" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,581 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46703180" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,582 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-08 13:57:41,582 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-08 13:57:41,582 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Parameters: [?param0=[UserNo,42424]]
2019-04-08 13:57:41,582 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:57:41,589 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62942336" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,601 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62942336" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,602 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] PreparedStatement : [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 13:57:41,602 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Parameters: [?param0=[UserNo,42424]]
2019-04-08 13:57:41,602 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:57:41,608 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31832269" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,692 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31832269" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,692 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 13:57:41,692 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,1], ?param1=[BaseNo,42424]]
2019-04-08 13:57:41,692 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-08 13:57:41,699 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14499732" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,753 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14499732" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:41,754 [16824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.myorder] Prepared SQL: [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-08 13:57:41,754 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] PreparedStatement : [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-08 13:57:41,754 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Parameters: [?param0=[UserNo,42424]]
2019-04-08 13:57:41,754 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:57:41,761 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15407757" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:42,185 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11762917" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:42,186 [11364] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (32075,19051,28661,69969,36883,37277,37718,69806,23457,31381,31444,30453,38533,38498,69544,37898,38564,16092,32527,71667,38932,70441,69805,42829,24126,202601,42889,31978,31439,37413,31752,31781,23621,23618,31785,16795,37879,36311,26881,32196,38300,31905,23622,23640,37768,37432,31789,32223,36037,37863,37741,23620,32128,7714,31906,22463,23623,23642,23643,37865,32015,13369,38017,38014,37653,23625,37792,37384,40917,38369,23790,23791,33492,37733,32084,69683,38270,31924,23792,37027,23793,31849,37483,38309,38234,38389,21088,37679,24001,70520,72850,24004,37664,46312,37720,37176,37390,37905,37817,38918,23797,23800,23802,38239,23827,38494,38697,7100,4752,23835,31926,32296,70259,37729,32307,37375,31848,23837,23838,23840,38427,36989,23841,38361,24019,23842,20487,24005,38301,38216,23798,23844,32022,23845,23898,39329,23899,23903,37992,31927,23905,32325,37658,37969,38057,23908,24011,23799,23910,23912,37098,38250,31564,43098,36178,23913,31928,22303,37979,23914,24013,37725,35385,23915,38376,21041,38436,69549,23916,31851,23918,24014,24018,23801,23920,23921,37696,6816,23922,23803,36081,23804,37937,23923,20965,23924,24020,71703,37901,37972,36660,23925,37911,23805,31460,23853,24022,23926,38299,1558,37677,45879,31486,23854,23859,32079,32080,23930,37482,23862,38503,37372,36129,38613,17768,38359,23932,23933,20964,38271,24050,1621,24051,23937,37376,32337,23866,32082,26530,36667,2814,38925,9479,37950,23940,23942,23867,37391,37935,23945,19748,31605,6844,37923,23868,23946,38589,38342,37192,23948,23949,37307,43730,31980,70171,32336,24055,23870,37388,37787,37989,23952,38004,33591,202597,38323,42033,36692,31453,8841,37973,23953,37497,23871,9286,37993,23996,20350,23872,31608,23954,23958,23873,18664,23959,38502,23960,37510,23877,4687,23878,37734,37681,24023,23961,32134,37646,23879,23962,23880,23964,23965,45965,38324,23968,31843,23881,21343,37955,23972,38828,23974,23975,23976,23883,15506,23979,23980,36033,32340,23884,37506,37433,23981,38240,23885,23886,23983,38420,23984,23887,37655,37644,38257,23985,37308,20666,31443,35776,37985,46921,36088,23889,37881,23986,32135,38532,23987,37437,43398,12453,67642,32140,23890,38405,37702,36015,31440,36899,23990,37283,23991,23989,38232,1224,43409,38852,37508,23891,38473,23892,23993,23893,36415,23994,71619,36090,23995,31612,23997,23894,72146,47086,202585,19735,37417,23998,43411,36805,39393,23999,23895,24002,38446,24003,24007,35770,24008,38534,37695,24009,24010,36058,24012,37194,38387,37638,32078,36141,32186,24015,36838,37930,23826,38026,35771,36717,24017,24021,23896,74576,7205,37827,38231,37713,24025,24026,23897,38272,37507,32188,37867,30115,37731,23988,24028,23846,32191,24029,37701,38308,24056,38368,37890,2218,37971,23900,39388,31441,38588,70334,36557,15874,37715,23901,24030,23902,38018,17033,69946,37732,71702,24031,37974,20612,24057,23904,35751,31977,38434,24032,37810,31930,24033,69955,24034,21195,32374,37968,23906,37815,39411,37947,37862,32194,35703,37820,48768,24035,35705,19320,24036,44586,24037,35706,37920,35707,35708,69996,23907,35738,23909,35747,38474,23911,24039,15860,36091,31929,24058,24040,24042,37721,35767,24043,23917,23919,37675,35766,38037,38247,24052,36050,20925,35765,37936,24053,33669,23927,35989,72535,37373,39391,24054,37654,23928,20913,24077,31376,4242,28984,31610,37896,24081,4411,24083,24103,23929,38406,38020,23931,38623,37676,20770,24104,31852,31611,31982,38422,38410,24105,38363,24107,23650,71630,37581,69880,24059,23934,23935,24060,37560,36018,23939,36092,70340,38504,37929,38019,71991,37671,36094,24112,36076,37910,23941,24113,38040,37414,21427,38599,38449,23943,36079,38445,38586,37666,23944,20953,38218,23950,37383,37861,24115,38433,38056,32005,23951,37401,37665,38310,24061,24116,23956,28435,36260,24117,24119,20460,24062,37054,37874,23963,24120,24121,23966,23982,24122,24123,20969,23967,38386,23969,38343,24063,23971,37931,24124,24125,37434,23973,23977,37678,20846,23978,38325,38260,24064,32077,32516) order by a.userno, a.cdt]
2019-04-08 13:57:42,186 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (32075,19051,28661,69969,36883,37277,37718,69806,23457,31381,31444,30453,38533,38498,69544,37898,38564,16092,32527,71667,38932,70441,69805,42829,24126,202601,42889,31978,31439,37413,31752,31781,23621,23618,31785,16795,37879,36311,26881,32196,38300,31905,23622,23640,37768,37432,31789,32223,36037,37863,37741,23620,32128,7714,31906,22463,23623,23642,23643,37865,32015,13369,38017,38014,37653,23625,37792,37384,40917,38369,23790,23791,33492,37733,32084,69683,38270,31924,23792,37027,23793,31849,37483,38309,38234,38389,21088,37679,24001,70520,72850,24004,37664,46312,37720,37176,37390,37905,37817,38918,23797,23800,23802,38239,23827,38494,38697,7100,4752,23835,31926,32296,70259,37729,32307,37375,31848,23837,23838,23840,38427,36989,23841,38361,24019,23842,20487,24005,38301,38216,23798,23844,32022,23845,23898,39329,23899,23903,37992,31927,23905,32325,37658,37969,38057,23908,24011,23799,23910,23912,37098,38250,31564,43098,36178,23913,31928,22303,37979,23914,24013,37725,35385,23915,38376,21041,38436,69549,23916,31851,23918,24014,24018,23801,23920,23921,37696,6816,23922,23803,36081,23804,37937,23923,20965,23924,24020,71703,37901,37972,36660,23925,37911,23805,31460,23853,24022,23926,38299,1558,37677,45879,31486,23854,23859,32079,32080,23930,37482,23862,38503,37372,36129,38613,17768,38359,23932,23933,20964,38271,24050,1621,24051,23937,37376,32337,23866,32082,26530,36667,2814,38925,9479,37950,23940,23942,23867,37391,37935,23945,19748,31605,6844,37923,23868,23946,38589,38342,37192,23948,23949,37307,43730,31980,70171,32336,24055,23870,37388,37787,37989,23952,38004,33591,202597,38323,42033,36692,31453,8841,37973,23953,37497,23871,9286,37993,23996,20350,23872,31608,23954,23958,23873,18664,23959,38502,23960,37510,23877,4687,23878,37734,37681,24023,23961,32134,37646,23879,23962,23880,23964,23965,45965,38324,23968,31843,23881,21343,37955,23972,38828,23974,23975,23976,23883,15506,23979,23980,36033,32340,23884,37506,37433,23981,38240,23885,23886,23983,38420,23984,23887,37655,37644,38257,23985,37308,20666,31443,35776,37985,46921,36088,23889,37881,23986,32135,38532,23987,37437,43398,12453,67642,32140,23890,38405,37702,36015,31440,36899,23990,37283,23991,23989,38232,1224,43409,38852,37508,23891,38473,23892,23993,23893,36415,23994,71619,36090,23995,31612,23997,23894,72146,47086,202585,19735,37417,23998,43411,36805,39393,23999,23895,24002,38446,24003,24007,35770,24008,38534,37695,24009,24010,36058,24012,37194,38387,37638,32078,36141,32186,24015,36838,37930,23826,38026,35771,36717,24017,24021,23896,74576,7205,37827,38231,37713,24025,24026,23897,38272,37507,32188,37867,30115,37731,23988,24028,23846,32191,24029,37701,38308,24056,38368,37890,2218,37971,23900,39388,31441,38588,70334,36557,15874,37715,23901,24030,23902,38018,17033,69946,37732,71702,24031,37974,20612,24057,23904,35751,31977,38434,24032,37810,31930,24033,69955,24034,21195,32374,37968,23906,37815,39411,37947,37862,32194,35703,37820,48768,24035,35705,19320,24036,44586,24037,35706,37920,35707,35708,69996,23907,35738,23909,35747,38474,23911,24039,15860,36091,31929,24058,24040,24042,37721,35767,24043,23917,23919,37675,35766,38037,38247,24052,36050,20925,35765,37936,24053,33669,23927,35989,72535,37373,39391,24054,37654,23928,20913,24077,31376,4242,28984,31610,37896,24081,4411,24083,24103,23929,38406,38020,23931,38623,37676,20770,24104,31852,31611,31982,38422,38410,24105,38363,24107,23650,71630,37581,69880,24059,23934,23935,24060,37560,36018,23939,36092,70340,38504,37929,38019,71991,37671,36094,24112,36076,37910,23941,24113,38040,37414,21427,38599,38449,23943,36079,38445,38586,37666,23944,20953,38218,23950,37383,37861,24115,38433,38056,32005,23951,37401,37665,38310,24061,24116,23956,28435,36260,24117,24119,20460,24062,37054,37874,23963,24120,24121,23966,23982,24122,24123,20969,23967,38386,23969,38343,24063,23971,37931,24124,24125,37434,23973,23977,37678,20846,23978,38325,38260,24064,32077,32516) order by a.userno, a.cdt]
2019-04-08 13:57:42,189 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15407757" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:42,189 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] PreparedStatement : [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 13:57:42,189 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Parameters: [?param0=[UserNo,42424]]
2019-04-08 13:57:42,189 [16824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:57:42,192 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46449350" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:42,199 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29113097" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:42,223 [16824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29113097" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:42,327 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46449350" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:42,327 [11364] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 13:57:42,328 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 13:57:42,328 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 13:57:42,328 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:57:42,338 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14838085" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:42,346 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14838085" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:52,970 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 13:57:52,970 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9238]]
2019-04-08 13:57:52,970 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-08 13:57:52,978 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56824758" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:57:53,020 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56824758" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,115 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:58:15,115 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:58:15,115 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:58:15,122 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "54249757" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,125 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "54249757" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,125 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.user] PreparedStatement : [select a.UserNo,a.UserType,a.UserName,c.ClientName,a.ClientNo ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join client c on a.usertype=11 and c.clientno=a.clientno where a.userno= ?param0]
2019-04-08 13:58:15,126 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.user] Parameters: [?param0=[UserNo,42424]]
2019-04-08 13:58:15,126 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.user] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:58:15,132 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20900892" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,141 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20900892" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,141 [11364] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-08 13:58:15,141 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno = ?param0 order by a.userno, a.cdt]
2019-04-08 13:58:15,141 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Parameters: [?param0=[UserNo,42424]]
2019-04-08 13:58:15,141 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:58:15,148 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "66994889" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,154 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "66994889" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,154 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] PreparedStatement : [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 13:58:15,154 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Parameters: [?param0=[UserNo,42424]]
2019-04-08 13:58:15,154 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userresumes] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:58:15,160 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "60156423" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,235 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "60156423" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,236 [11364] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','PayList','JobExp','IndExp','SchoolCode','Language','LanguageTest') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:58:15,236 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderKeyword','PayList','JobExp','IndExp','SchoolCode','Language','LanguageTest') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:58:15,245 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45663167" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,277 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45663167" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,278 [11364] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.admins] Prepared SQL: [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-08 13:58:15,278 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] PreparedStatement : [select a.AdminNo,a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2, a.UserNameReal, a.Info ,case when a.birthday is not null and date_format(a.birthday, '%m%d')=date_format( now() , '%m%d') then 1 else 0 end IntV1 ,CAST(AES_DECRYPT(UNHEX(a.email), 'N_P123@!' ) AS char) Email from admin a where a.status=1 and a.status= ?param0 order by a.Sort]
2019-04-08 13:58:15,278 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Parameters: [?param0=[Status,1]]
2019-04-08 13:58:15,278 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.admins] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:58:15,285 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33989764" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,299 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33989764" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,299 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 13:58:15,299 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.orderuser] Parameters: [?param0=[UserNo,42424]]
2019-04-08 13:58:15,299 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.orderuser] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:58:15,306 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "60109740" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,315 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "60109740" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,315 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 13:58:15,316 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,1], ?param1=[BaseNo,42424]]
2019-04-08 13:58:15,316 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-08 13:58:15,322 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42815499" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,373 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42815499" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,374 [11364] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.myorder] Prepared SQL: [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-08 13:58:15,374 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] PreparedStatement : [select distinct a.ONo,a.OrderName,c.ClientNo,c.ClientName, b3.username PMName,a.CDT from orders a inner join orderconsultant b on b.ono=a.ono inner join orderconsultant b2 on b2.ono=b.ono and b2.gubun=1 inner join admin b3 on b3.adminno=b2.adminno inner join client c on c.clientno=a.clientno left outer join orderuser d on d.ono=a.ono and d.userno= ?param0 and d.isdeleted=0 where a.progresstype=0 and a.isdeleted=0 and d.ouno is null order by a.cdt desc]
2019-04-08 13:58:15,374 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Parameters: [?param0=[UserNo,42424]]
2019-04-08 13:58:15,374 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.myorder] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:58:15,382 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61608623" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,484 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61608623" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,484 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] PreparedStatement : [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 13:58:15,484 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Parameters: [?param0=[UserNo,42424]]
2019-04-08 13:58:15,484 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cdd.userorders] Types: [?param0=[Int64, System.Int64]]
2019-04-08 13:58:15,490 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29632" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:15,496 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29632" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:38,064 [6140] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuserstatus.change] PreparedStatement : [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 13:58:38,064 [6140] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuserstatus.change] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[Status,9], ?param3=[OUNo,23841]]
2019-04-08 13:58:38,064 [6140] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuserstatus.change] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int64, System.Int64]]
2019-04-08 13:58:38,071 [6140] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19968571" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:38,090 [6140] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19968571" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,484 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:58:41,484 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:58:41,484 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:58:41,514 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64253646" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,518 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64253646" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,518 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 13:58:41,518 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:58:41,518 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:58:41,524 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25741959" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,532 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25741959" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,532 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 13:58:41,532 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 13:58:41,532 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:58:41,532 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:58:41,539 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "40582885" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,544 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "40582885" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,544 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:58:41,544 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:58:41,559 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26993212" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,568 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26993212" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,568 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 13:58:41,568 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:58:41,568 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:58:41,573 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12721713" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,579 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12721713" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,580 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (42424) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-08 13:58:41,580 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (42424) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-08 13:58:41,586 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7603787" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,631 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7603787" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,631 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') or concat(',', a.keyword,',') like concat('%', ?param2 ,'%') or concat(',', a.keyword,',') like concat('%', ?param3 ,'%') ) and b.ouno is null order by a.username]
2019-04-08 13:58:41,631 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') or concat(',', a.keyword,',') like concat('%', ?param2 ,'%') or concat(',', a.keyword,',') like concat('%', ?param3 ,'%') ) and b.ouno is null order by a.username]
2019-04-08 13:58:41,632 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9238], ?param1=[KeyWords[0],,2727,], ?param2=[KeyWords[1],,2731,], ?param3=[KeyWords[2],,2737,]]
2019-04-08 13:58:41,632 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String], ?param2=[String, System.String], ?param3=[String, System.String]]
2019-04-08 13:58:41,638 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42342174" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,773 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42342174" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,774 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (32075,19051,28661,69969,36883,37277,37718,69806,23457,31381,31444,30453,38533,38498,69544,37898,38564,16092,32527,71667,38932,70441,69805,42829,24126,202601,42889,31978,31439,37413,31752,31781,23621,23618,31785,16795,37879,36311,26881,32196,38300,31905,23622,23640,37768,37432,31789,32223,36037,37863,37741,23620,32128,7714,31906,22463,23623,23642,23643,37865,32015,13369,38017,38014,37653,23625,37792,37384,40917,38369,23790,23791,33492,37733,32084,69683,38270,31924,23792,37027,23793,31849,37483,38309,38234,38389,21088,37679,24001,70520,72850,24004,37664,46312,37720,37176,37390,37905,37817,38918,23797,23800,23802,38239,23827,38494,38697,7100,4752,23835,31926,32296,70259,37729,32307,37375,31848,23837,23838,23840,38427,36989,23841,38361,24019,23842,20487,24005,38301,38216,23798,23844,32022,23845,23898,39329,23899,23903,37992,31927,23905,32325,37658,37969,38057,23908,24011,23799,23910,23912,37098,38250,31564,43098,36178,23913,31928,22303,37979,23914,24013,37725,35385,23915,38376,21041,38436,69549,23916,31851,23918,24014,24018,23801,23920,23921,37696,6816,23922,23803,36081,23804,37937,23923,20965,23924,24020,71703,37901,37972,36660,23925,37911,23805,31460,23853,24022,23926,38299,1558,37677,45879,31486,23854,23859,32079,32080,23930,37482,23862,38503,37372,36129,38613,17768,38359,23932,23933,20964,38271,24050,1621,24051,23937,37376,32337,23866,32082,26530,36667,2814,38925,9479,37950,23940,23942,23867,37391,37935,23945,19748,31605,6844,37923,23868,23946,38589,38342,37192,23948,23949,37307,43730,31980,70171,32336,24055,23870,37388,37787,37989,23952,38004,33591,202597,38323,42033,36692,31453,8841,37973,23953,37497,23871,9286,37993,23996,20350,23872,31608,23954,23958,23873,18664,23959,38502,23960,37510,23877,4687,23878,37734,37681,24023,23961,32134,37646,23879,23962,23880,23964,23965,45965,38324,23968,31843,23881,21343,37955,23972,38828,23974,23975,23976,23883,15506,23979,23980,36033,32340,23884,37506,37433,23981,38240,23885,23886,23983,38420,23984,23887,37655,37644,38257,23985,37308,20666,31443,35776,37985,46921,36088,23889,37881,23986,32135,38532,23987,37437,43398,12453,67642,32140,23890,38405,37702,36015,31440,36899,23990,37283,23991,23989,38232,1224,43409,38852,37508,23891,38473,23892,23993,23893,36415,23994,71619,36090,23995,31612,23997,23894,72146,47086,202585,19735,37417,23998,43411,36805,39393,23999,23895,24002,38446,24003,24007,35770,24008,38534,37695,24009,24010,36058,24012,37194,38387,37638,32078,36141,32186,24015,36838,37930,23826,38026,35771,36717,24017,24021,23896,74576,7205,37827,38231,37713,24025,24026,23897,38272,37507,32188,37867,30115,37731,23988,24028,23846,32191,24029,37701,38308,24056,38368,37890,2218,37971,23900,39388,31441,38588,70334,36557,15874,37715,23901,24030,23902,38018,17033,69946,37732,71702,24031,37974,20612,24057,23904,35751,31977,38434,24032,37810,31930,24033,69955,24034,21195,32374,37968,23906,37815,39411,37947,37862,32194,35703,37820,48768,24035,35705,19320,24036,44586,24037,35706,37920,35707,35708,69996,23907,35738,23909,35747,38474,23911,24039,15860,36091,31929,24058,24040,24042,37721,35767,24043,23917,23919,37675,35766,38037,38247,24052,36050,20925,35765,37936,24053,33669,23927,35989,72535,37373,39391,24054,37654,23928,20913,24077,31376,4242,28984,31610,37896,24081,4411,24083,24103,23929,38406,38020,23931,38623,37676,20770,24104,31852,31611,31982,38422,38410,24105,38363,24107,23650,71630,37581,69880,24059,23934,23935,24060,37560,36018,23939,36092,70340,38504,37929,38019,71991,37671,36094,24112,36076,37910,23941,24113,38040,37414,21427,38599,38449,23943,36079,38445,38586,37666,23944,20953,38218,23950,37383,37861,24115,38433,38056,32005,23951,37401,37665,38310,24061,24116,23956,28435,36260,24117,24119,20460,24062,37054,37874,23963,24120,24121,23966,23982,24122,24123,20969,23967,38386,23969,38343,24063,23971,37931,24124,24125,37434,23973,23977,37678,20846,23978,38325,38260,24064,32077,32516) order by a.userno, a.cdt]
2019-04-08 13:58:41,775 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (32075,19051,28661,69969,36883,37277,37718,69806,23457,31381,31444,30453,38533,38498,69544,37898,38564,16092,32527,71667,38932,70441,69805,42829,24126,202601,42889,31978,31439,37413,31752,31781,23621,23618,31785,16795,37879,36311,26881,32196,38300,31905,23622,23640,37768,37432,31789,32223,36037,37863,37741,23620,32128,7714,31906,22463,23623,23642,23643,37865,32015,13369,38017,38014,37653,23625,37792,37384,40917,38369,23790,23791,33492,37733,32084,69683,38270,31924,23792,37027,23793,31849,37483,38309,38234,38389,21088,37679,24001,70520,72850,24004,37664,46312,37720,37176,37390,37905,37817,38918,23797,23800,23802,38239,23827,38494,38697,7100,4752,23835,31926,32296,70259,37729,32307,37375,31848,23837,23838,23840,38427,36989,23841,38361,24019,23842,20487,24005,38301,38216,23798,23844,32022,23845,23898,39329,23899,23903,37992,31927,23905,32325,37658,37969,38057,23908,24011,23799,23910,23912,37098,38250,31564,43098,36178,23913,31928,22303,37979,23914,24013,37725,35385,23915,38376,21041,38436,69549,23916,31851,23918,24014,24018,23801,23920,23921,37696,6816,23922,23803,36081,23804,37937,23923,20965,23924,24020,71703,37901,37972,36660,23925,37911,23805,31460,23853,24022,23926,38299,1558,37677,45879,31486,23854,23859,32079,32080,23930,37482,23862,38503,37372,36129,38613,17768,38359,23932,23933,20964,38271,24050,1621,24051,23937,37376,32337,23866,32082,26530,36667,2814,38925,9479,37950,23940,23942,23867,37391,37935,23945,19748,31605,6844,37923,23868,23946,38589,38342,37192,23948,23949,37307,43730,31980,70171,32336,24055,23870,37388,37787,37989,23952,38004,33591,202597,38323,42033,36692,31453,8841,37973,23953,37497,23871,9286,37993,23996,20350,23872,31608,23954,23958,23873,18664,23959,38502,23960,37510,23877,4687,23878,37734,37681,24023,23961,32134,37646,23879,23962,23880,23964,23965,45965,38324,23968,31843,23881,21343,37955,23972,38828,23974,23975,23976,23883,15506,23979,23980,36033,32340,23884,37506,37433,23981,38240,23885,23886,23983,38420,23984,23887,37655,37644,38257,23985,37308,20666,31443,35776,37985,46921,36088,23889,37881,23986,32135,38532,23987,37437,43398,12453,67642,32140,23890,38405,37702,36015,31440,36899,23990,37283,23991,23989,38232,1224,43409,38852,37508,23891,38473,23892,23993,23893,36415,23994,71619,36090,23995,31612,23997,23894,72146,47086,202585,19735,37417,23998,43411,36805,39393,23999,23895,24002,38446,24003,24007,35770,24008,38534,37695,24009,24010,36058,24012,37194,38387,37638,32078,36141,32186,24015,36838,37930,23826,38026,35771,36717,24017,24021,23896,74576,7205,37827,38231,37713,24025,24026,23897,38272,37507,32188,37867,30115,37731,23988,24028,23846,32191,24029,37701,38308,24056,38368,37890,2218,37971,23900,39388,31441,38588,70334,36557,15874,37715,23901,24030,23902,38018,17033,69946,37732,71702,24031,37974,20612,24057,23904,35751,31977,38434,24032,37810,31930,24033,69955,24034,21195,32374,37968,23906,37815,39411,37947,37862,32194,35703,37820,48768,24035,35705,19320,24036,44586,24037,35706,37920,35707,35708,69996,23907,35738,23909,35747,38474,23911,24039,15860,36091,31929,24058,24040,24042,37721,35767,24043,23917,23919,37675,35766,38037,38247,24052,36050,20925,35765,37936,24053,33669,23927,35989,72535,37373,39391,24054,37654,23928,20913,24077,31376,4242,28984,31610,37896,24081,4411,24083,24103,23929,38406,38020,23931,38623,37676,20770,24104,31852,31611,31982,38422,38410,24105,38363,24107,23650,71630,37581,69880,24059,23934,23935,24060,37560,36018,23939,36092,70340,38504,37929,38019,71991,37671,36094,24112,36076,37910,23941,24113,38040,37414,21427,38599,38449,23943,36079,38445,38586,37666,23944,20953,38218,23950,37383,37861,24115,38433,38056,32005,23951,37401,37665,38310,24061,24116,23956,28435,36260,24117,24119,20460,24062,37054,37874,23963,24120,24121,23966,23982,24122,24123,20969,23967,38386,23969,38343,24063,23971,37931,24124,24125,37434,23973,23977,37678,20846,23978,38325,38260,24064,32077,32516) order by a.userno, a.cdt]
2019-04-08 13:58:41,782 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42315065" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,918 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42315065" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,918 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 13:58:41,918 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 13:58:41,918 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 13:58:41,918 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:58:41,924 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "40010796" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:41,928 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "40010796" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:42,359 [7960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 13:58:42,359 [7960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9238]]
2019-04-08 13:58:42,359 [7960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-08 13:58:42,367 [7960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58832616" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:42,413 [7960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58832616" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:47,146 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuserstatus.change] PreparedStatement : [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 13:58:47,146 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuserstatus.change] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[Status,1], ?param3=[OUNo,23841]]
2019-04-08 13:58:47,146 [11364] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuserstatus.change] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int64, System.Int64]]
2019-04-08 13:58:47,152 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48538226" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:47,173 [11364] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48538226" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,463 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 13:58:49,463 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 13:58:49,463 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 13:58:49,469 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "45474525" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,473 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "45474525" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,473 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] PreparedStatement : [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 13:58:49,473 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:58:49,473 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.order] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:58:49,485 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "40129384" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,492 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "40129384" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,492 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 13:58:49,492 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 13:58:49,492 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:58:49,492 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:58:49,499 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55554523" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,505 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55554523" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,505 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:58:49,505 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 13:58:49,510 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24514033" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,519 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24514033" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,519 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] PreparedStatement : [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 13:58:49,519 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Parameters: [?param0=[ONo,9238]]
2019-04-08 13:58:49,519 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:58:49,526 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "3318059" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,540 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "3318059" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,540 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.comment] Prepared SQL: [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (42424) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-08 13:58:49,540 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orderuser.comment] PreparedStatement : [select a.BaseNo,b.Memo,a.CMTCount,b.MemoType,b.CDT from ( select a.BaseNo,max(a.CMTNo) CMTNo, count(a.cmtno) CMTCount from comments a where a.cmttype=1 and a.baseno in (42424) and a.isdeleted=0 group by a.BaseNo ) a inner join comments b on b.cmtno=a.cmtno]
2019-04-08 13:58:49,547 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13599604" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,590 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13599604" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,591 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.userfororder] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') or concat(',', a.keyword,',') like concat('%', ?param2 ,'%') or concat(',', a.keyword,',') like concat('%', ?param3 ,'%') ) and b.ouno is null order by a.username]
2019-04-08 13:58:49,591 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] PreparedStatement : [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.KeywordText,a.UDT,a.OpenTime from users a left outer join orderuser b on b.ono= ?param0 and b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.status=1 and a.isdeleted=0 and ( concat(',', a.keyword,',') like concat('%', ?param1 ,'%') or concat(',', a.keyword,',') like concat('%', ?param2 ,'%') or concat(',', a.keyword,',') like concat('%', ?param3 ,'%') ) and b.ouno is null order by a.username]
2019-04-08 13:58:49,591 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Parameters: [?param0=[ONo,9238], ?param1=[KeyWords[0],,2727,], ?param2=[KeyWords[1],,2731,], ?param3=[KeyWords[2],,2737,]]
2019-04-08 13:58:49,591 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.userfororder] Types: [?param0=[Int32, System.Int32], ?param1=[String, System.String], ?param2=[String, System.String], ?param3=[String, System.String]]
2019-04-08 13:58:49,597 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "15115666" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,731 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "15115666" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,732 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userschools] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (32075,19051,28661,69969,36883,37277,37718,69806,23457,31381,31444,30453,38533,38498,69544,37898,38564,16092,32527,71667,38932,70441,69805,42829,24126,202601,42889,31978,31439,37413,31752,31781,23621,23618,31785,16795,37879,36311,26881,32196,38300,31905,23622,23640,37768,37432,31789,32223,36037,37863,37741,23620,32128,7714,31906,22463,23623,23642,23643,37865,32015,13369,38017,38014,37653,23625,37792,37384,40917,38369,23790,23791,33492,37733,32084,69683,38270,31924,23792,37027,23793,31849,37483,38309,38234,38389,21088,37679,24001,70520,72850,24004,37664,46312,37720,37176,37390,37905,37817,38918,23797,23800,23802,38239,23827,38494,38697,7100,4752,23835,31926,32296,70259,37729,32307,37375,31848,23837,23838,23840,38427,36989,23841,38361,24019,23842,20487,24005,38301,38216,23798,23844,32022,23845,23898,39329,23899,23903,37992,31927,23905,32325,37658,37969,38057,23908,24011,23799,23910,23912,37098,38250,31564,43098,36178,23913,31928,22303,37979,23914,24013,37725,35385,23915,38376,21041,38436,69549,23916,31851,23918,24014,24018,23801,23920,23921,37696,6816,23922,23803,36081,23804,37937,23923,20965,23924,24020,71703,37901,37972,36660,23925,37911,23805,31460,23853,24022,23926,38299,1558,37677,45879,31486,23854,23859,32079,32080,23930,37482,23862,38503,37372,36129,38613,17768,38359,23932,23933,20964,38271,24050,1621,24051,23937,37376,32337,23866,32082,26530,36667,2814,38925,9479,37950,23940,23942,23867,37391,37935,23945,19748,31605,6844,37923,23868,23946,38589,38342,37192,23948,23949,37307,43730,31980,70171,32336,24055,23870,37388,37787,37989,23952,38004,33591,202597,38323,42033,36692,31453,8841,37973,23953,37497,23871,9286,37993,23996,20350,23872,31608,23954,23958,23873,18664,23959,38502,23960,37510,23877,4687,23878,37734,37681,24023,23961,32134,37646,23879,23962,23880,23964,23965,45965,38324,23968,31843,23881,21343,37955,23972,38828,23974,23975,23976,23883,15506,23979,23980,36033,32340,23884,37506,37433,23981,38240,23885,23886,23983,38420,23984,23887,37655,37644,38257,23985,37308,20666,31443,35776,37985,46921,36088,23889,37881,23986,32135,38532,23987,37437,43398,12453,67642,32140,23890,38405,37702,36015,31440,36899,23990,37283,23991,23989,38232,1224,43409,38852,37508,23891,38473,23892,23993,23893,36415,23994,71619,36090,23995,31612,23997,23894,72146,47086,202585,19735,37417,23998,43411,36805,39393,23999,23895,24002,38446,24003,24007,35770,24008,38534,37695,24009,24010,36058,24012,37194,38387,37638,32078,36141,32186,24015,36838,37930,23826,38026,35771,36717,24017,24021,23896,74576,7205,37827,38231,37713,24025,24026,23897,38272,37507,32188,37867,30115,37731,23988,24028,23846,32191,24029,37701,38308,24056,38368,37890,2218,37971,23900,39388,31441,38588,70334,36557,15874,37715,23901,24030,23902,38018,17033,69946,37732,71702,24031,37974,20612,24057,23904,35751,31977,38434,24032,37810,31930,24033,69955,24034,21195,32374,37968,23906,37815,39411,37947,37862,32194,35703,37820,48768,24035,35705,19320,24036,44586,24037,35706,37920,35707,35708,69996,23907,35738,23909,35747,38474,23911,24039,15860,36091,31929,24058,24040,24042,37721,35767,24043,23917,23919,37675,35766,38037,38247,24052,36050,20925,35765,37936,24053,33669,23927,35989,72535,37373,39391,24054,37654,23928,20913,24077,31376,4242,28984,31610,37896,24081,4411,24083,24103,23929,38406,38020,23931,38623,37676,20770,24104,31852,31611,31982,38422,38410,24105,38363,24107,23650,71630,37581,69880,24059,23934,23935,24060,37560,36018,23939,36092,70340,38504,37929,38019,71991,37671,36094,24112,36076,37910,23941,24113,38040,37414,21427,38599,38449,23943,36079,38445,38586,37666,23944,20953,38218,23950,37383,37861,24115,38433,38056,32005,23951,37401,37665,38310,24061,24116,23956,28435,36260,24117,24119,20460,24062,37054,37874,23963,24120,24121,23966,23982,24122,24123,20969,23967,38386,23969,38343,24063,23971,37931,24124,24125,37434,23973,23977,37678,20846,23978,38325,38260,24064,32077,32516) order by a.userno, a.cdt]
2019-04-08 13:58:49,732 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.userschools] PreparedStatement : [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast ,b.cname SName2 ,c.cname SGubunName from userschool a left outer join comcode b on b.ccode=a.scode left outer join comcode c on c.ccode=a.sgubun where a.isdeleted=0 and a.userno in (32075,19051,28661,69969,36883,37277,37718,69806,23457,31381,31444,30453,38533,38498,69544,37898,38564,16092,32527,71667,38932,70441,69805,42829,24126,202601,42889,31978,31439,37413,31752,31781,23621,23618,31785,16795,37879,36311,26881,32196,38300,31905,23622,23640,37768,37432,31789,32223,36037,37863,37741,23620,32128,7714,31906,22463,23623,23642,23643,37865,32015,13369,38017,38014,37653,23625,37792,37384,40917,38369,23790,23791,33492,37733,32084,69683,38270,31924,23792,37027,23793,31849,37483,38309,38234,38389,21088,37679,24001,70520,72850,24004,37664,46312,37720,37176,37390,37905,37817,38918,23797,23800,23802,38239,23827,38494,38697,7100,4752,23835,31926,32296,70259,37729,32307,37375,31848,23837,23838,23840,38427,36989,23841,38361,24019,23842,20487,24005,38301,38216,23798,23844,32022,23845,23898,39329,23899,23903,37992,31927,23905,32325,37658,37969,38057,23908,24011,23799,23910,23912,37098,38250,31564,43098,36178,23913,31928,22303,37979,23914,24013,37725,35385,23915,38376,21041,38436,69549,23916,31851,23918,24014,24018,23801,23920,23921,37696,6816,23922,23803,36081,23804,37937,23923,20965,23924,24020,71703,37901,37972,36660,23925,37911,23805,31460,23853,24022,23926,38299,1558,37677,45879,31486,23854,23859,32079,32080,23930,37482,23862,38503,37372,36129,38613,17768,38359,23932,23933,20964,38271,24050,1621,24051,23937,37376,32337,23866,32082,26530,36667,2814,38925,9479,37950,23940,23942,23867,37391,37935,23945,19748,31605,6844,37923,23868,23946,38589,38342,37192,23948,23949,37307,43730,31980,70171,32336,24055,23870,37388,37787,37989,23952,38004,33591,202597,38323,42033,36692,31453,8841,37973,23953,37497,23871,9286,37993,23996,20350,23872,31608,23954,23958,23873,18664,23959,38502,23960,37510,23877,4687,23878,37734,37681,24023,23961,32134,37646,23879,23962,23880,23964,23965,45965,38324,23968,31843,23881,21343,37955,23972,38828,23974,23975,23976,23883,15506,23979,23980,36033,32340,23884,37506,37433,23981,38240,23885,23886,23983,38420,23984,23887,37655,37644,38257,23985,37308,20666,31443,35776,37985,46921,36088,23889,37881,23986,32135,38532,23987,37437,43398,12453,67642,32140,23890,38405,37702,36015,31440,36899,23990,37283,23991,23989,38232,1224,43409,38852,37508,23891,38473,23892,23993,23893,36415,23994,71619,36090,23995,31612,23997,23894,72146,47086,202585,19735,37417,23998,43411,36805,39393,23999,23895,24002,38446,24003,24007,35770,24008,38534,37695,24009,24010,36058,24012,37194,38387,37638,32078,36141,32186,24015,36838,37930,23826,38026,35771,36717,24017,24021,23896,74576,7205,37827,38231,37713,24025,24026,23897,38272,37507,32188,37867,30115,37731,23988,24028,23846,32191,24029,37701,38308,24056,38368,37890,2218,37971,23900,39388,31441,38588,70334,36557,15874,37715,23901,24030,23902,38018,17033,69946,37732,71702,24031,37974,20612,24057,23904,35751,31977,38434,24032,37810,31930,24033,69955,24034,21195,32374,37968,23906,37815,39411,37947,37862,32194,35703,37820,48768,24035,35705,19320,24036,44586,24037,35706,37920,35707,35708,69996,23907,35738,23909,35747,38474,23911,24039,15860,36091,31929,24058,24040,24042,37721,35767,24043,23917,23919,37675,35766,38037,38247,24052,36050,20925,35765,37936,24053,33669,23927,35989,72535,37373,39391,24054,37654,23928,20913,24077,31376,4242,28984,31610,37896,24081,4411,24083,24103,23929,38406,38020,23931,38623,37676,20770,24104,31852,31611,31982,38422,38410,24105,38363,24107,23650,71630,37581,69880,24059,23934,23935,24060,37560,36018,23939,36092,70340,38504,37929,38019,71991,37671,36094,24112,36076,37910,23941,24113,38040,37414,21427,38599,38449,23943,36079,38445,38586,37666,23944,20953,38218,23950,37383,37861,24115,38433,38056,32005,23951,37401,37665,38310,24061,24116,23956,28435,36260,24117,24119,20460,24062,37054,37874,23963,24120,24121,23966,23982,24122,24123,20969,23967,38386,23969,38343,24063,23971,37931,24124,24125,37434,23973,23977,37678,20846,23978,38325,38260,24064,32077,32516) order by a.userno, a.cdt]
2019-04-08 13:58:49,738 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9763247" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,866 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9763247" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,866 [13276] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 13:58:49,866 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 13:58:49,866 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 13:58:49,866 [13276] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 13:58:49,873 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24569638" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:49,877 [13276] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24569638" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:50,224 [7960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] PreparedStatement : [select a.CMTNo,a.PCMTNo,a.TCMTNo,a.BaseNo,a.CDepth,a.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 13:58:50,224 [7960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Parameters: [?param0=[CMTType,0], ?param1=[BaseNo,9238]]
2019-04-08 13:58:50,224 [7960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.basecomments] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64]]
2019-04-08 13:58:50,233 [7960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2979981" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 13:58:50,282 [7960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2979981" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:35:48,092 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 14:35:48,104 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 14:35:48,106 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 14:35:48,107 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 14:35:48,107 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 14:35:48,107 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 14:35:48,107 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 14:35:48,107 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 14:35:48,107 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 14:35:48,108 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 14:35:48,108 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 14:35:48,108 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 14:35:48,108 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 14:35:48,109 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 14:35:48,109 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 14:35:48,110 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,111 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 14:35:48,111 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,124 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 14:35:48,124 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,125 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 14:35:48,126 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 14:35:48,126 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 14:35:48,126 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 14:35:48,126 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 14:35:48,126 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 14:35:48,128 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 14:35:48,129 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 14:35:48,129 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 14:35:48,129 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 14:35:48,129 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 14:35:48,129 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 14:35:48,134 [13536] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 14:35:48,135 [13536] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:35:48,135 [13536] 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.isdeleted=0]
2019-04-08 14:35:48,135 [13536] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 14:35:48,136 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 14:35:48,137 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 14:35:48,137 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 14:35:48,138 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 14:35:48,138 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 14:35:48,138 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 14:35:48,138 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,138 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 14:35:48,138 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 14:35:48,139 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 14:35:48,139 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 14:35:48,139 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 14:35:48,139 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 14:35:48,139 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 14:35:48,140 [13536] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 14:35:48,140 [13536] 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]
2019-04-08 14:35:48,141 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 14:35:48,141 [13536] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 14:35:48,141 [13536] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 14:35:48,142 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 14:35:48,142 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,142 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 14:35:48,142 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,143 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,143 [13536] 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]
2019-04-08 14:35:48,143 [13536] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 14:35:48,143 [13536] 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]
2019-04-08 14:35:48,143 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 14:35:48,143 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 14:35:48,144 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 14:35:48,144 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 14:35:48,144 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 14:35:48,144 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 14:35:48,145 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 14:35:48,145 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 14:35:48,145 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 14:35:48,145 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 14:35:48,145 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 14:35:48,146 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 14:35:48,147 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 14:35:48,147 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,149 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 14:35:48,149 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,149 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 14:35:48,150 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 14:35:48,150 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 14:35:48,150 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 14:35:48,150 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 14:35:48,151 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 14:35:48,151 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 14:35:48,152 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 14:35:48,153 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 14:35:48,153 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 14:35:48,153 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 14:35:48,153 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 14:35:48,153 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 14:35:48,154 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 14:35:48,154 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 14:35:48,155 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 14:35:48,155 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 14:35:48,155 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.hrorderusers] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.IVLocation,a.IVTime from orderuser a where b.outype < 3 and b.status in (1,2,4,5,9) and b.isdeleted=0 order by a.ono, a.cdt]
2019-04-08 14:35:48,155 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 14:35:48,157 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 14:35:48,157 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,158 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 14:35:48,158 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,158 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 14:35:48,159 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 14:35:48,159 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 14:35:48,159 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 14:35:48,159 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 14:35:48,159 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 14:35:48,159 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 14:35:48,159 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 14:35:48,159 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 14:35:48,159 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 14:35:48,159 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 14:35:48,159 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 14:35:48,161 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 14:35:48,161 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 14:35:48,162 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName,c.ClientName,a.ClientNo ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join client c on a.usertype=11 and c.clientno=a.clientno where a.userno= ?param0]
2019-04-08 14:35:48,163 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 14:35:48,163 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 14:35:48,163 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 14:35:48,163 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 14:35:48,163 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 14:35:48,163 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 14:35:48,163 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 14:35:48,164 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 14:35:48,165 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 14:35:48,166 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 14:35:48,168 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 14:35:48,168 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 14:35:48,168 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,168 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 14:35:48,170 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 14:35:48,170 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 14:35:48,170 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 14:35:48,170 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 14:35:48,170 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 14:35:48,171 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 14:35:48,171 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 14:35:48,171 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 14:35:48,171 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 14:35:48,172 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 14:35:48,172 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 14:35:48,172 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 14:35:48,173 [13536] 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]
2019-04-08 14:35:48,173 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 14:35:48,173 [13536] 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]
2019-04-08 14:35:48,174 [13536] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 14:35:48,174 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 14:35:48,174 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 14:35:48,175 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 14:35:48,175 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 14:35:48,176 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 14:35:48,176 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 14:35:48,176 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 14:35:48,190 [13536] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 14:35:48,192 [13536] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 14:35:48,200 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 14:35:48,200 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:35:48,377 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16885084" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:35:48,408 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16885084" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:35:48,411 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:35:48,411 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:35:48,411 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:35:48,417 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49995417" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:35:48,421 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49995417" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:35:48,442 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 14:35:48,442 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 14:35:48,442 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-08 14:35:48,442 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-08 14:35:48,447 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "24482722" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:35:48,487 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "24482722" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:35:48,487 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:35:48,487 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:35:48,493 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64267506" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:35:48,503 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64267506" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:35:48,503 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 14:35:48,503 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 14:35:48,508 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17722076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:35:48,528 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17722076" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:15,046 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:36:15,046 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:36:15,046 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:36:15,051 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12036987" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:15,054 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12036987" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:15,054 [16192] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 14:36:15,054 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 14:36:15,054 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-08 14:36:15,055 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-08 14:36:15,060 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42715336" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:15,089 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42715336" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:15,089 [16192] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:36:15,089 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:36:15,095 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36963566" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:15,102 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36963566" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:15,102 [16192] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 14:36:15,102 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 14:36:15,107 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25474675" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:15,129 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25474675" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:17,261 [17200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:36:17,261 [17200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:36:17,261 [17200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:36:17,301 [17200] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "2354822" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:17,321 [17200] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "2354822" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:17,325 [17200] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:36:17,325 [17200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:36:17,325 [17200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 14:36:17,325 [17200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:36:17,352 [17200] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "51380512" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:17,365 [17200] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "51380512" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:17,366 [17200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 14:36:17,366 [17200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,0]]
2019-04-08 14:36:17,366 [17200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:36:17,382 [17200] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9444403" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:17,399 [17200] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9444403" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:17,399 [17200] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:36:17,399 [17200] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:36:17,412 [17200] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "34783506" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:17,425 [17200] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "34783506" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:25,321 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.list] Prepared SQL: [select a.ClientNo, a.ClientName, a.CDT, case when AdminNo = ?param0 then 1 else 0 end IsMyClient from client a where a.isdeleted=0 and a.clientname like concat('%', ?param1 ,'%') order by a.clientname]
2019-04-08 14:36:25,321 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [client.list] PreparedStatement : [select a.ClientNo, a.ClientName, a.CDT, case when AdminNo = ?param0 then 1 else 0 end IsMyClient from client a where a.isdeleted=0 and a.clientname like concat('%', ?param1 ,'%') order by a.clientname]
2019-04-08 14:36:25,321 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [client.list] Parameters: [?param0=[AdminNo,1252], ?param1=[ClientNameLike,¿£ÇÇ]]
2019-04-08 14:36:25,321 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [client.list] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-08 14:36:25,325 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38937891" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:25,333 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38937891" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:27,005 [16192] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:36:27,005 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:36:27,006 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2679], ?param1=[UserType,11]]
2019-04-08 14:36:27,006 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-08 14:36:27,013 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "50874780" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:27,022 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "50874780" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:49,516 [6520] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:36:49,516 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:36:49,516 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 14:36:49,516 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:36:49,521 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65184306" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:49,524 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65184306" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:49,528 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.insert] PreparedStatement : [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 14:36:49,531 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.insert] Parameters: [?param0=[ClientNo,2679], ?param1=[UserNo,202607], ?param2=[OrderName,o1], ?param3=[Assign,148], ?param4=[IndustryIdx,152], ?param5=[Salary,0], ?param6=[Position,null], ?param7=[Premium,0], ?param8=[SalesGubun,1], ?param9=[Sales,0], ?param10=[PreSales,0], ?param11=[MiddleSales,0], ?param12=[RemainSales,0], ?param13=[StDate,2019-04-08 ¿ÀÀü 12:00:00], ?param14=[EndDate,null], ?param15=[FGNo,null], ?param16=[GoalDate,null], ?param17=[KeyWord,null], ?param18=[KeyWordText,null], ?param19=[OrderInfo,null], ?param20=[Progress,166], ?param21=[ProgressType,0], ?param22=[RecommanCount,2], ?param23=[IsLock,0], ?param24=[UNO,1252], ?param25=[UIP,127.0.0.1]]
2019-04-08 14:36:49,531 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.insert] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64], ?param2=[String, System.String], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[Double, System.Double], ?param6=[System.DBNull, null], ?param7=[Double, System.Double], ?param8=[Int32, System.Int32], ?param9=[Double, System.Double], ?param10=[Double, System.Double], ?param11=[Double, System.Double], ?param12=[Double, System.Double], ?param13=[DateTime, System.DateTime], ?param14=[System.DBNull, null], ?param15=[System.DBNull, null], ?param16=[System.DBNull, null], ?param17=[System.DBNull, null], ?param18=[System.DBNull, null], ?param19=[System.DBNull, null], ?param20=[Int32, System.Int32], ?param21=[Int32, System.Int32], ?param22=[Int32, System.Int32], ?param23=[Int32, System.Int32], ?param24=[Int64, System.Int64], ?param25=[String, System.String]]
2019-04-08 14:36:49,536 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16819706" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:49,564 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.insert.SelectKey] PreparedStatement : [SELECT LAST_INSERT_ID()]
2019-04-08 14:36:49,569 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16819706" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:49,573 [6520] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant.save] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, ?param0 ConsultantPremium, ?param1 ConsultantSales from orderconsultant a where a.ono= ?param2 and a.AdminNo= ?param3 and a.Gubun= ?param4 ) b on b.ocno=a.ocno set a.ConsultantPremium=b.ConsultantPremium , a.udt=now(), a.uno= ?param5 , a.uip= ?param6 where a.ONo= ?param2 ; insert into orderconsultant(ONo,AdminNo,ConsultantPremium,ConsultantSales,Gubun, CDT,CNO,UDT,UNO,UIP ) select ?param2 ,a.AdminNo,a.ConsultantPremium,a.ConsultantSales,a.Gubun, now(), ?param5 ,now(), ?param5 , ?param6 from ( select ?param3 AdminNo, ?param0 ConsultantPremium, ?param1 ConsultantSales, ?param4 Gubun ) a left outer join orderconsultant b on b.ono= ?param2 and b.adminno=a.adminno and b.gubun=a.gubun where ?param7 =0 and b.ocno is null]
2019-04-08 14:36:49,573 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] PreparedStatement : [update orderconsultant a inner join ( select a.ocno, ?param0 ConsultantPremium, ?param1 ConsultantSales from orderconsultant a where a.ono= ?param2 and a.AdminNo= ?param3 and a.Gubun= ?param4 ) b on b.ocno=a.ocno set a.ConsultantPremium=b.ConsultantPremium , a.udt=now(), a.uno= ?param5 , a.uip= ?param6 where a.ONo= ?param2 ; insert into orderconsultant(ONo,AdminNo,ConsultantPremium,ConsultantSales,Gubun, CDT,CNO,UDT,UNO,UIP ) select ?param2 ,a.AdminNo,a.ConsultantPremium,a.ConsultantSales,a.Gubun, now(), ?param5 ,now(), ?param5 , ?param6 from ( select ?param3 AdminNo, ?param0 ConsultantPremium, ?param1 ConsultantSales, ?param4 Gubun ) a left outer join orderconsultant b on b.ono= ?param2 and b.adminno=a.adminno and b.gubun=a.gubun where ?param7 =0 and b.ocno is null]
2019-04-08 14:36:49,575 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] Parameters: [?param0=[Consultants[0].ConsultantPremium,20], ?param1=[Consultants[0].ConsultantSales,0], ?param2=[ONo,9240], ?param3=[Consultants[0].AdminNo,1253], ?param4=[Consultants[0].Gubun,1], ?param5=[UNO,1252], ?param6=[UIP,127.0.0.1], ?param7=[IsLock,0]]
2019-04-08 14:36:49,575 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] Types: [?param0=[Double, System.Double], ?param1=[Double, System.Double], ?param2=[Int32, System.Int32], ?param3=[Int64, System.Int64], ?param4=[Int32, System.Int32], ?param5=[Int64, System.Int64], ?param6=[String, System.String], ?param7=[Int32, System.Int32]]
2019-04-08 14:36:49,579 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64682065" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:49,603 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64682065" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:49,603 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 14:36:49,603 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9240], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,3], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-08 14:36:49,603 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-08 14:36:49,608 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53291865" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:49,630 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53291865" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,177 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:36:50,178 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:36:50,178 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:36:50,190 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "28068188" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,205 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "28068188" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,205 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:36:50,205 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:36:50,205 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 14:36:50,205 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:36:50,216 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33163964" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,219 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33163964" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,220 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 14:36:50,220 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9240]]
2019-04-08 14:36:50,220 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:36:50,225 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36009496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,234 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36009496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,235 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:36:50,235 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:36:50,235 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9240]]
2019-04-08 14:36:50,235 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:36:50,239 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19634871" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,245 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19634871" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,245 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:36:50,245 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:36:50,245 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2679], ?param1=[UserType,11]]
2019-04-08 14:36:50,246 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-08 14:36:50,250 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "22584602" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,257 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "22584602" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,257 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 14:36:50,257 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9240]]
2019-04-08 14:36:50,257 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:36:50,261 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32903719" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,268 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32903719" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,268 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:36:50,268 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:36:50,272 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1669504" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:36:50,284 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1669504" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:21,404 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 14:37:21,405 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[IsOpenFront,1], ?param3=[FrontTitle,¿£ÇÇÅ×Å© °³¹ßŽÀå ä¿ëÀÇ °Ç], ?param4=[FrontContent,¡ÜÁ÷Ã¥
1
¡Ü¾÷¹«
2
¡Üä¿ëÁ¶°Ç3
], ?param5=[ONo,9240]]
2019-04-08 14:37:21,405 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[String, System.String], ?param4=[String, System.String], ?param5=[Int32, System.Int32]]
2019-04-08 14:37:21,413 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14011335" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:21,444 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14011335" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:21,448 [16192] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.inserttousertype] Prepared SQL: [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-08 14:37:21,448 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] PreparedStatement : [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-08 14:37:21,450 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Parameters: [?param0=[PMNo,null], ?param1=[SendUserGroup,0], ?param2=[MTitle,ȨÆäÀÌÁö °ø°í°¡ µî·ÏµÇ¾ú½À´Ï´Ù.], ?param3=[MContents,½Å±Ô ȨÆäÀÌÁö °ø°í [¿£ÇÇÅ×Å©/]°¡ µî·ÏµÇ¾ú½À´Ï´Ù. ÇÁ·ÎÁ§Æ® ¸ñ·ÏÀ» È®ÀÎÇØÁÖ¼¼¿ä.], ?param4=[FGNo,null], ?param5=[RefNo,null], ?param6=[RefDesc,], ?param7=[CNO,1252], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-08 14:37:21,450 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Types: [?param0=[System.DBNull, null], ?param1=[Int32, System.Int32], ?param2=[String, System.String], ?param3=[String, System.String], ?param4=[System.DBNull, null], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[Int64, System.Int64], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-08 14:37:21,454 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48657371" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:21,501 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48657371" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:21,501 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 14:37:21,501 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9240], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-08 14:37:21,501 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-08 14:37:21,506 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55492274" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:21,543 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55492274" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,091 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:37:22,091 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:37:22,091 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:37:22,096 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "11179623" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,099 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "11179623" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,099 [6520] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:37:22,099 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:37:22,099 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 14:37:22,099 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:37:22,104 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10868399" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,107 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10868399" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,107 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 14:37:22,107 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9240]]
2019-04-08 14:37:22,107 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:37:22,112 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58992577" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,119 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58992577" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,119 [6520] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:37:22,119 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:37:22,120 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9240]]
2019-04-08 14:37:22,120 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:37:22,124 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41777424" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,128 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41777424" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,128 [6520] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:37:22,128 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:37:22,128 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2679], ?param1=[UserType,11]]
2019-04-08 14:37:22,128 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-08 14:37:22,133 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65394900" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,142 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65394900" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,142 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 14:37:22,142 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9240]]
2019-04-08 14:37:22,142 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:37:22,148 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29665971" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,154 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29665971" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,154 [6520] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:37:22,154 [6520] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:37:22,159 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64793808" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:22,171 [6520] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64793808" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:36,174 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:37:36,174 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:37:36,174 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:37:36,182 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16384677" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:36,186 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16384677" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:36,186 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 14:37:36,186 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 14:37:36,187 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-08 14:37:36,187 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-08 14:37:36,192 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "64651675" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:36,242 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "64651675" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:36,242 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:37:36,242 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:37:36,246 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13815511" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:36,254 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13815511" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:36,254 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 14:37:36,254 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 14:37:36,258 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "5871419" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:36,301 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "5871419" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:37,144 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:37:37,144 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:37:37,144 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:37:37,150 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "13013706" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:37,155 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "13013706" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:37,155 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:37:37,155 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:37:37,155 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 14:37:37,155 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:37:37,160 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "63799903" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:37,163 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "63799903" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:37,163 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 14:37:37,163 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,0]]
2019-04-08 14:37:37,163 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:37:37,168 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "65659223" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:37,175 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "65659223" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:37,175 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:37:37,175 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:37:37,180 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7673584" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:37,192 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7673584" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:39,900 [16192] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.list] Prepared SQL: [select a.ClientNo, a.ClientName, a.CDT, case when AdminNo = ?param0 then 1 else 0 end IsMyClient from client a where a.isdeleted=0 and a.clientname like concat('%', ?param1 ,'%') order by a.clientname]
2019-04-08 14:37:39,900 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [client.list] PreparedStatement : [select a.ClientNo, a.ClientName, a.CDT, case when AdminNo = ?param0 then 1 else 0 end IsMyClient from client a where a.isdeleted=0 and a.clientname like concat('%', ?param1 ,'%') order by a.clientname]
2019-04-08 14:37:39,900 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [client.list] Parameters: [?param0=[AdminNo,1252], ?param1=[ClientNameLike,¿£ÇÇ]]
2019-04-08 14:37:39,900 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [client.list] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-08 14:37:39,905 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "42629054" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:39,912 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "42629054" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:41,182 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:37:41,182 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:37:41,182 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2679], ?param1=[UserType,11]]
2019-04-08 14:37:41,182 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-08 14:37:41,187 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "6518513" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:41,201 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "6518513" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:54,824 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:37:54,824 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:37:54,824 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 14:37:54,824 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:37:54,830 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "61492403" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:54,833 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "61492403" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:54,833 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.insert] PreparedStatement : [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 14:37:54,833 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.insert] Parameters: [?param0=[ClientNo,2679], ?param1=[UserNo,104911], ?param2=[OrderName,¤À2], ?param3=[Assign,148], ?param4=[IndustryIdx,153], ?param5=[Salary,0], ?param6=[Position,null], ?param7=[Premium,0], ?param8=[SalesGubun,1], ?param9=[Sales,0], ?param10=[PreSales,0], ?param11=[MiddleSales,0], ?param12=[RemainSales,0], ?param13=[StDate,2019-04-08 ¿ÀÀü 12:00:00], ?param14=[EndDate,null], ?param15=[FGNo,null], ?param16=[GoalDate,null], ?param17=[KeyWord,null], ?param18=[KeyWordText,null], ?param19=[OrderInfo,null], ?param20=[Progress,166], ?param21=[ProgressType,0], ?param22=[RecommanCount,2], ?param23=[IsLock,0], ?param24=[UNO,1252], ?param25=[UIP,127.0.0.1]]
2019-04-08 14:37:54,835 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.insert] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64], ?param2=[String, System.String], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[Double, System.Double], ?param6=[System.DBNull, null], ?param7=[Double, System.Double], ?param8=[Int32, System.Int32], ?param9=[Double, System.Double], ?param10=[Double, System.Double], ?param11=[Double, System.Double], ?param12=[Double, System.Double], ?param13=[DateTime, System.DateTime], ?param14=[System.DBNull, null], ?param15=[System.DBNull, null], ?param16=[System.DBNull, null], ?param17=[System.DBNull, null], ?param18=[System.DBNull, null], ?param19=[System.DBNull, null], ?param20=[Int32, System.Int32], ?param21=[Int32, System.Int32], ?param22=[Int32, System.Int32], ?param23=[Int32, System.Int32], ?param24=[Int64, System.Int64], ?param25=[String, System.String]]
2019-04-08 14:37:54,840 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38160580" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:54,875 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.insert.SelectKey] PreparedStatement : [SELECT LAST_INSERT_ID()]
2019-04-08 14:37:54,878 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38160580" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:54,878 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant.save] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, ?param0 ConsultantPremium, ?param1 ConsultantSales from orderconsultant a where a.ono= ?param2 and a.AdminNo= ?param3 and a.Gubun= ?param4 ) b on b.ocno=a.ocno set a.ConsultantPremium=b.ConsultantPremium , a.udt=now(), a.uno= ?param5 , a.uip= ?param6 where a.ONo= ?param2 ; insert into orderconsultant(ONo,AdminNo,ConsultantPremium,ConsultantSales,Gubun, CDT,CNO,UDT,UNO,UIP ) select ?param2 ,a.AdminNo,a.ConsultantPremium,a.ConsultantSales,a.Gubun, now(), ?param5 ,now(), ?param5 , ?param6 from ( select ?param3 AdminNo, ?param0 ConsultantPremium, ?param1 ConsultantSales, ?param4 Gubun ) a left outer join orderconsultant b on b.ono= ?param2 and b.adminno=a.adminno and b.gubun=a.gubun where ?param7 =0 and b.ocno is null]
2019-04-08 14:37:54,878 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] PreparedStatement : [update orderconsultant a inner join ( select a.ocno, ?param0 ConsultantPremium, ?param1 ConsultantSales from orderconsultant a where a.ono= ?param2 and a.AdminNo= ?param3 and a.Gubun= ?param4 ) b on b.ocno=a.ocno set a.ConsultantPremium=b.ConsultantPremium , a.udt=now(), a.uno= ?param5 , a.uip= ?param6 where a.ONo= ?param2 ; insert into orderconsultant(ONo,AdminNo,ConsultantPremium,ConsultantSales,Gubun, CDT,CNO,UDT,UNO,UIP ) select ?param2 ,a.AdminNo,a.ConsultantPremium,a.ConsultantSales,a.Gubun, now(), ?param5 ,now(), ?param5 , ?param6 from ( select ?param3 AdminNo, ?param0 ConsultantPremium, ?param1 ConsultantSales, ?param4 Gubun ) a left outer join orderconsultant b on b.ono= ?param2 and b.adminno=a.adminno and b.gubun=a.gubun where ?param7 =0 and b.ocno is null]
2019-04-08 14:37:54,878 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] Parameters: [?param0=[Consultants[0].ConsultantPremium,20], ?param1=[Consultants[0].ConsultantSales,0], ?param2=[ONo,9241], ?param3=[Consultants[0].AdminNo,1253], ?param4=[Consultants[0].Gubun,1], ?param5=[UNO,1252], ?param6=[UIP,127.0.0.1], ?param7=[IsLock,0]]
2019-04-08 14:37:54,878 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] Types: [?param0=[Double, System.Double], ?param1=[Double, System.Double], ?param2=[Int32, System.Int32], ?param3=[Int64, System.Int64], ?param4=[Int32, System.Int32], ?param5=[Int64, System.Int64], ?param6=[String, System.String], ?param7=[Int32, System.Int32]]
2019-04-08 14:37:55,048 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21079934" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,079 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21079934" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,079 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 14:37:55,087 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9241], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,3], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-08 14:37:55,087 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-08 14:37:55,092 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58970937" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,117 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58970937" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,669 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:37:55,669 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:37:55,669 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:37:55,674 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27177751" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,677 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27177751" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,677 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:37:55,677 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:37:55,677 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 14:37:55,677 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:37:55,682 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "56641426" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,685 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "56641426" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,685 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 14:37:55,685 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9241]]
2019-04-08 14:37:55,685 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:37:55,690 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "23966482" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,705 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "23966482" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,705 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:37:55,705 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:37:55,705 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9241]]
2019-04-08 14:37:55,705 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:37:55,710 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "33506938" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,714 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "33506938" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,714 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:37:55,714 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:37:55,714 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2679], ?param1=[UserType,11]]
2019-04-08 14:37:55,714 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-08 14:37:55,719 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31227247" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,726 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31227247" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,726 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 14:37:55,726 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9241]]
2019-04-08 14:37:55,726 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:37:55,730 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53740117" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,736 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53740117" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,736 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:37:55,736 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:37:55,741 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16020047" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:37:55,752 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16020047" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,571 [6492] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:38:00,571 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:38:00,571 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 14:38:00,571 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:38:00,576 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "46853828" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,579 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "46853828" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,579 [6492] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:38:00,579 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:38:00,579 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9241]]
2019-04-08 14:38:00,579 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:38:00,584 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25599999" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,588 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25599999" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,588 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 14:38:00,588 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[UserNo,104911], ?param3=[OrderName,¤À2], ?param4=[Assign,148], ?param5=[IndustryIdx,153], ?param6=[Salary,0], ?param7=[Position,null], ?param8=[Premium,0], ?param9=[SalesGubun,1], ?param10=[Sales,0], ?param11=[PreSales,0], ?param12=[MiddleSales,0], ?param13=[RemainSales,0], ?param14=[StDate,2019-04-08 ¿ÀÀü 12:00:00], ?param15=[EndDate,null], ?param16=[FGNo,null], ?param17=[GoalDate,null], ?param18=[KeyWord,null], ?param19=[KeyWordText,null], ?param20=[OrderInfo,¤·1
¤·2
], ?param21=[Progress,166], ?param22=[ProgressType,0], ?param23=[RecommanCount,2], ?param24=[IsLock,0], ?param25=[ONo,9241]]
2019-04-08 14:38:00,588 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int64, System.Int64], ?param3=[String, System.String], ?param4=[Int32, System.Int32], ?param5=[Int32, System.Int32], ?param6=[Double, System.Double], ?param7=[System.DBNull, null], ?param8=[Double, System.Double], ?param9=[Int32, System.Int32], ?param10=[Double, System.Double], ?param11=[Double, System.Double], ?param12=[Double, System.Double], ?param13=[Double, System.Double], ?param14=[DateTime, System.DateTime], ?param15=[System.DBNull, null], ?param16=[System.DBNull, null], ?param17=[System.DBNull, null], ?param18=[System.DBNull, null], ?param19=[System.DBNull, null], ?param20=[String, System.String], ?param21=[Int32, System.Int32], ?param22=[Int32, System.Int32], ?param23=[Int32, System.Int32], ?param24=[Int32, System.Int32], ?param25=[Int32, System.Int32]]
2019-04-08 14:38:00,596 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53387259" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,620 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53387259" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,620 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 14:38:00,620 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9241]]
2019-04-08 14:38:00,620 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:38:00,629 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47619832" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,636 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47619832" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,636 [6492] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant.delete] Prepared SQL: [delete a.* from orderconsultant a left outer join ( select a.ocno from orderconsultant a where a.ono= ?param0 and a.AdminNo= ?param1 and a.Gubun= ?param2 ) b on b.ocno=a.ocno where ?param3 = 0 and a.ono= ?param0 and b.ocno is null]
2019-04-08 14:38:00,636 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.delete] PreparedStatement : [delete a.* from orderconsultant a left outer join ( select a.ocno from orderconsultant a where a.ono= ?param0 and a.AdminNo= ?param1 and a.Gubun= ?param2 ) b on b.ocno=a.ocno where ?param3 = 0 and a.ono= ?param0 and b.ocno is null]
2019-04-08 14:38:00,636 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.delete] Parameters: [?param0=[ONo,9241], ?param1=[Consultants[0].AdminNo,1253], ?param2=[Consultants[0].Gubun,1], ?param3=[IsLock,0]]
2019-04-08 14:38:00,636 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.delete] Types: [?param0=[Int32, System.Int32], ?param1=[Int64, System.Int64], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32]]
2019-04-08 14:38:00,641 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1420022" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,644 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1420022" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,644 [6492] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant.save] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, ?param0 ConsultantPremium, ?param1 ConsultantSales from orderconsultant a where a.ono= ?param2 and a.AdminNo= ?param3 and a.Gubun= ?param4 ) b on b.ocno=a.ocno set a.ConsultantPremium=b.ConsultantPremium , a.udt=now(), a.uno= ?param5 , a.uip= ?param6 where a.ONo= ?param2 ; insert into orderconsultant(ONo,AdminNo,ConsultantPremium,ConsultantSales,Gubun, CDT,CNO,UDT,UNO,UIP ) select ?param2 ,a.AdminNo,a.ConsultantPremium,a.ConsultantSales,a.Gubun, now(), ?param5 ,now(), ?param5 , ?param6 from ( select ?param3 AdminNo, ?param0 ConsultantPremium, ?param1 ConsultantSales, ?param4 Gubun ) a left outer join orderconsultant b on b.ono= ?param2 and b.adminno=a.adminno and b.gubun=a.gubun where ?param7 =0 and b.ocno is null]
2019-04-08 14:38:00,644 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] PreparedStatement : [update orderconsultant a inner join ( select a.ocno, ?param0 ConsultantPremium, ?param1 ConsultantSales from orderconsultant a where a.ono= ?param2 and a.AdminNo= ?param3 and a.Gubun= ?param4 ) b on b.ocno=a.ocno set a.ConsultantPremium=b.ConsultantPremium , a.udt=now(), a.uno= ?param5 , a.uip= ?param6 where a.ONo= ?param2 ; insert into orderconsultant(ONo,AdminNo,ConsultantPremium,ConsultantSales,Gubun, CDT,CNO,UDT,UNO,UIP ) select ?param2 ,a.AdminNo,a.ConsultantPremium,a.ConsultantSales,a.Gubun, now(), ?param5 ,now(), ?param5 , ?param6 from ( select ?param3 AdminNo, ?param0 ConsultantPremium, ?param1 ConsultantSales, ?param4 Gubun ) a left outer join orderconsultant b on b.ono= ?param2 and b.adminno=a.adminno and b.gubun=a.gubun where ?param7 =0 and b.ocno is null]
2019-04-08 14:38:00,644 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] Parameters: [?param0=[Consultants[0].ConsultantPremium,20], ?param1=[Consultants[0].ConsultantSales,0], ?param2=[ONo,9241], ?param3=[Consultants[0].AdminNo,1253], ?param4=[Consultants[0].Gubun,1], ?param5=[UNO,1252], ?param6=[UIP,127.0.0.1], ?param7=[IsLock,0]]
2019-04-08 14:38:00,644 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant.save] Types: [?param0=[Double, System.Double], ?param1=[Double, System.Double], ?param2=[Int32, System.Int32], ?param3=[Int64, System.Int64], ?param4=[Int32, System.Int32], ?param5=[Int64, System.Int64], ?param6=[String, System.String], ?param7=[Int32, System.Int32]]
2019-04-08 14:38:00,649 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "25192566" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,684 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "25192566" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,684 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 14:38:00,684 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9241], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-08 14:38:00,684 [6492] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-08 14:38:00,688 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26904055" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:00,711 [6492] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26904055" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,242 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:38:01,242 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:38:01,242 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:38:01,247 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "17082148" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,250 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "17082148" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,250 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:38:01,250 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:38:01,250 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 14:38:01,250 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:38:01,255 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31718903" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,258 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31718903" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,258 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 14:38:01,258 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9241]]
2019-04-08 14:38:01,258 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:38:01,263 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "10722382" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,270 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "10722382" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,270 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:38:01,270 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:38:01,270 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9241]]
2019-04-08 14:38:01,270 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:38:01,275 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "55634702" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,278 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "55634702" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,278 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:38:01,278 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:38:01,278 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2679], ?param1=[UserType,11]]
2019-04-08 14:38:01,278 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-08 14:38:01,298 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "41745883" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,305 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "41745883" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,305 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 14:38:01,305 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9241]]
2019-04-08 14:38:01,305 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:38:01,309 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "32282393" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,315 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "32282393" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,315 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:38:01,315 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:38:01,319 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38333420" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:01,330 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38333420" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:21,921 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] PreparedStatement : [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 14:38:21,921 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[IsOpenFront,1], ?param3=[FrontTitle,¿£ÇÇÅ×Å© À¯Áöº¸¼ö ´ã´çÀÚ Ã¤¿äÀÇ °Ç], ?param4=[FrontContent,¡ÜÁ÷Ã¥
2
¡Ü¾÷¹«
2
¡Üä¿ëÁ¶°Ç2
], ?param5=[ONo,9241]]
2019-04-08 14:38:21,921 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order.update2] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[String, System.String], ?param4=[String, System.String], ?param5=[Int32, System.Int32]]
2019-04-08 14:38:21,926 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29947367" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:21,958 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29947367" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:21,958 [13536] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.inserttousertype] Prepared SQL: [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-08 14:38:21,958 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] PreparedStatement : [insert into memo (PMNo,SendUserGroup,MTitle,MContents,FGNo,IsDeleted,refno,refdesc, CDT,CNO,UDT,UNO,UIP ) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 ,0, ?param5 , ?param6 , now() , ?param7 , now() , ?param8 , ?param9 ); insert into memouser (MNo,UserNo,RCVUserGroup,IsRead,IsDeleted, CDT,CNO,UDT,UNO,UIP ) select LAST_INSERT_ID(),adminno,0,0,0, now() , ?param7 , now() , ?param8 , ?param9 from admin where usertype in (34) and status=1]
2019-04-08 14:38:21,958 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Parameters: [?param0=[PMNo,null], ?param1=[SendUserGroup,0], ?param2=[MTitle,ȨÆäÀÌÁö °ø°í°¡ µî·ÏµÇ¾ú½À´Ï´Ù.], ?param3=[MContents,½Å±Ô ȨÆäÀÌÁö °ø°í [¿£ÇÇÅ×Å©/]°¡ µî·ÏµÇ¾ú½À´Ï´Ù. ÇÁ·ÎÁ§Æ® ¸ñ·ÏÀ» È®ÀÎÇØÁÖ¼¼¿ä.], ?param4=[FGNo,null], ?param5=[RefNo,null], ?param6=[RefDesc,], ?param7=[CNO,1252], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-08 14:38:21,958 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.memo.inserttousertype] Types: [?param0=[System.DBNull, null], ?param1=[Int32, System.Int32], ?param2=[String, System.String], ?param3=[String, System.String], ?param4=[System.DBNull, null], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[Int64, System.Int64], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-08 14:38:21,963 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19882505" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,007 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19882505" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,007 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] PreparedStatement : [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 14:38:22,008 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Parameters: [?param0=[BaseNo,9241], ?param1=[BaseNo2,null], ?param2=[FileNo,null], ?param3=[LogType,1], ?param4=[LogActivity,1], ?param5=[LogInfo,null], ?param6=[Log1,|], ?param7=[Log2,|], ?param8=[UNO,1252], ?param9=[UIP,127.0.0.1]]
2019-04-08 14:38:22,008 [13536] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.activitylog.set] Types: [?param0=[Int64, System.Int64], ?param1=[System.DBNull, null], ?param2=[System.DBNull, null], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[System.DBNull, null], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[Int64, System.Int64], ?param9=[String, System.String]]
2019-04-08 14:38:22,013 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9876374" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,036 [13536] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9876374" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,579 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:38:22,579 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:38:22,579 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:38:22,589 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "646704" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,596 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "646704" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,596 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.config] Prepared SQL: [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:38:22,596 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] PreparedStatement : [select ConfigNo,ProjectModify,FinalResumeCount from systemconfig where configno= ?param0 order by configno]
2019-04-08 14:38:22,596 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Parameters: [?param0=[ConfigNo,1]]
2019-04-08 14:38:22,596 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.config] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:38:22,600 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31688539" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,859 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31688539" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,859 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] PreparedStatement : [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 14:38:22,859 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Parameters: [?param0=[ONo,9241]]
2019-04-08 14:38:22,859 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.order] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:38:22,864 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9234571" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,873 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9234571" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,873 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderconsultant] Prepared SQL: [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:38:22,873 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] PreparedStatement : [select a.OCNo, a.ONo, a.AdminNo, a.ConsultantPremium, a.ConsultantSales, a.Gubun , b.UserName AdminName from orderconsultant a inner join admin b on b.adminno=a.adminno where a.ono= ?param0]
2019-04-08 14:38:22,873 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Parameters: [?param0=[ONo,9241]]
2019-04-08 14:38:22,874 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.orderconsultant] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:38:22,879 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49840803" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,884 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49840803" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,884 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users] Prepared SQL: [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:38:22,884 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] PreparedStatement : [select * from ( select a.UserNo, a.UserType, a.Department, a.UserPosition, a.UserName,a.RCVES , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) UserId , CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!' ) AS char) Email , CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!' ) AS char) TelNo , CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!' ) AS char) ComTelno , CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!' ) AS char) Mobile , a.ClientNo, b.ClientName , a.Status, a.UDT, a.CDT , row_number() over(order by a.username) RNO , count(a.userno) over() PageTotalCount , a.UserNo Value, a.UserName Text, '' Value2 from users a left outer join client b on b.clientno=a.clientno where a.isdeleted=0 and a.clientno= ?param0 and a.usertype= ?param1 ) a order by RNO]
2019-04-08 14:38:22,885 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Parameters: [?param0=[ClientNo,2679], ?param1=[UserType,11]]
2019-04-08 14:38:22,885 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [cl.users] Types: [?param0=[Int32, System.Int32], ?param1=[Int32, System.Int32]]
2019-04-08 14:38:22,890 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "26280264" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,899 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "26280264" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,900 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] PreparedStatement : [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 14:38:22,900 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Parameters: [?param0=[ONo,9241]]
2019-04-08 14:38:22,900 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [users.adminsfororder] Types: [?param0=[Int32, System.Int32]]
2019-04-08 14:38:22,909 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "12664542" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,918 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "12664542" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,918 [4420] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:38:22,918 [4420] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderAssign','Industry','OrderPosition','OrderKeyword','OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:38:22,930 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16582792" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:38:22,949 [4420] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16582792" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:11,670 [7824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:40:11,670 [7824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:40:11,670 [7824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:40:11,676 [7824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19729993" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:11,680 [7824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19729993" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:11,680 [7824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 14:40:11,681 [7824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 14:40:11,681 [7824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-08 14:40:11,681 [7824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-08 14:40:11,687 [7824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31003405" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:11,739 [7824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31003405" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:11,739 [7824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:40:11,739 [7824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:40:11,744 [7824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "48656087" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:11,751 [7824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "48656087" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:11,751 [7824] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 14:40:11,751 [7824] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 14:40:11,755 [7824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62233440" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:11,798 [7824] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62233440" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:12,987 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 14:40:12,987 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 14:40:12,987 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 14:40:12,993 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "4898379" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:12,996 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "4898379" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:12,996 [16192] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 14:40:12,997 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 14:40:12,997 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-08 14:40:12,997 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-08 14:40:13,001 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "47022312" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:13,056 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "47022312" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:13,056 [16192] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:40:13,056 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 14:40:13,061 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62103957" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:13,068 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62103957" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:13,068 [16192] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordercounting] Prepared SQL: [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 14:40:13,068 [16192] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.ordercounting] PreparedStatement : [select concat(sum(case when a.progresstype in (0,2) then 1 else 0 end) ,':',sum(case when a.progresstype=1 then 1 else 0 end) ,':',sum(case when a.progresstype=3 then 1 else 0 end) ,':',count(a.progresstype)) from ( select distinct a.ONo, a.progresstype from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' ) a]
2019-04-08 14:40:13,073 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16145044" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 14:40:13,116 [16192] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16145044" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:18,881 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminlogin] Prepared SQL: [select AdminNo UserNo,a.UserName,a.IsTeamManage,a.Status,a.Security, a.UserPass, a.RetireDate, UserType from admin a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0]
2019-04-08 15:01:18,887 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.adminsfororder] Prepared SQL: [select a.AdminNo UserNo, a.UserName, a.AdminNo Value, a.UserName Text, '' Value2 from admin a where a.status=1 or a.adminno in (select distinct adminno from orderconsultant where ono= ?param0 ) order by a.Sort]
2019-04-08 15:01:18,888 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userresumes] Prepared SQL: [select 0 ResumeType,a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3,null LangTestIdx,null Score,null ApplyYear,null ApplyMonth,null CertificationIdx,null CertificationName,null Organization ,null CompanyName,null IndustryIdx,null Status,null Department,null Position,null StYear,null StMonth,null EndYear,null EndMonth,null OccupationIdx,null CareerInfo ,null UserName, null UserType,null CDT ,b.cname ZString0, null ZString1, null ZString2, null ZString3, null ZString4 ,null CompNo ,0 Seq2, 0 Seq3 from userlang a inner join comcode b on b.ccode=a.langidx where a.userno= ?param0 and a.isdeleted=0 union all select 1 ResumeType,a.UserNo,a.SeqNo,0,null,null,null,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,b.cname,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from userlangtest a inner join comcode b on b.ccode=a.langtestidx where a.userno= ?param0 and a.isdeleted=0 union all select 2 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,ApplyYear,ApplyMonth,CertificationIdx,CertificationName,Organization ,null,null,null,null,null,null,null,null,null,null,null ,null,null,null ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from usercert where userno= ?param0 and isdeleted=0 union all select 3 ResumeType,UserNo,SeqNo,null,null,null,null,null,null,null,null,null,null,null ,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo ,null,null,null ,b.cname,c.cname,null,null,null ,a.CompNo ,case when a.status='ÀçÁ÷Áß' then 9999 else a.EndYear end Seq2, a.StYear Seq3 from usercareer a left outer join comcode b on b.ccode=a.industryidx left outer join comcode c on c.ccode=a.occupationidx where userno= ?param0 and isdeleted=0 union all select 9 ResumeType,UserNo,null,null,null,null,null,null,null,null,null,null,null,null ,null,null,null,null,null,null,null,null,null,null,null ,UserName,UserType,CDT ,null,null,null,null,null ,null CompNo ,0 Seq2, 0 Seq3 from users where unionuserno= ?param0 and isdeleted=0 and status=7 order by ResumeType,Seq2 desc, Seq3 Desc,SeqNo]
2019-04-08 15:01:18,888 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.userview] Prepared SQL: [select a.UserNo,a.UserType,a.FGNo,a.FGNoProfile,a.UserName,a.Status,a.Sex,a.Birth,a.Post,a.Address1,a.Address2,a.CAdminNo,a.CDT,a.UDT,a.CareerKeyword,a.CompanyName,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.DBSrc ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,b.OrgName,b.FileUrl ,c.UserName CAdminName ,d.cname SalaryName ,e.cname OccupationName ,f.cname IndustryName from users a left outer join fileinfo b on a.fgnoprofile is not null and b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join admin c on a.cadminno is not null and c.adminno=a.cadminno left outer join comcode d on a.salaryidx is not null and d.ccode=a.salaryidx left outer join comcode e on a.OccupationIdx is not null and e.ccode=a.OccupationIdx left outer join comcode f on a.IndustryIdx is not null and f.ccode=a.IndustryIdx where a.userno= ?param0]
2019-04-08 15:01:18,888 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.usersimple] Prepared SQL: [select UserNo,UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where userno= ?param0]
2019-04-08 15:01:18,889 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.get335] Prepared SQL: [update users set send335time=now() where usertype in (3,11) and status=1 and isdeleted=0 and date_add(logintime, interval 335 day) < now() and send335time is null; select a.UserName,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) Email from users a where a.usertype in (3,11) and a.status=1 and a.isdeleted=0 and date_add(a.logintime, interval 335 day) < now() and date_format(a.send335time,'%Y%m%d')=date_format(now(),'%Y%m%d')]
2019-04-08 15:01:18,889 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.userlogin] Prepared SQL: [update users set logintime=now(),send335time=null where CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char)= ?param0 and UserPass= ?param1 and isdeleted=0; select a.UserNo,a.UserName,a.Status,UserType from users a where CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char)= ?param0 and (UserPass= ?param1 or ?param1 is null)]
2019-04-08 15:01:18,889 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwuser] Prepared SQL: [select UserNo ,CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char) UserId ,UserName ,UserType from users where userno= ?param0 and pwcallno= ?param1 and pwcalltime is not null and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 15:01:18,889 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career] Prepared SQL: [select a.UserNo,a.SeqNo,a.CompNo,a.CompanyName,a.IndustryIdx,a.Status,a.Department,a.Position,a.StYear,a.StMonth,a.EndYear,a.EndMonth,a.OccupationIdx,a.CareerInfo from usercareer a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 15:01:18,889 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school] Prepared SQL: [select a.UserNo,a.SeqNo,a.SGubun,a.SCode,a.SName,a.SSubjectIdx,a.SchoolSubjectName,a.SchoolMajorName,a.SchoolStYear,a.SchoolStMonth,a.SchoolEndYear,a.SchoolEndMonth,a.SchoolEntType,a.SchoolGraduateType,a.IsAbroad,a.IsLast from userschool a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 15:01:18,889 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangIdx,a.Level1,a.Level2,a.Level3 from userlang a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 15:01:18,890 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest] Prepared SQL: [select a.UserNo,a.SeqNo,a.LangTestIdx,a.Score,a.ApplyYear,a.ApplyMonth from userlangtest a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 15:01:18,890 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert] Prepared SQL: [select a.UserNo,a.SeqNo,a.CertificationIdx,a.CertificationName,a.Organization,a.ApplyYear,a.ApplyMonth from usercert a where userno= ?param0 and seqno= ?param1 and isdeleted=0]
2019-04-08 15:01:18,890 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.loginlog] Prepared SQL: [insert into loginlog (adminno, loginstatus, logindata, CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 15:01:18,890 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert] Prepared SQL: [insert into users(ClientNo,UserGroup,UserType,UserId,UserPass ,UserName,Mobile,TelNo,IsSpecial,IsBlackList ,DBSrc,CareerIdx,Department,UserPosition,RCVES ,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 ,1, ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')), ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')),HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')),0,0 ,0,99, ?param7 , ?param8 , ?param9 , ?param10 ,0,now(), ?param11 ,now(), ?param11 , ?param12 );]
2019-04-08 15:01:18,891 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [user.clientuser.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,891 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert] Prepared SQL: [insert into users (UserGroup,UserType ,UserId ,UserPass,UserName,CompNo,CompanyName,Birth,Sex ,Mobile,TelNo,ComTelno,ForeignTelno ,Post,Address1,Address2,IsSpecial,IsBlackList,BLText,BLDate,AdminNo,CAdminNo,DBSrc ,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department,UserPosition,RCVES,Status,LoginTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,HEX(AES_ENCRYPT( ?param2 , 'N_P123@!')) , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param11 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param12 , 'N_P123@!')) , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,case when ?param17 = 1 then now() else null end, ?param19 , ?param20 , ?param21 , ?param22 , ?param23 , ?param24 , ?param25 , ?param26 , ?param27 , ?param28 , ?param29 , ?param30 , ?param31 , ?param32 , ?param33 , ?param34 , ?param35 , ?param36 ,now(),0,now(), ?param37 ,now(), ?param37 , ?param38 );]
2019-04-08 15:01:18,892 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,895 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup] Prepared SQL: [insert into usersu (UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,CDT,CNO,UDT,UNO,UIP) select UserNo,ClientNo,UserGroup,UserType,UserId,UserIdLast,UserPass,UserName,CompanyName,Birth,Sex,Mobile,TelNo,ComTelno,ForeignTelno,Post,Address1,Address2,IsSpecial,IsBlackList,BLText ,BLDate,ResumeKindName,AdminNo,CAdminNo,DBSrc,Keyword,KeywordText,CareerKeyword,CareerIdx,SalaryIdx,OccupationIdx,IndustryIdx,CareerInfoText,CareerInfoText2,FGNo,FGNoProfile,Department ,UserPosition,RCVES,Status,ResumeIdx,ClientHRIdx,ClientTAXIdx,ClientIdx,UnionUserNo,UnionTime,UnionAdminNo,LoginTime,OpenTime,IsDeleted,DeletedInfo ,now(), ?param0 ,udt,uno, ?param1 from users where userno= ?param2]
2019-04-08 15:01:18,895 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.backup.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,896 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resume.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 ; insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 ; insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 ; insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 ; insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 ; delete from userschool where userno= ?param2 ; delete from userlang where userno= ?param2 ; delete from userlangtest where userno= ?param2 ; delete from usercert where userno= ?param2 ; delete from usercareer where userno= ?param2 ;]
2019-04-08 15:01:18,896 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,useridlast=userid,status=9,isdeleted=1,deletedinfo=HEX(AES_ENCRYPT(concat( ifnull(CAST(AES_DECRYPT(UNHEX(userid), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(mobile), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(telno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(comtelno), 'N_P123@!') AS char),''),',', ifnull(CAST(AES_DECRYPT(UNHEX(foreigntelno), 'N_P123@!') AS char),'')), 'N_P123@!')) where userno= ?param2]
2019-04-08 15:01:18,896 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.join] Prepared SQL: [insert into users(UserGroup,UserType,UserId,UserPass,UserName,IsSpecial,IsBlackList,DBSrc,CareerIdx,RCVES,Status,logintime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values(0,3,HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')), ?param1 , ?param2 ,0,0,2,99,'11',1,now(),IsDeleted,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 15:01:18,896 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.pwcalltime] Prepared SQL: [update users set pwcalltime=now(),pwcallno= ?param0 where userno= ?param1]
2019-04-08 15:01:18,896 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.resetuser] Prepared SQL: [update users set userpass= ?param0 , pwcalltime=null,pwcallno=null where userno= ?param1 and pwcalltime is not null and pwcallno= ?param2 and date_add(pwcalltime, interval 24 hour) > now()]
2019-04-08 15:01:18,897 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.profileclear] Prepared SQL: [update fileinfo a inner join users b on b.userno= ?param0 and b.fgnoprofile=a.fgno set a.isdeleted=1]
2019-04-08 15:01:18,898 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.career.delete] Prepared SQL: [insert into usercareerd (UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CompanyName,IndustryIdx,Status,Department,Position,StYear,StMonth,EndYear,EndMonth,OccupationIdx,CareerInfo,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercareer where userno= ?param2 and seqno= ?param3 ; delete from usercareer where userno= ?param2 and seqno= ?param3]
2019-04-08 15:01:18,898 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.delete] Prepared SQL: [insert into userschoold (UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,SGubun,SCode,SName,SSubjectIdx,SchoolSubjectName,SchoolMajorName,SchoolStYear,SchoolStMonth,SchoolEndYear,SchoolEndMonth,SchoolEntType,SchoolGraduateType,IsAbroad,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userschool where userno= ?param2 and seqno= ?param3 ; delete from userschool where userno= ?param2 and seqno= ?param3]
2019-04-08 15:01:18,898 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.lang.delete] Prepared SQL: [insert into userlangd (UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangIdx,Level1,Level2,Level3,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlang where userno= ?param2 and seqno= ?param3 ; delete from userlang where userno= ?param2 and seqno= ?param3]
2019-04-08 15:01:18,898 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.langtest.delete] Prepared SQL: [insert into userlangtestd (UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,LangTestIdx,Score,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from userlangtest where userno= ?param2 and seqno= ?param3 ; delete from userlangtest where userno= ?param2 and seqno= ?param3]
2019-04-08 15:01:18,898 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.cert.delete] Prepared SQL: [insert into usercertd (UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,cdt,cno,udt,uno,uip) select UserNo,SeqNo,CertificationIdx,CertificationName,Organization,ApplyYear,ApplyMonth,IsDeleted,OldIdx,ResumeIdx,now(), ?param0 ,udt,uno, ?param1 from usercert where userno= ?param2 and seqno= ?param3 ; delete from usercert where userno= ?param2 and seqno= ?param3]
2019-04-08 15:01:18,898 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [users.school.lastclear] Prepared SQL: [update userschool set islast=0 where userno= ?param0]
2019-04-08 15:01:18,901 [2960] 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.UserNo,a.Memo,a.MemoType,a.FGNo,a.CDT,a.UDT, a.IsDeleted,a.CNO , u.UserName , b.OrgName, b.FileUrl, b.FileNo from comments a left outer join admin u on u.adminno=a.userno left outer join fileinfo b on b.fgno=a.fgno and b.isdeleted=0 where a.cmttype= ?param0 and a.baseno= ?param1 order by a.cdt]
2019-04-08 15:01:18,902 [2960] 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 a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 15:01:18,902 [2960] 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.isdeleted=0]
2019-04-08 15:01:18,902 [2960] 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.isdeleted=0 group by a.SendNo,a.RCVs,a.ETitle,a.Sendeds]
2019-04-08 15:01:18,903 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.search] Prepared SQL: [select 0 IntV1,a.* from ( select a.ClientNo FileNo,a.ClientName ZString0,a.ClientNameEng ZString1,b.cname ZString2,null ZString3,null ZString4 ,a.clientgubun IntV2,a.clientscale IntV3 ,0 DblV1,0 DblV2,0 DblV3 ,null Date1, null Date2 ,a.CDT,a.UDT from client a left outer join comcode b on b.ccode=a.industryidx where a.clientname like concat('%', ?param0 ,'%') or a.clientnameeng like concat('%', ?param0 ,'%') order by a.udt desc limit 5 ) a union select 1,a.* from ( select distinct a.* from ( select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2 ,group_concat(case when d.gubun=1 then d2.username else null end) ZString3 ,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from orders a inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where a.isdeleted=0 and (a.ordername like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%')) group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from client b inner join orders a on a.clientno=b.clientno and a.isdeleted=0 inner join comcode c on c.ccode=a.progress inner join orderconsultant d on d.ono=a.ono inner join admin d2 on d2.adminno=d.adminno where b.clientname like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a union select a.* from ( select a.ono FileNo,b.ClientName ZString0,a.OrderName ZString1,c.cname ZString2,group_concat(case when d.gubun=1 then d2.username else null end) ZString3,group_concat(case when d.gubun=0 then d2.username else null end separator ', ') ZString4 ,0 IntV2,0 IntV3 ,a.Salary DblV1 ,a.Premium DblV2 ,case when a.salesgubun=1 then a.sales else a.presales+a.middlesales+a.remainsales end DblV3 ,a.StDate Date1,a.ProgressDate Date2 ,a.CDT,a.UDT from admin d2 inner join orderconsultant d on d.adminno=d2.adminno inner join orders a on a.ono=d.ono and a.isdeleted=0 inner join client b on b.clientno=a.clientno inner join comcode c on c.ccode=a.progress where d2.status=1 and d2.username like concat('%', ?param0 ,'%') group by b.clientname,a.ordername,c.cname,a.salary,a.premium,a.salesgubun,a.sales,a.presales,a.middlesales,a.remainsales,a.stdate,a.progressdate,a.cdt,a.udt order by a.udt desc limit 5 ) a ) a order by a.udt desc limit 5 ) a union select 2,a.* from ( select distinct a.* from ( select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from users a left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where a.isdeleted=0 and (a.username like concat('%', ?param0 ,'%') or a.keywordtext like concat('%', ?param0 ,'%') or a.careerkeyword like concat('%', ?param0 ,'%') or a.companyname like concat('%', ?param0 ,'%') or a.careerinfotext2 like concat('%', ?param0 ,'%')) order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.CompanyName ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a union select a.* from ( select a.userno FileNo,a.UserName ZString0,b.username ZString1,a.companyname ZString2,a.careerkeyword ZString3,s.sname ZString4 ,a.Sex IntV2,a.Birth IntV3 ,null DblV1,null DblV2,null DblV3 ,null Date1,null Date2 ,a.CDT,a.UDT from usercareer c inner join users a on c.userno=a.userno and a.isdeleted=0 left outer join admin b on b.adminno=a.adminno left outer join userschool s on s.userno=a.userno and s.islast=1 where c.companyname like concat('%', ?param0 ,'%') or c.careerinfo like concat('%', ?param0 ,'%') order by a.udt desc limit 100 ) a ) a order by a.udt desc limit 100 ) a]
2019-04-08 15:01:18,904 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.maindata2] Prepared SQL: [select b.ONo ,c.ClientName ,b.OrderName,b.KeyWord ,d1a.username PMName ,d0a.username CoworkerName ,b.StDate ,b2.cname ZString0 from orders b inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.adminno= ?param0 inner join orderconsultant d1 on d1.ono=d.ono and d1.gubun=1 inner join admin d1a on d1a.adminno=d1.adminno left outer join orderconsultant d0 on d0.ono=d.ono and d0.gubun=0 left outer join admin d0a on d0a.adminno=d0.adminno where b.progresstype=0 and b.isdeleted=0 order by b.cdt desc]
2019-04-08 15:01:18,904 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mymemo] Prepared SQL: [update memouser set isread=1,rdate=case when isread=1 then rdate else now() end where mno= ?param0 and userno= ?param1 and isdeleted=0; select b.MTitle,b.MContents,b.CDT ,case when b.sendusergroup=0 then ca.usernamereal else cu.username end CNOName from memouser a inner join memo b on b.mno=a.mno left outer join admin ca on ca.adminno=b.cno and b.sendusergroup=0 left outer join users cu on cu.userno=b.cno and b.sendusergroup=1 where a.mno= ?param0 and a.userno= ?param1 and a.isdeleted=0]
2019-04-08 15:01:18,904 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.mysendmemo] Prepared SQL: [select a.MTitle,a.MContents,a.CDT ,case when b.rcvusergroup=0 then ca.usernamereal else cu.username end UserName from memo a inner join memouser b on b.mno=a.mno left outer join admin ca on ca.adminno=b.userno and b.rcvusergroup=0 left outer join users cu on cu.userno=b.userno and b.rcvusergroup=1 where a.mno= ?param0 and a.cno= ?param1 and a.isdeleted=0]
2019-04-08 15:01:18,905 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.userbymeno] Prepared SQL: [select a.CNo UserNo from memo a where a.mno= ?param0]
2019-04-08 15:01:18,905 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend] Prepared SQL: [insert into emailsend(ETitle,SName,SEmail,MTNo,EHtml,FGNo,RCVs,ReadEmails,RCVCount,ReadCount,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 ,now(), ?param10 ,now(), ?param10 , ?param11 )]
2019-04-08 15:01:18,905 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsend.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,905 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.comment.delete] Prepared SQL: [update comments set isdeleted=1 where CMTNo= ?param0 and ( ?param1 is not null or cno= ?param2 );]
2019-04-08 15:01:18,905 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.careerpool.save] Prepared SQL: [insert into careerpool (companyname,isfrontuser,CDT,CNO,UDT,UNO,UIP) values ( ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 )]
2019-04-08 15:01:18,905 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.activitylog.set] Prepared SQL: [insert into activitylog (BaseNo,BaseNo2,FileNo,LogType,LogActivity ,LogInfo,Log1,Log2 ,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) ,now(), ?param8 ,now(), ?param8 , ?param9 )]
2019-04-08 15:01:18,906 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteR] Prepared SQL: [update memouser set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where UserNo= ?param0 and RCVUserGroup= ?param2]
2019-04-08 15:01:18,906 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.memo.alldeleteS] Prepared SQL: [update memo set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where cno= ?param0 and SendUserGroup= ?param2]
2019-04-08 15:01:18,906 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [common.emailsendok] Prepared SQL: [update emailsend set isdeleted=0,ReadCount= ?param0 ,Sendeds= ?param1 where sendno= ?param2]
2019-04-08 15:01:18,906 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.error] Prepared SQL: [insert into errors (errmsg) values( ?param0 )]
2019-04-08 15:01:18,907 [2960] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 15:01:18,908 [2960] 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]
2019-04-08 15:01:18,908 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.getbyfileno] Prepared SQL: [select a.FileNo,a.FGNo,a.OrgName,a.FileUrl,a.FileSize,a.Extension,a.DCount,a.CDT from fileinfo a where a.fileno= ?param0 and a.isdeleted=0]
2019-04-08 15:01:18,908 [2960] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0 and a.isdeleted = 0]
2019-04-08 15:01:18,908 [2960] 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.UsingTable from fileinfo a inner join filegroup b on b.fgno=a.fgno where a.FileNo = ?param0]
2019-04-08 15:01:18,909 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert] Prepared SQL: [insert into menu(MenuName,PMenuNo,MenuUrl,MenuLevel,MenuOrder,IsUse,ishidden,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]
2019-04-08 15:01:18,909 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.menu.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,910 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert] Prepared SQL: [INSERT INTO filegroup (FolderName, UsingTable, CDT,CNO,UDT,UNO,UIP) VALUES ( ?param0 , ?param1 , CDT,CNO,UDT,UNO,UIP)]
2019-04-08 15:01:18,910 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,910 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.filegroup.savereturn.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,910 [2960] 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]
2019-04-08 15:01:18,910 [2960] 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 ,ishidden= ?param7 where a.menuno= ?param8 ;]
2019-04-08 15:01:18,910 [2960] 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]
2019-04-08 15:01:18,910 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.deleteFile] Prepared SQL: [update fileinfo set uip= ?param0 , uno= ?param1 , IsDeleted=1 where FileNo= ?param2 and ( ?param1 = -999 or cno= ?param1 )]
2019-04-08 15:01:18,910 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.file.down] Prepared SQL: [update fileinfo set dcount = dcount + 1 where fileno= ?param0]
2019-04-08 15:01:18,912 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.client] Prepared SQL: [select a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted,a.LastIF ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP , b.cname IndustryName from client a left outer join comcode b on b.ccode=a.industryidx where a.clientno= ?param0]
2019-04-08 15:01:18,912 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order] Prepared SQL: [select a.ONo,a.ClientNo,a.UserNo,a.OrderName,a.Assign,a.IndustryIdx,a.Salary,a.Position,a.Premium,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.StDate ,a.EndDate,a.GoalDate,a.FGNo,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.ProgressType,a.RecommanCount,a.IsLock,a.IsOpenFront,a.FrontTitle,a.FrontContent,a.IsTax,a.TaxDate,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.ClientName ,c.ORNo ,d.cremark ProgressRemark ,d.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join ( select max(orno) orno from orderreport where ono= ?param0 ) c on 1=1 left outer join comcode d on d.ccode=a.progress where a.ono= ?param0]
2019-04-08 15:01:18,912 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.get] Prepared SQL: [select a.LogNo,a.ClientNo,a.ClientName,a.ClientNameEng,a.Homepage,a.ClientGubun,a.ClientScale,a.IndustryIdx,a.ClientInfo,a.TelNo,a.Fax,a.AdminNo,a.CompanyName,a.DaeName,a.ClientRN,a.Post,a.Address1,a.Address2,a.Uptae,a.Jongmok,a.FGNo,a.IsDeleted, a.CDT, a.CNO, a.UDT, a.UNO, a.UIP , b.username LogUserName from clientlog a inner join admin b on b.adminno=a.uno where a.clientno= ?param0 order by cdt desc]
2019-04-08 15:01:18,912 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.checkfordelete] Prepared SQL: [select case when b.clientno is not null then -1 else case when c.clientno is not null then -2 else 1 end end from (select ?param0 clientno) a left outer join ( select distinct a.clientno from orders a where a.clientno= ?param0 and a.isdeleted=0 ) b on b.clientno=a.clientno left outer join ( select distinct a.clientno from users a where a.clientno= ?param0 and a.isdeleted=0 ) c on c.clientno=a.clientno]
2019-04-08 15:01:18,912 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.users.byemail] Prepared SQL: [select a.UserNo from users a where a.userid=HEX(AES_ENCRYPT( ?param0 , 'N_P123@!')) and a.isdeleted=0 and a.usertype in(3,11) and a.userno <> ?param1]
2019-04-08 15:01:18,913 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user] Prepared SQL: [select a.UserNo, a.ClientNo, a.UserType, a.UserName, a.Department, a.UserPosition, a.RCVES, a.Status, a.CDT ,CAST(AES_DECRYPT(UNHEX(a.userid), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,b.ClientName from users a inner join client b on b.clientno=a.clientno where a.userno= ?param0]
2019-04-08 15:01:18,913 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.checkfordelete] Prepared SQL: [select case when b.userno is not null or c.userno is not null then 0 else 1 end from (select ?param0 userno) a left outer join ( select distinct a.UserNo from orders a where a.userno= ?param0 and a.isdeleted=0 ) b on b.userno=a.userno left outer join ( select distinct a.UserNo from orderreport a where a.taxuserno= ?param0 ) c on c.userno=a.userno]
2019-04-08 15:01:18,913 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers] Prepared SQL: [select a.OUNo,a.ONo,a.UserNo,a.Status,a.IsDeleted,a.DeletedTime,a.DeletedAdminNo, a.CDT , b.UserName , row_number() over(order by a.cdt desc) RNO , count(a.ouno) over() PageTotalCount from orderuser a inner join users b on b.userno=a.userno where a.ono= ?param0 and a.isdeleted=0 and a.outype<3 order by a.cdt desc]
2019-04-08 15:01:18,913 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderusers.ing] Prepared SQL: [select a.UserNo from orderuser a where a.ono= ?param0 and a.isdeleted=0 and a.outype < 3 and a.status in (0, 1, 2, 3, 4,11,12,9, 7,6)]
2019-04-08 15:01:18,914 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderlistforir2] Prepared SQL: [select distinct a.ONo, a.OrderName, b.ClientNo, b.ClientName, a.SalesGubun,a.Assign,a2.cname AssignName,a2.refcode AssignRef , e.UserName PersonName, e.UserPosition PersonClass , CAST(AES_DECRYPT(UNHEX(e.TelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(e.UserId), 'N_P123@!') AS char) PersonEmail , f.UserNo,g.UserType, g.UserName UName, g.Birth UBirth , CAST(AES_DECRYPT(UNHEX(g.TelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(g.UserId), 'N_P123@!') AS char) UEmail , h.ORCount from orders a inner join client b on b.clientno=a.clientno inner join comcode a2 on a2.ccode=a.assign left outer join comcode c on c.ccode=a.progress left outer join orderreport d on d.ono=a.ono and d.isdeleted=0 and a.salesgubun=1 left outer join orderreport d2 on d2.ono=a.ono and d2.isdeleted=0 and d2.saleskind=4 and a.salesgubun=2 left outer join users e on e.userno=a.userno left outer join orderuser f on f.ono=a.ono and f.status=5 and f.isdeleted=0 and f.outype<3 left outer join users g on g.userno=f.userno left outer join ( select count(orno) orcount from orderreport where ono= ?param0 and isdeleted=0 ) h on 1 = 1 where a.ono= ?param0 and a.isdeleted=0 and ifnull(c.refcode, '0') not in ('12', '9') and d.orno is null and d2.orno is null]
2019-04-08 15:01:18,915 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert] Prepared SQL: [insert into client(ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,LastIF,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 ,0,null,now(), ?param19 ,now(), ?param19 , ?param20 );]
2019-04-08 15:01:18,916 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,918 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert] Prepared SQL: [insert into orders(ClientNo,UserNo,OrderName,Assign,IndustryIdx,Salary,Position,Premium,SalesGubun,Sales ,PreSales,MiddleSales,RemainSales ,StDate,EndDate,FGNo,GoalDate,KeyWord,KeyWordText,OrderInfo ,Progress,ProgressType,ProgressDate,RecommanCount,IsLock,IsOpenFront,FrontTitle,FrontContent,IsTax,TaxDate,IsDeleted,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 ,now(), ?param22 , ?param23 ,0,null,null,0,null,0,now(), ?param24 ,now(), ?param24 , ?param25 );]
2019-04-08 15:01:18,918 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,918 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [clienthistory.insert] Prepared SQL: [insert into clientlog (ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip) select ClientNo,ClientName,ClientNameEng,Homepage,ClientGubun,ClientScale,IndustryIdx,ClientInfo,TelNo,Fax,AdminNo,CompanyName,DaeName,ClientRN,Post,Address1,Address2,Uptae,Jongmok,FGNo,IsDeleted,cdt,cno,udt,uno,uip from client where clientno= ?param0]
2019-04-08 15:01:18,918 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.update] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,ClientName= ?param2 ,ClientNameEng= ?param3 ,Homepage= ?param4 ,ClientGubun= ?param5 ,ClientScale= ?param6 ,IndustryIdx= ?param7 ,ClientInfo= ?param8 ,TelNo= ?param9 ,Fax= ?param10 ,AdminNo= ?param11 ,CompanyName= ?param12 ,DaeName= ?param13 ,ClientRN= ?param14 ,Post= ?param15 ,Address1= ?param16 ,Address2= ?param17 ,Uptae= ?param18 ,Jongmok= ?param19 ,FGNo= ?param20 where clientno= ?param21]
2019-04-08 15:01:18,919 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [client.delete] Prepared SQL: [update client set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1, clientname=concat('deleted', clientname) where clientno= ?param2]
2019-04-08 15:01:18,919 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.user.delete] Prepared SQL: [update users set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 , deletedinfo = HEX(AES_ENCRYPT(concat(ifnull(CAST(AES_DECRYPT(UNHEX(UserId), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(Mobile), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(TelNo), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ComTelno), 'N_P123@!') AS char), ''),',' ,ifnull(CAST(AES_DECRYPT(UNHEX(ForeignTelno), 'N_P123@!') AS char), '')), 'N_P123@!')) ,UserId=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,Mobile=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,TelNo=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ComTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) ,ForeignTelno=HEX(AES_ENCRYPT('deleted', 'N_P123@!')) where userno= ?param2]
2019-04-08 15:01:18,919 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,UserNo= ?param2 ,OrderName= ?param3 ,Assign= ?param4 ,IndustryIdx= ?param5 ,Salary= ?param6 ,Position= ?param7 ,Premium= ?param8 ,SalesGubun= ?param9 ,Sales= ?param10 ,PreSales= ?param11 ,MiddleSales= ?param12 ,RemainSales= ?param13 ,StDate= ?param14 ,EndDate= ?param15 ,FGNo= ?param16 ,GoalDate= ?param17 ,KeyWord= ?param18 ,KeyWordText= ?param19 ,OrderInfo= ?param20 ,ProgressDate=case when Progress = ?param21 then ProgressDate else now() end ,Progress= ?param21 ,ProgressType= ?param22 ,RecommanCount= ?param23 ,IsLock= ?param24 where ono= ?param25]
2019-04-08 15:01:18,920 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.clientifupdate] Prepared SQL: [update client set lastif=now() where clientno= ?param0]
2019-04-08 15:01:18,920 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.order.update2] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,IsOpenFront = ?param2 ,FrontTitle = ?param3 ,FrontContent= ?param4 where ono= ?param5]
2019-04-08 15:01:18,921 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport] Prepared SQL: [select a.ORNo,a.ONo,a.SalesKind,a.PersonName,a.PersonClass , CAST(AES_DECRYPT(UNHEX(a.PersonTelNo), 'N_P123@!') AS char) PersonTelNo , CAST(AES_DECRYPT(UNHEX(a.PersonEmail), 'N_P123@!') AS char) PersonEmail ,a.UserNo,a.UName,a.UBirth, a2.UserType , CAST(AES_DECRYPT(UNHEX(a.UTelNo), 'N_P123@!') AS char) UTelNo , CAST(AES_DECRYPT(UNHEX(a.UEmail), 'N_P123@!') AS char) UEmail ,a.UDepart,a.UPosition,a.URegDate,a.ReqSalary ,a.ReqRate,a.ReqMoney,a.ReqDate,a.RecPreDate,a.RecDate,a.RecMoney,a.RecCheck,a.TaxUserNo,a.TName,a.TPosition,a.TDepart , CAST(AES_DECRYPT(UNHEX(a.TEmail), 'N_P123@!') AS char) TEmail , CAST(AES_DECRYPT(UNHEX(a.TTelNo), 'N_P123@!') AS char) TTelNo ,a.TaxDate,a.IsTax,a.IsPay,a.PayDate,a.Info,a.IsDeleted ,a.CDT,a.CNO,a.UDT,a.UNO,a.UIP ,b.OrderName,b.SalesGubun ,b2.cname AssignName ,c.ClientNo, c.ClientName ,e.ORCount ,b2.refcode AssignRef from orderreport a left outer join users a2 on a2.userno=a.userno inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.assign inner join client c on c.clientno=b.clientno left outer join ( select count(orno) orcount from orderreport where isdeleted=0 and ono=(select ono from orderreport where orno= ?param0 ) ) e on 1 = 1 where a.orno= ?param0]
2019-04-08 15:01:18,921 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportconsultant] Prepared SQL: [select a.ORCNo,a.ORNo,a.AdminNo,a.ConsultantPremium,a.ConsultantMoney,a.ConsultantSales,a.Gubun ,b.UserName AdminName from orderreportconsultant a inner join admin b on b.adminno=a.adminno where a.orno= ?param0 order by a.cdt]
2019-04-08 15:01:18,921 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyono] Prepared SQL: [select ORNo,SalesKind from orderreport where ono= ?param0 and isdeleted=0]
2019-04-08 15:01:18,922 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreportbyorno] Prepared SQL: [select ORNo,SalesKind,ONo from orderreport where orno= ?param0 and isdeleted=0]
2019-04-08 15:01:18,922 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.getorderfullconsultant] Prepared SQL: [select a.ONo, b.AdminNo, a.RecommanCount, ClientNo from orders a inner join orderconsultant b on b.ono=a.ono where a.ono= ?param0 and a.isdeleted=0]
2019-04-08 15:01:18,922 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order] Prepared SQL: [select a.ONo,a.ClientNo,a.OrderName,a.StDate,a.EndDate,a.Salary,a.Premium,a.SalesGubun,a.TotalSales,a.KeyWord,a.KeyWordText,a.OrderInfo,a.Progress,a.FGNo,a.UDT,a.FGNo,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.IsLock ,b.ClientName ,c.UserName, c.UserPosition, c.Department ,CAST(AES_DECRYPT(UNHEX(c.userid), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,cc1.cname IndustryIdxName ,cc2.cremark ProgressRemark ,cc2.cname ProgressName from orders a inner join client b on b.clientno=a.clientno left outer join users c on c.userno=a.userno left outer join comcode cc1 on cc1.ccode=a.industryidx left outer join comcode cc2 on cc2.ccode=a.progress where ono= ?param0]
2019-04-08 15:01:18,922 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.Memo,a.IVTime,a.IVLocation,a.UDT ,b.UserName,b.Birth,b.CompanyName,b.KeywordText,b.OpenTime ,c.username AdminName ,d.username CNOName ,b2.Username CAdminName from orderuser a inner join users b on b.userno=a.userno left outer join admin b2 on b2.adminno=b.CAdminNo inner join admin c on c.adminno=a.adminno inner join admin d on d.adminno=a.cno where a.ono= ?param0 and a.isdeleted=0 and a.status<>8 order by b.username]
2019-04-08 15:01:18,923 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.check] Prepared SQL: [select OUNo,ONo from orderuser where ono= ?param0 and userno= ?param1 and isdeleted=0]
2019-04-08 15:01:18,923 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax] Prepared SQL: [select a.OTNo,a.ONo,a.TDate,a.TMoney,a.TTax,a.TSum,a.TaxInfo,a.TaxInfoEng,a.BankName,a.BankNo,a.BankCompany ,b.OrderName from ordertax a inner join orders b on b.ono=a.ono where a.otno= ?param0]
2019-04-08 15:01:18,924 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cl.orderfortax] Prepared SQL: [select a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng,count(c.ocno)+1 OTCount from ( select b.AdminNo ,CAST(AES_DECRYPT(UNHEX(d.userid), 'N_P123@!') AS char) UserId ,d.UserName ,c.DaeName,c.Post,c.Address1,c.Address2,c.ClientName,c.ClientNameEng from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join client c on c.clientno=a.clientno inner join admin d on d.adminno=b.adminno where a.ono= ?param0 ) a left outer join ordertax b on date_format(b.tdate, '%Y%m%d') = date_format(now(), '%Y%m%d') left outer join orderconsultant c on c.ono=b.ono and c.gubun=1 and c.adminno=a.adminno group by a.AdminNo,a.UserId,a.UserName,a.DaeName,a.Post,a.Address1,a.Address2,a.ClientName,a.ClientNameEng]
2019-04-08 15:01:18,924 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.hrorderusers] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.IVLocation,a.IVTime from orderuser a where b.outype < 3 and b.status in (1,2,4,5,9) and b.isdeleted=0 order by a.ono, a.cdt]
2019-04-08 15:01:18,924 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.neworder2] Prepared SQL: [select a.ONo, a.OrderName, a.FrontTitle, a.StDate, a.EndDate, a.CDT, a.FrontContent ,c.UserName,CAST(AES_DECRYPT(UNHEX(c.Email), 'N_P123@!') AS char) Email ,CAST(AES_DECRYPT(UNHEX(c.Mobile), 'N_P123@!') AS char) Mobile ,c.Info ,d.FileUrl from orders a inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin c on c.adminno=b.adminno left outer join fileinfo d on d.fgno=c.fgnoprofile and d.isdeleted=0 where a.ono= ?param0 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0]
2019-04-08 15:01:18,926 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert] Prepared SQL: [insert into orderreport( ONo,SalesKind,PersonName,PersonClass ,PersonTelNo ,PersonEmail ,UserNo,UName,UBirth ,UTelNo ,UEmail ,UDepart,UPosition,URegDate,ReqSalary ,ReqRate,ReqMoney,ReqDate,RecPreDate,RecDate ,RecMoney,RecCheck,TaxUserNo,TName,TPosition ,TDepart,TEmail,TTelNo,TaxDate,IsTax ,IsPay,PayDate,Info,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param3 ,HEX(AES_ENCRYPT( ?param4 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) , ?param6 , ?param7 , ?param8 ,HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 ,null , ?param19 ,0, ?param20 , ?param21 , ?param22 , ?param23 ,HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param25 , 'N_P123@!')) ,null,0 ,0,null, ?param26 ,0,now(), ?param27 ,now(), ?param27 , ?param28 );]
2019-04-08 15:01:18,927 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,927 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,AdminNo,OUTime,IsDeleted,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 ,1, ?param3 ,now(),0,now(), ?param3 ,now(), ?param3 , ?param4 );]
2019-04-08 15:01:18,927 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.add.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,928 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.update] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,SalesKind= ?param2 ,PersonName= ?param3 ,PersonClass= ?param4 ,PersonTelNo=HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,PersonEmail=HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,UName= ?param7 ,UBirth= ?param8 ,UTelNo=HEX(AES_ENCRYPT( ?param9 , 'N_P123@!')) ,UEmail=HEX(AES_ENCRYPT( ?param10 , 'N_P123@!')) ,UDepart= ?param11 ,UPosition= ?param12 ,URegDate= ?param13 ,ReqSalary= ?param14 ,ReqRate= ?param15 ,ReqMoney= ?param16 ,ReqDate= ?param17 ,RecPreDate= ?param18 ,TaxUserNo= ?param19 ,TName= ?param20 ,TPosition= ?param21 ,TDepart= ?param22 ,TEmail=HEX(AES_ENCRYPT( ?param23 , 'N_P123@!')) ,TTelNo=HEX(AES_ENCRYPT( ?param24 , 'N_P123@!')) ,Info= ?param25 where orno= ?param26]
2019-04-08 15:01:18,928 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where orno= ?param2 and istax=0;]
2019-04-08 15:01:18,928 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderreport.delete2] Prepared SQL: [update orderconsultant a inner join ( select a.ocno, sum(c.consultantmoney) consultantmoney, sum(c.consultantsales) consultantsales from orderconsultant a inner join orderreport b on b.ono=a.ono and b.isdeleted=0 inner join orderreportconsultant c on c.orno=b.orno where a.ono= ?param0 group by a.ocno ) b on b.ocno=a.ocno set a.consultantmoney=b.consultantmoney,a.consultantsales=b.consultantsales where a.ono= ?param0 ; update orders a inner join ( select a.ono, sum(a.reqmoney) reqmoney from orderreport a where a.ono= ?param0 and a.isdeleted=0 group by a.ono ) b on b.ono=a.ono set a.TotalSales=b.reqmoney where a.ono= ?param0]
2019-04-08 15:01:18,928 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderprogress.update] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,ProgressDate=case when Progress = ?param2 then ProgressDate else now() end ,progress= ?param2 ,progresstype= ?param3 where ono= ?param4]
2019-04-08 15:01:18,928 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderfile.set] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,FGNo= ?param2 where ono= ?param3]
2019-04-08 15:01:18,928 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.order.delete] Prepared SQL: [update orders set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where ono= ?param2]
2019-04-08 15:01:18,928 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuserstatus.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,Status= ?param2 where ouno= ?param3]
2019-04-08 15:01:18,928 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.delete] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=case when outype=2 then 0 else 1 end,outype=case when outype=2 then 3 else outype end,deletedtime=now(),deletedadminno= ?param0 where ouno= ?param2]
2019-04-08 15:01:18,928 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.change] Prepared SQL: [update orderuser set udt=now(),uno= ?param0 ,uip= ?param1 ,outype= ?param2 ,adminno= ?param0 ,outime=now() where ouno= ?param3]
2019-04-08 15:01:18,928 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveortaxdate] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,IsTax= ?param2 , TaxDate= ?param3 where orno= ?param4]
2019-04-08 15:01:18,929 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.saveorrecmoney] Prepared SQL: [update orderreport set udt=now(),uno= ?param0 ,uip= ?param1 ,reccheck=case when reqmoney*1.1 <= ?param2 then 1 else 0 end, RecDate= ?param3 , RecMoney= ?param2 where orno= ?param4]
2019-04-08 15:01:18,929 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.delete] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,isdeleted=1 where otno= ?param2]
2019-04-08 15:01:18,930 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.ordertax.save] Prepared SQL: [update ordertax set udt=now(),uno= ?param0 ,uip= ?param1 ,TDate= ?param2 ,TMoney= ?param3 ,TTax= ?param4 ,TSum= ?param5 ,TaxInfo= ?param6 ,TaxInfoEng= ?param7 ,BankName= ?param8 ,BankNo= ?param9 ,BankCompany= ?param10 where otno= ?param11 ; insert into ordertax(ONo,TDate,TMoney,TTax,TSum,TaxInfo,TaxInfoEng,BankName,BankNo,BankCompany,CDT,CNO,UDT,UNO,UIP) select ?param12 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param11 otno) a where a.otno < 1]
2019-04-08 15:01:18,930 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orderuser.call] Prepared SQL: [insert into orderuser(ONo,OUType,UserNo,Status,IsDeleted,CDT,CNO,UDT,UNO,UIP) select a.ONo,3, ?param0 ,0,0,now(), ?param1 ,now(), ?param1 , ?param2 from orders a left outer join orderuser b on b.ono=a.ono and b.userno= ?param0 and b.isdeleted=0 where a.ono= ?param3 and a.stdate < now() and (a.enddate is null or date_add(a.enddate, interval 24 hour) > now()) and a.progresstype = 0 and a.isopenfront=1 and a.isdeleted=0 and b.ouno is null]
2019-04-08 15:01:18,931 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.user] Prepared SQL: [select a.UserNo,a.UserType,a.UserName,c.ClientName,a.ClientNo ,CAST(AES_DECRYPT(UNHEX(a.UserId), 'N_P123@!') AS char) UserId ,CAST(AES_DECRYPT(UNHEX(a.Mobile), 'N_P123@!') AS char) Mobile ,CAST(AES_DECRYPT(UNHEX(a.TelNo), 'N_P123@!') AS char) TelNo ,CAST(AES_DECRYPT(UNHEX(a.ComTelno), 'N_P123@!') AS char) ComTelno ,CAST(AES_DECRYPT(UNHEX(a.ForeignTelno), 'N_P123@!') AS char) ForeignTelno ,a.CompNo,a.CompanyName,a.Birth,a.Sex,a.Post,a.Address1,a.Address2,a.IsSpecial,a.IsBlackList,a.BLText,a.BLDate,a.ResumeKindName,a.AdminNo,a.DBSrc,a.Keyword,a.KeywordText ,a.CareerKeyword,a.CareerIdx,a.SalaryIdx,a.OccupationIdx,a.IndustryIdx,a.CareerInfoText,a.FGNo,a.FGNoProfile,a.RCVES,a.Status ,b.FileUrl from users a left outer join fileinfo b on b.fgno=a.fgnoprofile and b.isdeleted=0 left outer join client c on a.usertype=11 and c.clientno=a.clientno where a.userno= ?param0]
2019-04-08 15:01:18,932 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.userorders] Prepared SQL: [select count(c.ono) from (select 1 col1) a left outer join orderuser b on b.outype<3 and b.userno= ?param0 and b.isdeleted=0 left outer join orders c on c.ono=b.ono and c.progresstype=0 and c.isdeleted=0]
2019-04-08 15:01:18,932 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [cdd.orderuser] Prepared SQL: [select a.OUNo,a.ONo,a.OUType,a.UserNo,a.Status,a.AdminNo,a.OUTime,a.CDT,a.UDT ,b.OrderName ,c.ClientName ,d.username AdminName ,e.cname ProgressName from orderuser a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno left outer join admin d on d.adminno=a.adminno left outer join comcode e on e.ccode=b.progress where a.userno= ?param0 and a.isdeleted=0 order by a.UDT desc]
2019-04-08 15:01:18,933 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.monthdt] Prepared SQL: [select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param0 and a.adminno= ?param1 union all select a.RMonth,a.AdminNo,a.SeqNo,a.Company,a.Position,a.TDate,a.ADate,a.RContents from rptmonthdt a where a.rmonth= ?param2 and a.adminno= ?param1 and a.adate is not null order by SeqNo]
2019-04-08 15:01:18,933 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.month] Prepared SQL: [select a.RMonth,a.AdminNo,a.PlanAmt,a.LastAct,a.ThisAct from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1]
2019-04-08 15:01:18,933 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orderreports] Prepared SQL: [select d.ClientName ,c.OrderName,c.StDate,c.EndDate ,a.ReqMoney,a.ReqRate,a.SalesKind,a.ReqDate ,b.ConsultantSales,b.ConsultantPremium from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.AdminNo= ?param0 inner join orders c on c.ono=a.ono and c.isdeleted=0 inner join client d on d.clientno=c.clientno where date_format(a.reqdate, '%Y%m')= ?param1 and a.isdeleted=0 order by a.cdt desc]
2019-04-08 15:01:18,933 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.orders] Prepared SQL: [select c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username PMName,b.Progress ,b2.cname ProgressName ,group_concat(e2.Username separator ',') CoworkerName from ( select a.ono,sum(case when c.outype < 3 then 1 else 0 end) ReCommCount, sum(case when c.outype > 1 then 1 else 0 end) ResumeCount from orders a inner join orderconsultant b on b.ono=a.ono and b.adminno= ?param0 left outer join orderuser c on c.ono=a.ono and c.isdeleted=0 where date_format(a.progressdate, '%Y%m')= ?param1 and a.progresstype < 2 and a.isdeleted=0 group by a.ono ) a inner join orders b on b.ono=a.ono inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join orderconsultant e on e.ono=a.ono and e.gubun=0 left outer join admin e2 on e2.adminno=e.adminno group by b2.cname,c.ClientName,b.OrderName,b.StDate,b.EndDate,a.ReCommCount,a.ResumeCount,d2.username,b.Progress order by b.progressdate desc]
2019-04-08 15:01:18,934 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.years] Prepared SQL: [select sum(lastplan) LastPlan,sum(LastPerform) LastPerform,sum(TotalPlan) TotalPlan,sum(TotalPerform) TotalPerform,sum(ThisPlan) ThisPlan from ( select a.planamt LastPlan,0 LastPerform,0 TotalPlan,0 TotalPerform,0 ThisPlan from rptmonth a where a.rmonth= ?param0 and a.adminno= ?param1 union all select 0,sum(b.consultantsales),0,0,0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y%m')= ?param0 and a.isdeleted=0 union all select 0,0,sum(a.planamt),0,0 from rptmonth a where a.rmonth like concat( ?param2 , '%') and a.rmonth <= ?param3 union all select 0,0,0,sum(b.consultantsales),0 from orderreport a inner join orderreportconsultant b on b.orno=a.orno and b.adminno= ?param1 where date_format(a.reqdate, '%Y') = ?param2 and date_format(a.reqdate, '%Y%m') <= ?param3 and a.isdeleted=0 union all select 0,0 LastPerform,0 TotalPlan,0 TotalPerform,ifnull(a.planamt, case ?param4 when 1 then b.Sales1 when 2 then b.Sales2 when 3 then b.Sales3 when 4 then b.Sales4 when 5 then b.Sales5 when 6 then b.Sales6 when 7 then b.Sales7 when 8 then b.Sales8 when 9 then b.Sales9 when 10 then b.Sales10 when 11 then b.Sales11 when 12 then b.Sales12 else 0 end) ThisPlan from (select 1 col1 ) c left outer join rptmonth a on a.rmonth= ?param3 and a.adminno= ?param1 left outer join rptyear b on b.ryear= ?param2 and b.adminNo= ?param1 ) a]
2019-04-08 15:01:18,934 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.year] Prepared SQL: [select RYear,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12 ,Sales1+Sales2+Sales3+Sales4+Sales5+Sales6+Sales7+Sales8+Sales9+Sales10+Sales11+Sales12 TotalSales from rptyear a where a.ryear= ?param0 and a.adminno= ?param1]
2019-04-08 15:01:18,935 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [rpt.rptyear.save] Prepared SQL: [update rptyear set udt=now(),uno= ?param0 ,uip= ?param1 ,sales1= ?param2 ,sales2= ?param3 ,sales3= ?param4 ,sales4= ?param5 ,sales5= ?param6 ,sales6= ?param7 ,sales7= ?param8 ,sales8= ?param9 ,sales9= ?param10 ,sales10= ?param11 ,sales11= ?param12 ,sales12= ?param13 where ryear= ?param14 and adminno= ?param15 ; insert into rptyear (RYear,AdminNo,Sales1,Sales2,Sales3,Sales4,Sales5,Sales6,Sales7,Sales8,Sales9,Sales10,Sales11,Sales12,CDT,CNO,UDT,UNO,UIP) select ?param14 , ?param15 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join rptyear b on b.ryear= ?param14 and b.adminno= ?param15 where b.ryear is null]
2019-04-08 15:01:18,936 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sc.schedules] Prepared SQL: [select a.SNo,a.AdminNo,a.SDate,a.STime,a.ETime,a.SType,a.Info ,b.UserName from schedule a inner join admin b on b.adminno=a.adminno where date_format(a.SDate, '%Y%m')= ?param0 order by a.sdate, a.stime]
2019-04-08 15:01:18,937 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.listformain] Prepared SQL: [select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,b.FileUrl from board a left outer join fileinfo b on b.fgno=a.FGNoThumb where a.isdeleted=0 and a.BType=2 order by a.cdt desc, a.bno desc limit 3 ) a union all select a.* from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop,a.Contents,null FileUrl from board a where a.isdeleted=0 and a.BType=4 order by a.rcount desc limit 4 ) a]
2019-04-08 15:01:18,937 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert] Prepared SQL: [insert into board (BType,BDType,Subject,Contents,FGNo,FGNoThumb,RCount,YMW,IsDeleted,IsTop,cdt,cno,udt,uno,uip,orgcdt) values ( ?param0 , ?param1 , ?param2 , ?param3 , ?param4 , ?param5 ,0, ?param6 ,0, ?param7 ,ifnull( ?param8 ,now()), ?param9 ,now(), ?param9 , ?param10 ,now());]
2019-04-08 15:01:18,937 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,937 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.delete] Prepared SQL: [update board set isdeleted=1,udt=now(),uno= ?param0 ,uip= ?param1 where bno= ?param2]
2019-04-08 15:01:18,938 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.orders] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and a.StDate between ?param0 and ?param1 order by a.stdate]
2019-04-08 15:01:18,938 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.ordersprogress] Prepared SQL: [select a.ONo,a2.ClientName,a.OrderName,a.StDate,a.EndDate,a.SalesGubun,a.Sales,a.PreSales,a.MiddleSales,a.RemainSales,a.Progress,a.ProgressType,a.ProgressDate,a3.cname ProgressName , case when a.CDT between ?param0 and ?param1 then 1 else 0 end IntV1 ,b.AdminNo PMNo,b2.username PMName ,c.AdminNo CoworkerNo,c2.username CoworkerName from orders a inner join client a2 on a2.clientno=a.clientno inner join comcode a3 on a3.ccode=a.progress inner join orderconsultant b on b.ono=a.ono and b.gubun=1 inner join admin b2 on b2.adminno=b.adminno left outer join orderconsultant c on c.ono=a.ono and c.gubun=0 left outer join admin c2 on c2.adminno=c.adminno where a.isdeleted=0 and ((a.progresstype > 0 and a.ProgressDate between ?param0 and ?param1 ) or (a.progresstype =0 and a.StDate between ?param0 and ?param1 )) order by a.ProgressDate]
2019-04-08 15:01:18,939 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.RptMonthDts] Prepared SQL: [select a.AdminNo,a.Company,a.Position,a.TDate,a.ADate ,b.UserName from rptmonthdt a inner join admin b on b.adminno=a.adminno where a.tdate is not null and a.tdate between ?param0 and ?param1 order by a.adminno,a.seqno]
2019-04-08 15:01:18,939 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.users.new] Prepared SQL: [select a.UserNo,b.UserType,b.UserName,b.Sex,b.Birth,b.CompanyName,b.CareerKeyword,b.IsSpecial,b.IsBlackList ,c.SName SchoolName,b.DBSrc,b.UDT,b.FGNo from ( select a.UserNo,max(b.seqno) SeqNo from users a left outer join userschool b on b.userno=a.userno and b.isdeleted=0 where a.usergroup=0 and a.isdeleted=0 and a.cdt between ?param0 and ?param1 group by a.UserNo ) a inner join users b on b.userno=a.userno left outer join userschool c on c.userno=a.userno and c.seqno=a.seqno order by case b.usertype when 1 then 1 when 3 then 2 when 2 then 3 when 5 then 4 when 4 then 5 else 9 end, b.cdt]
2019-04-08 15:01:18,939 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice] Prepared SQL: [select NDay,NText from weeknotice where nday= ?param0]
2019-04-08 15:01:18,939 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.get] Prepared SQL: [select MTNo,MHtml from mailtp where mtno= ?param0]
2019-04-08 15:01:18,940 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert] Prepared SQL: [insert into admin (UserType,UserId,UserPass,UserName,UserNameReal,Position,Email,Mobile,TelNo,BirthDay,Info,FGNoProfile,FGNoCCV,EnterDate,RetireDate,ConsultantType,ConsultantCompany,ConsultantTeam,IsTeamManage,Status,Security,IsOpen,Etc,Sort,CDT,CNO,UDT,UNO,UIP) values ( ?param0 ,HEX(AES_ENCRYPT( ?param1 , 'N_P123@!')) , ?param2 , ?param1 , ?param3 , ?param4 ,HEX(AES_ENCRYPT( ?param5 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param6 , 'N_P123@!')) ,HEX(AES_ENCRYPT( ?param7 , 'N_P123@!')) , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 , ?param15 , ?param16 , ?param17 , ?param18 , ?param19 , ?param20 , ?param21 ,0,now(), ?param22 ,now(), ?param22 , ?param23 ); update admin a inner join ( SELECT a.adminno, row_number() over(order BY a.adminno) + ifnull(MAX(b.Sort), 0) sort from admin a LEFT OUTER JOIN admin b ON 1 = 1 WHERE a.sort=0 GROUP BY a.adminno ) b on b.adminno=a.adminno set a.sort=b.sort;]
2019-04-08 15:01:18,940 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.insert.SelectKey] Prepared SQL: [SELECT LAST_INSERT_ID()]
2019-04-08 15:01:18,940 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.weeknotice.save] Prepared SQL: [insert into weeknotice (NDay,NText,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,now(), ?param2 ,now(), ?param2 , ?param3 from (select 1 col1) a left outer join weeknotice b on b.nday= ?param0 where b.nday is null; update weeknotice set udt=now(),uno= ?param2 ,uip= ?param3 , ntext= ?param1 where nday= ?param0 ;]
2019-04-08 15:01:18,940 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.sysconfig.set] Prepared SQL: [update systemconfig set udt=now(),uno= ?param0 ,uip= ?param1 ,ProjectModify = ?param2 ,FinalResumeCount = ?param3 where configno= ?param4]
2019-04-08 15:01:18,941 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.intranetip.save] Prepared SQL: [update intranetip set udt=now(),uno= ?param0 ,uip= ?param1 ,sip= ?param2 ,eip= ?param3 ,isactive= ?param4 ,memo= ?param5 where ?param6 > 0 and ipno= ?param6 ; insert into intranetip (sip,eip,isactive,memo,isdeleted,CDT,CNO,UDT,UNO,UIP) select ?param2 , ?param3 , ?param4 , ?param5 ,0,now(), ?param0 ,now(), ?param0 , ?param1 from (select ?param6 ipno) a where a.ipno < 1]
2019-04-08 15:01:18,941 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.comcode.groupupdate] Prepared SQL: [update comcode set cgroupname= ?param0 where cgroup= ?param1]
2019-04-08 15:01:18,941 [2960] 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]
2019-04-08 15:01:18,941 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.mailtp.save] Prepared SQL: [update mailtp set udt=now(),uno= ?param0 ,uip= ?param1 ,mhtml= ?param2 where mtno= ?param3 ; insert into mailtp(mtno,mhtml,CDT,CNO,UDT,UNO,UIP) select ?param3 , ?param2 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a left outer join mailtp b on b.mtno= ?param3 where b.mtno is null]
2019-04-08 15:01:18,942 [2960] 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]
2019-04-08 15:01:18,942 [2960] 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 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 15:01:18,942 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlognew] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) values( ?param0 , ?param1 , ?param2 , ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 )]
2019-04-08 15:01:18,942 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.admin.authlog] Prepared SQL: [insert into authlog(AdminNo,AdminNoChange,UserTypeOrg,UserTypeNew,CDT,CNO,UDT,UNO,UIP) select ?param0 , ?param1 ,UserType, ?param2 ,now(), ?param3 ,now(), ?param3 , ?param4 from admin where adminno= ?param1 and usertype <> ?param2]
2019-04-08 15:01:18,943 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderassignsales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.assign IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.assign where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.assign, c.cname order by c.corder]
2019-04-08 15:01:18,943 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.industrysales] Prepared SQL: [select date_format(a.reqdate, '%m') Month, b.industryidx IntVal1,c.cname StringVal1 ,sum(case when date_format(a.reqdate, '%m') = '01' then a.ReqMoney else 0 end) LongVal1 ,sum(case when date_format(a.reqdate, '%m') = '02' then a.ReqMoney else 0 end) LongVal2 ,sum(case when date_format(a.reqdate, '%m') = '03' then a.ReqMoney else 0 end) LongVal3 ,sum(case when date_format(a.reqdate, '%m') = '04' then a.ReqMoney else 0 end) LongVal4 ,sum(case when date_format(a.reqdate, '%m') = '05' then a.ReqMoney else 0 end) LongVal5 ,sum(case when date_format(a.reqdate, '%m') = '06' then a.ReqMoney else 0 end) LongVal6 ,sum(case when date_format(a.reqdate, '%m') = '07' then a.ReqMoney else 0 end) LongVal7 ,sum(case when date_format(a.reqdate, '%m') = '08' then a.ReqMoney else 0 end) LongVal8 ,sum(case when date_format(a.reqdate, '%m') = '09' then a.ReqMoney else 0 end) LongVal9 ,sum(case when date_format(a.reqdate, '%m') = '10' then a.ReqMoney else 0 end) LongVal10 ,sum(case when date_format(a.reqdate, '%m') = '11' then a.ReqMoney else 0 end) LongVal11 ,sum(case when date_format(a.reqdate, '%m') = '12' then a.ReqMoney else 0 end) LongVal12 from orderreport a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode c on c.ccode=b.industryidx where date_format(a.reqdate, '%Y') = ?param0 and a.isdeleted=0 group by b.industryidx, c.cname order by c.corder]
2019-04-08 15:01:18,945 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orders] Prepared SQL: [select a.ONo,a.CDT ,b.OrderName,b.StDate,b.EndDate,b.SalesGubun,b.Sales,b.PreSales,b.MiddleSales,b.RemainSales ,b2.cname ProgressName ,c.ClientNo,c.ClientName ,d.Gubun,d.AdminNo ,e.UserName AdminName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join comcode b2 on b2.ccode=b.progress inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=a.ono and d.gubun <> 2 inner join admin e on e.adminno=d.adminno where a.adminno= ?param0 and a.gubun <> 2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 15:01:18,945 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.orderusers] Prepared SQL: [select d.Gubun,d.AdminNo , b.ONo,b.OrderName ,c.ClientName ,d2.UserName AdminName ,e.Status,e.OUTime ,e2.UserNo,e2.UserName from orderconsultant a inner join orders b on b.ono=a.ono and b.isdeleted=0 inner join client c on c.clientno=b.clientno inner join orderconsultant d on d.ono=b.ono and d.gubun <> 2 inner join admin d2 on d2.adminno=d.adminno inner join orderuser e on e.ono=b.ono and e.isdeleted=0 and e.outype < 3 inner join users e2 on e2.userno=e.userno where a.adminno= ?param0 and a.gubun <>2 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 15:01:18,945 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [stt.users] Prepared SQL: [select a.UserNo,a.UserName,a.Birth,a.CompanyName,a.CareerKeyword,b.SName SchoolName,a.DBSrc,a.UDT,a.FGNo,a.Sex from users a left outer join userschool b on b.userno=a.userno and b.islast=1 and b.isdeleted=0 where a.cadminno= ?param0 and year(a.cdt)= ?param1 order by a.cdt]
2019-04-08 15:01:18,949 [2960] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 15:01:18,949 [2960] 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.IsHidden ,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.IsHidden 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.IsHidden ) 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]
2019-04-08 15:01:18,950 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Parameters: [?param0=[TopMenuNo,1]]
2019-04-08 15:01:18,950 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.menu.menuauth] Types: [?param0=[Int32, System.Int32]]
2019-04-08 15:01:19,106 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "16050496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:19,130 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "16050496" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:19,133 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 15:01:19,133 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 15:01:19,133 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 15:01:19,140 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "59932385" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:19,144 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "59932385" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:19,155 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [board.list] Prepared SQL: [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-08 15:01:19,155 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [board.list] PreparedStatement : [select a.*, b.Contents, c.FileUrl from ( select a.BNo,a.Subject,a.CNO,a.CDT,a.UDT,a.RCount,a.BType,a.BDType,a.IsTop ,b.UserName CNOName ,row_number() over(order by a.istop desc, a.udt desc ) RNO ,count(a.bno) over() PageTotalCount from board a inner join admin b on b.adminno=a.cno where a.isdeleted=0 and a.BType in (2,3,4) ) a inner join board b on b.bno=a.bno left outer join fileinfo c on c.fgno=b.fgnothumb where RNO between 1 and 20 order by a.rno]
2019-04-08 15:01:19,161 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "57873368" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:19,617 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "57873368" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:22,594 [16476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 15:01:22,594 [16476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 15:01:22,594 [16476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 15:01:22,600 [16476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "9452180" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:22,604 [16476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "9452180" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:22,605 [16476] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:01:22,605 [16476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:01:22,611 [16476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "20582959" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:22,659 [16476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "20582959" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:32,464 [14804] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:01:32,464 [14804] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:01:32,464 [14804] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,8]]
2019-04-08 15:01:32,464 [14804] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-08 15:01:32,469 [14804] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "19215103" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:32,479 [14804] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "19215103" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:41,880 [14804] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:01:41,881 [14804] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:01:41,881 [14804] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,48]]
2019-04-08 15:01:41,881 [14804] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-08 15:01:41,890 [14804] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "58258207" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:41,899 [14804] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "58258207" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:54,797 [14804] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 15:01:54,798 [14804] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,0], ?param3=[PageType,0], ?param4=[POrder,9], ?param5=[PageName,Mypage], ?param6=[PageDesc,±â¾÷ȸ¿ø], ?param7=[PageUrl,], ?param8=[PageHtml,], ?param9=[IsOpen,2], ?param10=[UserType,11], ?param11=[RefCode,], ?param12=[ImageCode,], ?param13=[BGTitle,Mypage], ?param14=[BGDesc,This change is rapidly transforming the talent,skills and performance that are required to lead and manage organizaitons], ?param15=[PNo,48], ?param16=[PPNo,null]]
2019-04-08 15:01:54,798 [14804] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[System.DBNull, null]]
2019-04-08 15:01:54,806 [14804] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "53925345" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:54,832 [14804] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "53925345" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:55,464 [6836] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 15:01:55,464 [6836] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 15:01:55,464 [6836] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 15:01:55,475 [6836] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "39086322" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:55,481 [6836] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "39086322" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:55,481 [6836] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:01:55,482 [6836] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:01:55,493 [6836] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "36181605" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:01:55,552 [6836] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "36181605" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:17,883 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:17,883 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:17,883 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,8]]
2019-04-08 15:02:17,883 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-08 15:02:17,907 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "31398881" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:17,924 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "31398881" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:22,863 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:22,863 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:22,863 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,48]]
2019-04-08 15:02:22,863 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-08 15:02:22,869 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "49866114" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:22,878 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "49866114" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:26,187 [16476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 15:02:26,187 [16476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,0], ?param3=[PageType,0], ?param4=[POrder,9], ?param5=[PageName,Mypage], ?param6=[PageDesc,±â¾÷ȸ¿ø], ?param7=[PageUrl,], ?param8=[PageHtml,], ?param9=[IsOpen,2], ?param10=[UserType,11], ?param11=[RefCode,], ?param12=[ImageCode,mypage], ?param13=[BGTitle,Mypage], ?param14=[BGDesc,This change is rapidly transforming the talent,skills and performance that are required to lead and manage organizaitons], ?param15=[PNo,48], ?param16=[PPNo,null]]
2019-04-08 15:02:26,187 [16476] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[System.DBNull, null]]
2019-04-08 15:02:26,196 [16476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "29610714" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:26,231 [16476] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "29610714" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:26,765 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 15:02:26,765 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 15:02:26,765 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 15:02:26,771 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "27778196" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:26,774 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "27778196" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:26,774 [17176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:26,775 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:26,780 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "62958248" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:26,826 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "62958248" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:29,082 [17176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:29,083 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:29,083 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,8]]
2019-04-08 15:02:29,083 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-08 15:02:29,089 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "7184786" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:29,098 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "7184786" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:36,221 [17176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:36,222 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno where a.pno= ?param0 order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:36,222 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Parameters: [?param0=[PNo,48]]
2019-04-08 15:02:36,222 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] Types: [?param0=[Int32, System.Int32]]
2019-04-08 15:02:36,228 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "1316054" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:36,238 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "1316054" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:39,465 [6836] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] PreparedStatement : [update menupage set udt=now(),uno= ?param0 ,uip= ?param1 ,PDepth = ?param2 ,PageType= ?param3 ,POrder = ?param4 ,PageName= ?param5 ,PageDesc= ?param6 ,PageUrl = ?param7 ,PageHtml= ?param8 ,IsOpen = ?param9 ,UserType= ?param10 ,RefCode= ?param11 ,ImageCode= ?param12 ,BGTitle= ?param13 ,BGDesc= ?param14 where ?param15 > 0 and PNo = ?param15 ; insert into menupage (PNo,PPNo,PDepth,PageType,POrder,PageName,PageDesc,PageUrl,PageHtml,IsOpen,UserType,RefCode,ImageCode,BGTitle,BGDesc,CDT,CNO,UDT,UNO,UIP) select ?param15 , ?param16 , ?param2 , ?param3 , ?param4 , ?param5 , ?param6 , ?param7 , ?param8 , ?param9 , ?param10 , ?param11 , ?param12 , ?param13 , ?param14 ,now(), ?param0 ,now(), ?param0 , ?param1 from (select 1 col1) a where ?param15 < 1]
2019-04-08 15:02:39,466 [6836] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Parameters: [?param0=[UNO,1252], ?param1=[UIP,127.0.0.1], ?param2=[PDepth,0], ?param3=[PageType,0], ?param4=[POrder,9], ?param5=[PageName,Mypage], ?param6=[PageDesc,±â¾÷ȸ¿ø], ?param7=[PageUrl,], ?param8=[PageHtml,], ?param9=[IsOpen,2], ?param10=[UserType,11], ?param11=[RefCode,Menu.AuthMenu], ?param12=[ImageCode,mypage], ?param13=[BGTitle,Mypage], ?param14=[BGDesc,This change is rapidly transforming the talent,skills and performance that are required to lead and manage organizaitons], ?param15=[PNo,48], ?param16=[PPNo,null]]
2019-04-08 15:02:39,466 [6836] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.menupage.save] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String], ?param2=[Int32, System.Int32], ?param3=[Int32, System.Int32], ?param4=[Int32, System.Int32], ?param5=[String, System.String], ?param6=[String, System.String], ?param7=[String, System.String], ?param8=[String, System.String], ?param9=[Int32, System.Int32], ?param10=[Int32, System.Int32], ?param11=[String, System.String], ?param12=[String, System.String], ?param13=[String, System.String], ?param14=[String, System.String], ?param15=[Int32, System.Int32], ?param16=[System.DBNull, null]]
2019-04-08 15:02:39,473 [6836] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "14421545" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:39,496 [6836] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "14421545" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:40,168 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 15:02:40,168 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 15:02:40,168 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 15:02:40,174 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "43311698" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:40,180 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "43311698" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:40,180 [2960] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [mm.pages] Prepared SQL: [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:40,180 [2960] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [mm.pages] PreparedStatement : [select a.PNo,a.PPNo,a.PDepth,a.PageType,a.POrder,a.PageName,a.PageDesc,a.PageUrl,a.PageHtml,a.IsOpen,a.UserType,m1.PageName PPageName,a.RefCode,a.ImageCode,a.bgtitle BGTitle2,a.bgdesc BGDesc2 ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end M0 ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end M1 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end M2 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end M3 ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end M4 ,case a.pdepth when 0 then a.imagecode when 1 then m1.imagecode when 2 then m2.imagecode when 3 then m3.imagecode else m4.imagecode end TopImageCode ,case a.pdepth when 0 then a.bgtitle when 1 then m1.bgtitle when 2 then m2.bgtitle when 3 then m3.bgtitle else m4.bgtitle end BGTitle ,case a.pdepth when 0 then a.bgdesc when 1 then m1.bgdesc when 2 then m2.bgdesc when 3 then m3.bgdesc else m4.bgdesc end BGDesc from menupage a left outer join menupage m1 on m1.pno=a.ppno left outer join menupage m2 on m2.pno=m1.ppno left outer join menupage m3 on m3.pno=m2.ppno left outer join menupage m4 on m4.pno=m3.ppno order by case a.pdepth when 0 then a.porder when 1 then m1.porder when 2 then m2.porder when 3 then m3.porder else m4.porder end ,case a.pdepth when 0 then a.pno when 1 then m1.pno when 2 then m2.pno when 3 then m3.pno else m4.pno end ,case a.pdepth when 0 then 0 when 1 then a.porder when 2 then m1.porder when 3 then m2.porder else m3.porder end ,case a.pdepth when 0 then 0 when 1 then a.pno when 2 then m1.pno when 3 then m2.pno else m3.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.porder when 3 then m1.porder else m2.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then a.pno when 3 then m1.pno else m2.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.porder else m1.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then a.pno else m1.pno end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.porder end ,case a.pdepth when 0 then 0 when 1 then 0 when 2 then 0 when 3 then 0 else a.pno end]
2019-04-08 15:02:40,187 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "30949183" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:02:40,236 [2960] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "30949183" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:08:20,390 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] PreparedStatement : [select count(a.mno) from memouser a where a.userno= ?param0 and a.RCVUserGroup= ?param1 and a.isread=0 and a.isdeleted=0]
2019-04-08 15:08:20,390 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Parameters: [?param0=[UserNo,1252], ?param1=[UserGroup,0]]
2019-04-08 15:08:20,390 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [common.list.rcvnot] Types: [?param0=[Int64, System.Int64], ?param1=[Int32, System.Int32]]
2019-04-08 15:08:20,509 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "21955734" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:08:20,512 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "21955734" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:08:20,513 [17176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [ass.orders] Prepared SQL: [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 15:08:20,513 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] PreparedStatement : [select a.*,a21.cname AssignName,a22.cname IndustryIdxName,case when a2.salesgubun=1 then a2.Sales else a2.PreSales+a2.MiddleSales+a2.RemainSales end TotalSales2,a2.SalesGubun from ( select a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark,a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy ,sum(case when b.OUType <3 then 1 else 0 end) RecommanCount ,sum(case when b.outype >1 then 1 else 0 end) ROCount ,a.RNO, a.PageTotalCount from ( select a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username PMName, a.CDT,a.IsOpenFront,a.Progress,e.cname ProgressName,e.cremark ProgressRemark, a.Salary,a.Premium,a.TotalSales ,row_number() over(order by max(case when ?param0 = d.adminno then 1 else 0 end) desc, a.cdt desc) RNO ,count(a.ono) over() PageTotalCount , max(case when c.gubun=0 then c2.username else '' end) CoworkerName , max(case when c.adminno= ?param0 or ?param1 is not null then 1 else 0 end) IsMember , min(c.ocno) orcno, case when sum(case when c.gubun=0 then 1 else 0 end) = 0 then 0 else sum(case when c.gubun=0 then 1 else 0 end) - 1 end OCETCCount , max(case when ?param0 = d.adminno then 1 else 0 end) IsMy from orders a inner join client b on b.clientno=a.clientno inner join orderconsultant c on c.ono=a.ono inner join admin c2 on c2.adminno=c.adminno inner join orderconsultant d on d.ono=a.ono and d.gubun=1 inner join admin d2 on d2.adminno=d.adminno left outer join comcode e on e.ccode=a.progress inner join comcode f on f.ccode=a.industryidx left outer join comcode g on g.ccode=a.position where a.isdeleted=0 and a.cdt between '2019-04-01' and '2019-04-08 23:59:59' and a.progressType in(0,2) group by a.ONo, a.OrderName, b.ClientNo,b.ClientName, d2.username, a.CDT,a.IsOpenFront,a.Progress,e.cname,e.cremark, a.Salary,a.Premium,a.TotalSales ) a left outer join orderuser b on b.ono=a.ono and b.isdeleted=0 group by a.ONo, a.OrderName, a.ClientNo,a.ClientName, a.PMName, a.CDT,a.IsOpenFront,a.Progress,a.ProgressName,a.ProgressRemark, a.Salary,a.Premium,a.TotalSales, a.CoworkerName, a.OCETCCount, a.IsMember, a.IsMy,a.RNO,a.PageTotalCount ) a inner join orders a2 on a2.ono=a.ono left outer join comcode a21 on a21.ccode=a2.assign left outer join comcode a22 on a22.ccode=a2.industryidx where RNO between 1 and 20 order by a.rno]
2019-04-08 15:08:20,513 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Parameters: [?param0=[UserNo,1252], ?param1=[IsAdmin,1]]
2019-04-08 15:08:20,513 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [ass.orders] Types: [?param0=[Int64, System.Int64], ?param1=[String, System.String]]
2019-04-08 15:08:20,521 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Open Connection "38359747" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:08:20,581 [17176] DEBUG IBatisNet.DataMapper.SqlMapSession [(null)] - Close Connection "38359747" to "MySQL, MySQL provider 6.10.5.0".
2019-04-08 15:08:20,581 [17176] DEBUG IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)] - Statement Id: [sys.comcode.list] Prepared SQL: [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]
2019-04-08 15:08:20,581 [17176] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [(null)] - Statement Id: [sys.comcode.list] PreparedStatement : [select a.CCode, a.CName, a.CGroup, a.IsUse, a.COrder, a.CGroupName, a.RefCode, a.CRemark, a.CCode Value, a.CName Text, a.RefCode Value2,a.CDT,a.UDT from comcode a where a.cgroup in ('OrderStatus') and a.isuse=1 order by a.CGroupName, a.corder]